Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Udev failing to create dvb device nodes




Hi,

I have been following the instructions in Documentation/dvb/udev.txt with some success, but have run into a problem (FC3 installation).

First of all a note: the instructions tell you to create a rules file called "dvb.rule" - I found that this should be "dvb.rules" in order for udev to pick it up.

When I "modprobe cx88-dvb", I get the following udev output in /var/log/messages (trimmed for clarity - I set udev_log="yes" in udev.conf to get this output):

Nov 29 10:07:33 flag kernel: DVB: registering new adapter (cx88[0]).
Nov 29 10:07:33 flag kernel: DVB: registering frontend 0 (Hauppauge Nova-T DVB-T)

...

Nov 29 10:07:38 flag udev[5750]: creating device node '/dev/dvb'

Nov 29 10:07:38 flag udev[5791]: configured rule in '/etc/udev/rules.d/dvb.rules' at line 1 applied, 'dvb0.frontend0' becomes '%c'
Nov 29 10:07:38 flag udev[5791]: creating device node '/dev/dvb/adapter0/frontend0'

Nov 29 10:07:38 flag udev[5795]: configured rule in '/etc/udev/rules.d/dvb.rules' at line 1 applied, 'dvb0.demux0' becomes '%c'
Nov 29 10:07:38 flag udev[5795]: creating device node '/dev/dvb/adapter0/demux0'

Nov 29 10:07:38 flag udev[5803]: configured rule in '/etc/udev/rules.d/dvb.rules' at line 1 applied, 'dvb0.net0' becomes '%c'
Nov 29 10:07:38 flag udev[5803]: creating device node '/dev/dvb/adapter0/net0'

Nov 29 10:07:38 flag udev[5799]: configured rule in '/etc/udev/rules.d/dvb.rules' at line 1 applied, 'dvb0.dvr0' becomes '%c'
Nov 29 10:07:38 flag udev[5799]: creating device node '/dev/dvb/adapter0/dvr0'

It seems that the kernel device name "/class/dvb" is encountered first by udev when the module is loaded - thus creating a /dev/dvb node. The subsequent creation of /dev/dvb/adapter0/frontend0 etc. then fails and all I'm left with is the /dev/dvb node. I tried adding an extra parameter to dvb.rules to test the result of the dvb.sh script (e.g. RESULT="*adapter*") but this just means that the rule fails and udev resorts to its default rules which have the same effect - the /dev/dvb node is created first, pre-empting the creation of any useful /dev/dvb/adapter/* nodes (so I have to resort to MAKEDEV.sh on each boot).

I'd be grateful for any suggestions,

Thanks, Tim.


--
Dr. Timothy J. Miles-Board
Intelligence, Agents, Multimedia Group
University of Southampton, UK
http://www.milesboard.org/




Home | Main Index | Thread Index