Need help getting webcamd to run

Steasenburger

Explorer
Joined
Feb 12, 2020
Messages
52
Hi guys,
I'm struggeling since quite a long time to get my DVB-C tuner (Geniatech T230) to run using Tvheadend.
Installing tvheadend was no big problem and i also managed to get my USB devices exposed to the jail by enabling "mount_devfs" , "allow_mount" etc.
So next step for me is to get webcamd to run in the jail, so that my DVB-C tuner can be detected.

I tried following the guide from the FreeBSD wiki here: https://www.freebsd.org/cgi/man.cgi?query=webcamd&sektion=8&manpath=freebsd-release-ports
If I understand it correctly in order to get this piece of software running i need to load an additional kernel module called "cuse" (not "cuse4bsd" because i'm on FreeBSD/NAS 11.2).
So what should I do to enable this? Can i just do it via the tuneables GUI like this (I know loading additional kernel modules can be dangerous so I'm asking before)?
1590142109051.png

And then i just install webcamd by executing pkg install webcamd right?

I know that there are already many threads about the whole webcamd/ tvheadend on this forum and on the internet, but most of them are outdated, don't work anymore or simply have no replies with a working solution.
But I'm pretty sure that I'm pretty close to a working solution.
Thank you in advance :)
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
That is the correct way to load the module. If that will result in a working solution I have no idea. Better create an additional boot environment (System --> Boot) first, so you can easily rollback.
 

Steasenburger

Explorer
Joined
Feb 12, 2020
Messages
52
So at least nothing was destroyed by adding this kernel module to load, but also nothing changed.
I tried loading the cuse module manually by executing "kldload cuse" on the FreeNAS host system, but it says that cuse cannot be found...
So my question is, where can i download the cuse kernel module and where should i place it in order to be loadable?
 

Steasenburger

Explorer
Joined
Feb 12, 2020
Messages
52
Okay I'm giving up on this. There seems to be no way to enable a DVB adapter on FreeNAS atm.
Working with webcamd will never work even if the kernel module would exist on the FreeNAS host, because it's not possible to create additional dev/* entries in a jail according to this post here: https://forums.FreeBSD.org/threads/running-webcamd-8-inside-a-jail.69300/post-414756

There was a solution a few years ago called finch http://dreamcat4.github.io/finch/install/ to create a chroot environment and getting webcamd to run there, but the project is unmaintained since a few years.
I tried installing it anyway, but starting finch did not work, because some libintl library was missing :
"Shared object "libintl.so.8" not found, required by "bash""
I'm pretty sure this could be fixed quite easily but who knows which other errors are following then...

Sad story :(
 
Top