<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 17, 2014 at 2:12 PM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hoi Yianni,<br>
<span class=""><br>
Wednesday, September 17, 2014, 7:29:03 PM, you wrote:<br>
<br>
> al2kpro:~ # udevadm trigger --subsystem-match="dvb" -vv<br>
> /sys/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.2/dvb/dvb5.demux0<br>
> /sys/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.2/dvb/dvb5.dvr0<br>
> /sys/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.2/dvb/dvb5.frontend0<br>
> /sys/devices/pci0000:00/0000:00:0c.0/0000:02:00.0/dvb/dvb0.demux0<br>
> /sys/devices/pci0000:00/0000:00:0c.0/0000:02:00.0/dvb/dvb0.dvr0<br>
> /sys/devices/pci0000:00/0000:00:0c.0/0000:02:00.0/dvb/dvb0.frontend0<br>
> /sys/devices/pci0000:00/0000:00:0c.0/0000:02:00.0/dvb/dvb0.net0<br>
> /sys/devices/pci0000:00/0000:00:0c.0/0000:02:00.0/dvb/dvb1.demux0<br>
> /sys/devices/pci0000:00/0000:00:0c.0/0000:02:00.0/dvb/dvb1.dvr0<br>
> /sys/devices/pci0000:00/0000:00:0c.0/0000:02:00.0/dvb/dvb1.frontend0<br>
> /sys/devices/pci0000:00/0000:00:0c.0/0000:02:00.0/dvb/dvb1.net0<br>
<br>
</span>If I look at the above there is almost no difference between the first<br>
and second adaptor.<br>
<span class=""><br>
> SUBSYSTEM=="dvb", \<br>
> ATTRS{device}=="0x8852", \<br>
> ATTRS{subsystem_vendor}=="0x6981", \<br>
> PROGRAM="/bin/sh -c ' K=%k; K=$${K#dvb}; N=$${K#*.}; \<br>
> if [ ! -e /dev/dvb/adapter_t1/$N ] ; \<br>
> then printf dvb/adapter_t1/%%s $${K#*.}; \<br>
> else printf dvb/adapter_t2/%%s $${K#*.}; \<br>
> fi ; \<br>
> exit 0'", SYMLINK+="%c"<br>
<br>
</span>If I look at this rule (I made it a bit more readable) it is in<br>
essence 'first come first get'. The first demux to initialise gets<br>
placed in 'adapter_t1' the second in 'adapter_t2'. The same for the<br>
other devices. Obviously they initialise in parallel, creating the<br>
mixup.<br>
I assume that the distinction between dvb0 and dvb1 is made on the<br>
hardware order, if not, if this is also based on 'first come first<br>
get' there is, as I see it no way to distinguish the two adaptors.<br>
My next assumption is that the distinction between adaptor0 and<br>
adaptor1 is equal to the distinction between dvb0 and dvb1. So any<br>
udev-rule can not add anything in the distinction.<br>
<br>
Tot mails,<br>
Hika mailto:<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a><br>
<br>
"Zonder hoop kun je niet leven<br>
Zonder leven is er geen hoop<br>
Het eeuwige dilemma<br>
Zeker als je hoop moet vernietigen om te kunnen overleven!"<br>
<br>
De lerende Mens<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
</div></div></blockquote></div>Are adapters 0,1, and 5 separate capture devices? do you have only the two video sources? Assuming yes to both Q's spit only one source into the dual and source other cards as you see fit.</div></div>