On Tue, Jul 8, 2008 at 12:07 AM, Lindsay Mathieson <<a href="mailto:lindsay.mathieson@optusnet.com.au">lindsay.mathieson@optusnet.com.au</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Nick F wrote:<br>
> I've read the wiki and previous threads about UDEV rules, and I still<br>
> can't get things to work.<br>
><br>
> I am using Fedora 9 (64 bit), and 4 DVB tuner - 2 DVB-S cards, and a<br>
> NOVA-T-500 which has 2 tuners on board.<br>
><br>
> Using the example from the wiki, I have created a new .rules file in<br>
> /etc/udev/rules.d named 55-dvb-allocation.rules that looks like this:<br>
><br>
> ---file begins---<br>
> # New rules file to create adapters 101 to 104 for 4 DVB tuners<br>
> # Reminder to get data: udevinfo -a -p $(udevinfo -q path -n<br>
> /dev/dvb/adapter0/frontend0)<br>
><br>
> # Create a symlink /dev/dvb/adapter101 pointing to Sky 28E card<br>
> (budget driver with manufacturer 0x1131)<br>
> SUBSYSTEM=="dvb", ATTRS{manufacturer}=="0x1131", PROGRAM="/bin/sh -c<br>
> 'K=%k; K=$${K#dvb}; printf dvb/adapter101/%%s $${K#*.}'", SYMLINK+="%c"<br>
<br>
</div>for a start off, does:<br>
udevinfo -a -p $(udevinfo -q path -n /dev/dvb/adapter0/frontend0)|grep<br>
manu<br>
<br>
display "0x1131" ?<br>
<br>
<br>
also has you tried your rules at 10- istead of 55-?<br>
<br>
<br>
I have the following in 10-locale.rules which works with my PCI WinFast<br>
1000T<br>
<br>
SUBSYSTEM=="dvb", ATTRS{vendor}=="0x14f1", KERNELS=="0000:01:06.2",<br>
PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter201/%%s<br>
$${K#*.}'", SYMLINK+="%c"<br>
<br></blockquote></div>Thanks Lindsay,<br><br>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.<br>