[Buildroot] [PATCH v2] tvheadend: add dependency on udev
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Jan 6 14:25:16 UTC 2018
Hello,
On Sat, 6 Jan 2018 14:31:05 +0100, daggs wrote:
> > And personal experience has shown that my setup was working OK without
> > udev as well, at a time _after_ those two commits.
> >
> > So I still believe we should not add a dependency on udev at all,
> > because as far as I understand, you claim it is only needed for USB
> > devices. Other devices seem to be working fine without udev, and it
> > is perfectly valid to have a setup with a non-USB device and no udev.
>
> I'm happy that it worked out of the box for you but fact to the matter, it didn't for me.
> it took me three weekends to figure it out. imho, the fact that it works on one scenario doesn't means there isn't a bug.
Yes, but we can't force a dependency on all users without understanding
if this dependency is really needed.
Could you try to understand *why* udev makes it work for you?
One guess is that udev has some rules that makes your USB capture
device accessible to non-root users. And since tvheadend runs as its
own user, this might explain it.
Could you have a look into this ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list