i do have the problem, that my dvb devices are not created by udev and that i have to run the "MAKEDEVICES.sh" script by hand all the time. it seems that device files need to be there before the kernel modules are loaded. otherwise i'll always get something like this: nt@eNTi $ ./dvbscan dvb-s/Astra-28.2E scanning dvb-s/Astra-28.2E using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' main:1957: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 6 No such device or address even though the device files are there (i've put the script into local.start).
a quick grep over the source of udev gave these results: etc/udev/udev.permissions.debian:dvb/*:root:video:0660 etc/udev/udev.rules.debian:KERNEL="dvb*", PROGRAM="/etc/udev/dvb.sh %k", NAME="%c" extras/dvb.sh:echo $1 | sed -e 's#^dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\)#dvb/adapter\1/\2\3#' I really wonder why functionallity that is persent in udev is not present in gentoo. Porting it do gentoo should be just adding the above rules and extras/dvb.sh.
Care to attach a patch to do this? And is the dvb support for sysfs now in the main kernel tree?
is anyone doing it? i'm not really good at writing udev rules or patches...
Please try to do it yourself, its just copying the debian rules(and adjusting script path) and make the ebuild install the dvb.sh script.
Um, I need a patch for this, otherwise this bug is closed. If you do generate one, please reopen it and attach it.
i really don't know how do that (yet). i'll probably look into it, if i have can find the time. maybe someone with a little more experience could handle this? i just wonder if i'm the only one having issues with that...
I modified udev configuration according to https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139097 about a month ago, when I bought a DVB card. It works OK since then. Now I've accidentally found this bugreport, so I created the patch and also a modified ebuild for latest version of udev (050). It adds the patch and also copies dvb.sh to /etc/udev/scripts. (I hope someone will notice this, otherwise I'll file a new bug after a few days)
Created attachment 49836 [details, diff] DVB patch for udev configuration
Created attachment 49837 [details] Ebuild with added DVB patch
please attach a diff to the ebuild
Created attachment 49990 [details, diff] Diff to ebuild with DVB patch
Will be fixed in next version of the udev release, thanks for the patches.