On Tue, Dec 15, 2009 at 5:33 AM, Bob Wiegand <span dir="ltr">&lt;<a href="mailto:bob_ml@stuffofmine.com">bob_ml@stuffofmine.com</a>&gt;</span> 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="im">D. Hugh Redelmeier wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, the two Hauppauge HVR-1600 cards and the Adaptec AVC 2410 card<br>
works with mplayer.<br>
<br>
When I booted the system to test this, I discovered that the<br>
/dev/video* entries applied to the cards differently.  My Adaptec card<br>
had been /dev/video1 the last time I looked but was /dev/video0 this<br>
time.  That seems likely to mix up configurations.  <br>
</blockquote>
<br></div>
This is fixable. Take a look at:<br>
<a href="http://ubuntuforums.org/archive/index.php/t-950387.html" target="_blank">http://ubuntuforums.org/archive/index.php/t-950387.html</a><br>
You can use udev rules to create unique names for each card.<br>
You then use these names in Myth and the cards always map correctly.<br><font color="#888888">
</font></blockquote></div><br>I ran into similar problems a while back.  See thread below for some
other suggestions regarding udev rules.  I think that&#39;s a cleaner
solution than blacklisting and manually loading modules to get a
consistent ordering of /dev/video devices.<br><br><a href="http://www.gossamer-threads.com/lists/mythtv/users/380971#380971">http://www.gossamer-threads.com/lists/mythtv/users/380971#380971</a><br><br>A little more info regarding that thread: In myth setup instead of /dev/videoX I put the symlinks defined in udev (eg  /dev/<font color="black" face="Verdana,Arial,Helvetica" size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2"><font color="#007777">PVR-500_1</font></font></font>).  For your case I would suggest two rules to catch the HVR-1600&#39;s and one for the adaptec.<br>
For the 1600&#39;s I suggest something like:<br>KERNEL==&quot;video[0-2]*&quot;, ATTR{name}==&quot;cx18*0 encoder MPEG*&quot;, SYMLINK+=&quot;HVR-1600_1&quot;<br>
KERNEL==&quot;video[0-2]*&quot;, ATTR{name}==&quot;cx18*0 encoder MPEG*&quot;, SYMLINK+=&quot;HVR-1600_2&quot;<br><br>I
don&#39;t have an adaptec but you&#39;ll need to figure out a unique set of
attributes to use to identify it and create a similar udev rule.  I found this site helpful to get a dump of the attributes (use udevinfo as shown) and then I picked likely ones to create my rules.<br><a href="http://wiki.debian.org/udev">http://wiki.debian.org/udev</a><br>
<br>good luck,<br>Matt<br>
<br>