<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 28, 2018 at 4:36 PM Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 11/28/18 2:51 PM, Daryl McDonald wrote:<br>
> On Wed, Nov 28, 2018 at 3:48 PM Bill Meek <<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>> wrote:<br>
> <br>
>> On 11/28/18 2:16 PM, Daryl McDonald wrote:<br>
>>>><br>
>>>> Yes:  udevadm info -a -p $(udevadm info -q path -n<br>
>> /dev/dvb/adapter0/dvr0)<br>
>>>><br>
>>> Further testing, running the above command with only one tuner installed<br>
>> at<br>
>>> a time shows unique info for the two HP cards and identical info for the<br>
>>> two PC800i cards. Would it be functional to have three Udev rules and<br>
>> allow<br>
>>> the second PC800i card to be labelled  what-ever?<br>
>><br>
>> I *think* you'd be happy with a single rule. The question mark on the<br>
>> KERNEL line<br>
>> gets both of my tuners.<br>
>><br>
>> Here's my rule for a single HVR-2200 card that has two tuners on it. Both<br>
>> record<br>
>> ATSC (not on different sources.) There's no unique information about the<br>
>> tuners.<br>
>><br>
>> SUBSYSTEM=="dvb", \<br>
>>       KERNEL=="dvb?.frontend0", \<br>
>>       ATTRS{subsystem_vendor}=="0x0070", \<br>
>>       ATTRS{subsystem_device}=="0x8851", \<br>
>>       SYMLINK+="dvb/hvr-2200-$minor", \<br>
>>       TAG+="systemd"<br>
>><br>
>> #Creates:<br>
>> # lrwxrwxrwx 1 root root 18 Dec 27 23:27 /dev/dvb/hvr-2200-0 -><br>
>> adapter0/frontend0<br>
>> # lrwxrwxrwx 1 root root 18 Dec 27 23:27 /dev/dvb/hvr-2200-4 -><br>
>> adapter1/frontend0<br>
>><br>
>>     looking at device<br>
>> '/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/dvb/dvb0.frontend0':<br>
>>       KERNEL=="dvb0.frontend0"<br>
>>       SUBSYSTEM=="dvb"<br>
>>       DRIVER==""<br>
>><br>
>>     looking at device<br>
>> '/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/dvb/dvb1.frontend0':<br>
>>       KERNEL=="dvb1.frontend0"<br>
>>       SUBSYSTEM=="dvb"<br>
>>       DRIVER==""<br>
> <br>
> So what name do your tuners get? Can you tell which one recorded what?<br>
<br>
Maybe my idea of name is different from yours. It's not automatic, just a<br>
choice.<br>
<br>
In backend setup, I just set Display name = ATSC-0.0 and ATSC-0.1 for the 1st<br>
tuner (it has Max recordings set to two.) The 2nd one is ATSC-1.0 etc. I<br>
suppose they could get reversed at boot time. To prevent that, Ian's earlier<br>
suggestion sounds like it a good solution. I've not tried it.<br>
<br>
<br>
-- <br>
Bill<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a></blockquote><div><br></div><div>This rule:</div><div> SUBSYSTEM=="dvb",
ATTRS{device}=="0x8802", PROGRAM="/bin/sh -c 'K=%k;
K=$${K#dvb}; printf dvb/adapterPC800i/%%s $${K#*.}; exit 0'",
SYMLINK+="%c"</div><div>makes the tuner show up in the FE as "PC800i", when the new set up is complete, how should I modify it to find both tuners (single card, single tuner) that are identical?</div>
        
        


</div></div>