<div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 29, 2018 at 1:40 PM Daryl McDonald <<a href="mailto:darylangela@gmail.com">darylangela@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
        
        


<p style="margin-bottom:0cm;line-height:100%">#
/etc/udev/rules.d/10-local.rules</p>
<p style="margin-bottom:0cm;line-height:100%"># 
</p>
<p style="margin-bottom:0cm;line-height:100%"># To Ientify serial
nos etc for a Device call</p>
<p style="margin-bottom:0cm;line-height:100%"># udevadm info -a -p
$(udevadm info -q path -n /dev/dvb/adapter0/frontend0)</p>
<p style="margin-bottom:0cm;line-height:100%"># 
</p>
<p style="margin-bottom:0cm;line-height:100%"># Create a symlink
for single tuner HP1250</p>
<p style="margin-bottom:0cm;line-height:100%">SUBSYSTEM=="dvb",
ATTRS{device}=="0x8852", PROGRAM="/bin/sh -c 'K=%k;
K=$${K#dvb}; printf dvb/adapterHP1250/%%s $${K#*.}; exit 0'",
SYMLINK+="%c"</p>
<p style="margin-bottom:0cm;line-height:100%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%"># Create a symlink
for single tuner WinTV device</p>
<p style="margin-bottom:0cm;line-height:100%">SUBSYSTEM=="dvb",
ATTRS{device}=="0x5b7a", PROGRAM="/bin/sh -c 'K=%k;
K=$${K#dvb}; printf dvb/adapterHP_Win/%%s $${K#*.}; exit 0'",
SYMLINK+="%c"</p>
<p style="margin-bottom:0cm;line-height:100%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%"># Create a symlink
for each of two single tuner Pinacle devices</p>
<p style="margin-bottom:0cm;line-height:100%">SUBSYSTEM=="dvb",
ATTRS{device}=="0x8802", PROGRAM="/bin/sh -c 'K=%k;
K=$${K#dvb}; printf dvb/adapterPC800(i,J)/%%s $${K#*.}; exit 0'",
SYMLINK+="%c"</p><p style="margin-bottom:0cm;line-height:100%"><br></p><p style="margin-bottom:0cm;line-height:100%">Whenever my replacement mobo gets here, I'll be putting two additional cards in it. The first rule works in the current setup, the second rule should work (since the first one does) BUT,</p><p style="margin-bottom:0cm;line-height:100%">since the second additional card is identical to one of my current cards, I'm wondering if the      "(i,j)" of the third rule/symlink will name two Pinacle cards PC800i, and PC800j.</p><p style="margin-bottom:0cm;line-height:100%"><br></p><p style="margin-bottom:0cm;line-height:100%">If not how might I modify the third rule to accomplish this?  TIA  Daryl</p></div></blockquote><div><br></div><div> The output from: udevadm info -a -p $(udevadm info -q path -n /dev/dvb/adapter0/frontend0) on the original (first) Pinacle device is:</div><div><br></div><div>
        
        


<p style="margin-bottom:0cm;line-height:100%">looking at device
'/devices/pci0000:00/0000:00:14.4/0000:03:05.2/dvb/dvb0.dvr0':</p>
<p style="margin-bottom:0cm;line-height:100%">   
KERNEL=="dvb0.dvr0"</p>
<p style="margin-bottom:0cm;line-height:100%">    SUBSYSTEM=="dvb"</p>
<p style="margin-bottom:0cm;line-height:100%">    DRIVER==""</p>
<p style="margin-bottom:0cm;line-height:100%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%">  looking at parent
device '/devices/pci0000:00/0000:00:14.4/0000:03:05.2':</p>
<p style="margin-bottom:0cm;line-height:100%">   
KERNELS=="0000:03:05.2"</p>
<p style="margin-bottom:0cm;line-height:100%">   
SUBSYSTEMS=="pci"</p>
<p style="margin-bottom:0cm;line-height:100%">   
DRIVERS=="cx88-mpeg driver manager"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{broken_parity_status}=="0"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{class}=="0x048000"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{consistent_dma_mask_bits}=="32"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{d3cold_allowed}=="1"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{device}=="0x8802"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{dma_mask_bits}=="32"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{driver_override}=="(null)"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{enable}=="1"</p>
<p style="margin-bottom:0cm;line-height:100%">    ATTRS{irq}=="20"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{local_cpulist}=="0-3"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{local_cpus}=="0f"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{msi_bus}=="1"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{numa_node}=="0"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{revision}=="0x05"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{subsystem_device}=="0x0051"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{subsystem_vendor}=="0x11bd"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{vendor}=="0x14f1"</p>
<p style="margin-bottom:0cm;line-height:100%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%">  looking at parent
device '/devices/pci0000:00/0000:00:14.4':</p>
<p style="margin-bottom:0cm;line-height:100%">   
KERNELS=="0000:00:14.4"</p>
<p style="margin-bottom:0cm;line-height:100%">   
SUBSYSTEMS=="pci"</p>
<p style="margin-bottom:0cm;line-height:100%">    DRIVERS==""</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{broken_parity_status}=="0"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{class}=="0x060401"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{consistent_dma_mask_bits}=="32"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{d3cold_allowed}=="0"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{device}=="0x4384"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{dma_mask_bits}=="32"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{driver_override}=="(null)"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{enable}=="1"</p>
<p style="margin-bottom:0cm;line-height:100%">    ATTRS{irq}=="0"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{local_cpulist}=="0-3"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{local_cpus}=="0f"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{msi_bus}=="1"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{numa_node}=="0"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{revision}=="0x00"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{secondary_bus_number}=="3"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{subordinate_bus_number}=="3"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{subsystem_device}=="0x0000"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{subsystem_vendor}=="0x0000"</p>
<p style="margin-bottom:0cm;line-height:100%">   
ATTRS{vendor}=="0x1002"</p>
<p style="margin-bottom:0cm;line-height:100%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%">  looking at parent
device '/devices/pci0000:00':</p>
<p style="margin-bottom:0cm;line-height:100%">   
KERNELS=="pci0000:00"</p>
<p style="margin-bottom:0cm;line-height:100%">    SUBSYSTEMS==""</p>
<p style="margin-bottom:0cm;line-height:100%">    DRIVERS==""</p><p style="margin-bottom:0cm;line-height:100%">And from the new (second) Pinacle device:</p><p style="margin-bottom:0cm;line-height:100%"><br></p><p style="margin-bottom:0cm;line-height:100%">looking at device
'/devices/pci0000:00/0000:00:14.4/0000:03:05.2/dvb/dvb0.dvr0':</p><p style="margin-bottom:0cm;line-height:100%">   
KERNEL=="dvb0.dvr0"</p><p style="margin-bottom:0cm;line-height:100%">    SUBSYSTEM=="dvb"</p><p style="margin-bottom:0cm;line-height:100%">    DRIVER==""</p><p style="margin-bottom:0cm;line-height:100%"><br>

</p><p style="margin-bottom:0cm;line-height:100%">  looking at parent
device '/devices/pci0000:00/0000:00:14.4/0000:03:05.2':</p><p style="margin-bottom:0cm;line-height:100%">   
KERNELS=="0000:03:05.2"</p><p style="margin-bottom:0cm;line-height:100%">   
SUBSYSTEMS=="pci"</p><p style="margin-bottom:0cm;line-height:100%">   
DRIVERS=="cx88-mpeg driver manager"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{broken_parity_status}=="0"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{class}=="0x048000"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{consistent_dma_mask_bits}=="32"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{d3cold_allowed}=="1"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{device}=="0x8802"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{dma_mask_bits}=="32"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{driver_override}=="(null)"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{enable}=="1"</p><p style="margin-bottom:0cm;line-height:100%">    ATTRS{irq}=="20"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{local_cpulist}=="0-3"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{local_cpus}=="0f"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{msi_bus}=="1"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{numa_node}=="0"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{revision}=="0x05"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{subsystem_device}=="0x0051"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{subsystem_vendor}=="0x11bd"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{vendor}=="0x14f1"</p><p style="margin-bottom:0cm;line-height:100%"><br>

</p><p style="margin-bottom:0cm;line-height:100%">  looking at parent
device '/devices/pci0000:00/0000:00:14.4':</p><p style="margin-bottom:0cm;line-height:100%">   
KERNELS=="0000:00:14.4"</p><p style="margin-bottom:0cm;line-height:100%">   
SUBSYSTEMS=="pci"</p><p style="margin-bottom:0cm;line-height:100%">    DRIVERS==""</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{broken_parity_status}=="0"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{class}=="0x060401"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{consistent_dma_mask_bits}=="32"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{d3cold_allowed}=="0"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{device}=="0x4384"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{dma_mask_bits}=="32"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{driver_override}=="(null)"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{enable}=="1"</p><p style="margin-bottom:0cm;line-height:100%">    ATTRS{irq}=="0"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{local_cpulist}=="0-3"                                
</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{local_cpus}=="0f"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{msi_bus}=="1"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{numa_node}=="0"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{revision}=="0x00"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{secondary_bus_number}=="3"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{subordinate_bus_number}=="3"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{subsystem_device}=="0x0000"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{subsystem_vendor}=="0x0000"</p><p style="margin-bottom:0cm;line-height:100%">   
ATTRS{vendor}=="0x1002"</p><p style="margin-bottom:0cm;line-height:100%"><br>

</p><p style="margin-bottom:0cm;line-height:100%">  looking at parent
device '/devices/pci0000:00':</p><p style="margin-bottom:0cm;line-height:100%">   
KERNELS=="pci0000:00"</p><p style="margin-bottom:0cm;line-height:100%">    SUBSYSTEMS==""</p><p style="margin-bottom:0cm;line-height:100%">
        
        
























































</p><p style="margin-bottom:0cm;line-height:100%">    DRIVERS==""</p><p style="margin-bottom:0cm;line-height:100%"><br></p><p style="margin-bottom:0cm;line-height:100%">I thought (copied from the wiki) that this might do it:</p><p style="margin-bottom:0cm;line-height:100%"><br></p><p style="margin-bottom:0cm;line-height:100%"># Create a symlink
for each of two single tuner Pinacle devices</p><p style="margin-bottom:0cm;line-height:100%">SUBSYSTEM=="dvb",
ATTRS{device}=="0x8802", PROGRAM="/bin/sh -c 'K=%k;
K=$${K#dvb}; printf dvb/adapterPC800i/%%s $${K#*.}; exit 0'",
SYMLINK+="%c"</p><p style="margin-bottom:0cm;line-height:100%">
        
        




</p><p style="margin-bottom:0cm;line-height:100%">SUBSYSTEM=="dvb",
ATTRS{device}=="0x8802", PROGRAM="/bin/sh -c 'K=%k;
K=$${K#dvb}; printf dvb/adapterPC800j/%%s $${K#*.}; exit 0'",
SYMLINK+="%c"</p><p style="margin-bottom:0cm;line-height:100%"><br></p><p style="margin-bottom:0cm;line-height:100%">but then realised the example I copied from was a single card with dual tuners. Any help greatly appreciated.</p></div></div></div></div>