[mythtv-users] Help with UDEV for DVB tuners
Nick F
nikos.f at gmail.com
Mon Jul 7 17:36:34 UTC 2008
I've read the wiki and previous threads about UDEV rules, and I still can't
get things to work.
I am using Fedora 9 (64 bit), and 4 DVB tuner - 2 DVB-S cards, and a
NOVA-T-500 which has 2 tuners on board.
Using the example from the wiki, I have created a new .rules file in
/etc/udev/rules.d named 55-dvb-allocation.rules that looks like this:
---file begins---
# New rules file to create adapters 101 to 104 for 4 DVB tuners
# Reminder to get data: udevinfo -a -p $(udevinfo -q path -n
/dev/dvb/adapter0/frontend0)
# Create a symlink /dev/dvb/adapter101 pointing to Sky 28E card (budget
driver with manufacturer 0x1131)
SUBSYSTEM=="dvb", ATTRS{manufacturer}=="0x1131", PROGRAM="/bin/sh -c 'K=%k;
K=$${K#dvb}; printf dvb/adapter101/%%s $${K#*.}'", SYMLINK+="%c"
# Create a symlink /dev/dvb/adapter102 pointing to Hotbird 13E card
(manufacturer 0x13d0)
SUBSYSTEM=="dvb", ATTRS{manufacturer}=="0x13d0", PROGRAM="/bin/sh -c 'K=%k;
K=$${K#dvb}; printf dvb/adapter102/%%s $${K#*.}'", SYMLINK+="%c"
# Create a symlink /dev/dvb/adapter103 pointing to Nova-T-500 DVB-T card
with first tuner (urbnum=1496)
SUBSYSTEM=="dvb", ATTRS{product}=="WinTV Nova-DT", ATTRS{devnum}=="2",
ATTRS{serial}=="4028964134", ATTRS{urbnum}=="1496", PROGRAM="/bin/sh -c
'K=%k; K=$${K#dvb}; printf dvb/adapter103/%%s $${K#*.}'", SYMLINK+="%c"
# Create a symlink /dev/dvb/adapter103 pointing to Nova-T-500 DVB-T card
second tuner (urbnum=10011)
SUBSYSTEM=="dvb", ATTRS{product}=="WinTV Nova-DT", ATTRS{devnum}=="2",
ATTRS{serial}=="4028964134", ATTRS{urbnum}=="10011", PROGRAM="/bin/sh -c
'K=%k; K=$${K#dvb}; printf dvb/adapter104/%%s $${K#*.}'", SYMLINK+="%c"
---file ends
But udev is not creating any adapter101, 102, 103 or 104. I thought that it
would create these in addition to the /dev/adapter0 /dev/adapter1, etc that
it produces by default.
I've taken our main backend down to install the new tuner cards, and now the
wife is very unhappy!
Thanks!
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080707/e092b0ce/attachment.htm
More information about the mythtv-users
mailing list