[mythtv-users] Help with UDEV for DVB tuners

Nick F nikos.f at gmail.com
Tue Jul 8 09:03:03 UTC 2008


On Tue, Jul 8, 2008 at 12:07 AM, Lindsay Mathieson <
lindsay.mathieson at optusnet.com.au> wrote:

> Nick F wrote:
> > 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"
>
> for a start off, does:
>  udevinfo -a -p $(udevinfo -q path -n /dev/dvb/adapter0/frontend0)|grep
> manu
>
> display "0x1131"  ?
>
>
> also has you tried your rules at 10- istead of 55-?
>
>
> I have the following in 10-locale.rules which works with my PCI WinFast
> 1000T
>
> SUBSYSTEM=="dvb", ATTRS{vendor}=="0x14f1", KERNELS=="0000:01:06.2",
> PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter201/%%s
> $${K#*.}'", SYMLINK+="%c"
>
> Thanks Lindsay,

You set me on the right track.  I can create adapter101 and 102 just fine
for my 2 DVB-S cards, but I can't figure out a udev rule for my Nova-T-500
which is 2 tuners.  So I've let the default rule (50) create just the 2
DVB-T tuners which it makes adapter1 and adapter3 and then my two DVB-S
cards are create by rule 98 to be adapter101 and adapter102.  My only worry
is that it won't make my DVB-T cards 1 and 3 in the future and choose 0 and
1 (which I would have assumed it would do).  If anyone knows a udev rule to
differentiate between the 2 tuners on a Nova-T-500 I would be most grateful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080708/b981619d/attachment.htm 


More information about the mythtv-users mailing list