<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 3, 2014 at 4:09 PM, Andrew C. Stadt <span dir="ltr">&lt;<a href="mailto:acstadt@stadt.ca" target="_blank">acstadt@stadt.ca</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":5jw" class="a3s" style="overflow:hidden">Just base the udev rules off of the devices serial numbers: Here&#39;s a<br>


snippet from my MBE&#39;s udev rules (which hosts 2 of my hdpvrs)<br>
<br>
[code]<br>
KERNEL==&quot;video[0-9]*&quot;, ATTRS{product}==&quot;Hauppauge HD PVR&quot;,<br>
ATTRS{serial}==&quot;00A46253&quot;, SYMLINK+=&quot;hdpvr1&quot;, RUN<br>
+=&quot;/sbin/hdpvr-install.sh&quot;<br>
KERNEL==&quot;video[0-9]*&quot;, ATTRS{product}==&quot;Hauppauge HD PVR&quot;,<br>
ATTRS{serial}==&quot;00A40C31&quot;, SYMLINK+=&quot;hdpvr2&quot;, RUN<br>
+=&quot;/sbin/hdpvr-install.sh&quot;<br>
[/code]</div></blockquote></div><br>That is exactly what I do, and without the RUN script. Then I can reference /dev/hdpvr1 and /dev/hdpvr2 in mythtv-setup. Works great.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

99% of the time, it seems that my hdpvr1 is /dev/video0 and hdpvr2 is /dev/video1, but every once in a while, it comes up different. Especially if I have to power cycle one of the HDPVRs, which tends to make it come back as /dev/video2. But the hdpvr1 and hdpvr2 symlinks always point to the right one, so no worries.<br>

<br clear="all"><div><div dir="ltr"><br><div>--Greg</div></div></div>
</div></div>