Jason, thanks for this. I have only a cursory understanding of the udev rules, can you give me an example for using your script. I have a /dev/video0 and /dev/video1 device which are pointed to by /dev/v4l/by-path/pci-0000:01:06.0-video-index0  and index1  symlinks.<br>
I&#39;ve found /lib/udev/rules.d/60-persistent-v4l.rules but I&#39;m not sure which two devices I&#39;m telling your script about - the script asks for an old device and new device.<br>In mythtv-setup, i&#39;ve got dvb devices 0-3  which keep changing (don&#39;t know how they are referenced!) I&#39;m typing all this to try and document it better for the next &quot;bloke&quot; who thinks he knows what hes doing :-) So thanks for the script, just need a wee nudge.<br>
Regards<br>Barry<br><br><div class="gmail_quote">2009/7/17 Jason Taylor <span dir="ltr">&lt;<a href="mailto:killerkiwi2005@gmail.com">killerkiwi2005@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Create a udev rule....<br>
<br>
See script on this bug<br>
<a href="https://bugs.launchpad.net/ubuntu/+source/mythbuntu-meta/+bug/370696" target="_blank">https://bugs.launchpad.net/ubuntu/+source/mythbuntu-meta/+bug/370696</a><br>
<br>
They got my name wrong in the copyright lol<br>
<br>
2009/7/17 Graeme Woollett &lt;<a href="mailto:g.woollett@irl.cri.nz">g.woollett@irl.cri.nz</a>&gt;:<br>
<div><div></div><div class="h5">&gt; <a href="mailto:krizze@bluezone.no">krizze@bluezone.no</a> wrote:<br>
&gt;&gt;&gt; I have a second problem, same system. I have two Hauppauge Nova S cards<br>
&gt;&gt;&gt; and<br>
&gt;&gt;&gt; a dual Nova T. The cards keep changing their assignments, eg DVBS0 becomes<br>
&gt;&gt;&gt; the Nova T then after a reboot becomes the Nova S.<br>
&gt;&gt;&gt; Can&#39;t figure this one out but it sure stuffs up myth.<br>
&gt;&gt;&gt; I also have problems trying to tune one of the nova T, sometimes it just<br>
&gt;&gt;&gt; sits there and won&#39;t tune, other times it flys through.<br>
&gt;&gt;&gt; Aaargh! Help anyone?<br>
&gt;&gt;&gt;<br>
&gt;&gt; One way would be to blacklist the kernel modules the cards are using<br>
&gt;&gt; (/etc/modprobe.d/blacklist afaik). Then you can manually modprobe them in<br>
&gt;&gt; order during bootup, e.g. in /etc/rc.local:<br>
&gt;&gt; modprobe module-of-card-1 options=xxx<br>
&gt;&gt; modprobe module-of-card-2 options=xxx<br>
&gt;&gt;<br>
&gt;&gt; I also have problems with tuning on my Nova-T-500, it just stands there<br>
&gt;&gt; with no lock, and 0 signal. After a reboot it&#39;s OK again, for a cople of<br>
&gt;&gt; hours, if i&#39;m lucky. Guess it&#39;s broken or something.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Kristian Haga Karstensen<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mythtvnz mailing list<br>
&gt;&gt; <a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
&gt;&gt; <a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" target="_blank">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
&gt;&gt; Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
&gt;&gt;<br>
&gt; Make sure you are not running the 1.2 version firmware.  A UDev rule can<br>
&gt; stop them changing around.<br>
&gt; I had a HVR4000 &amp; Nova T that did this.  I found that they only changed<br>
&gt; order when I did a warm reboot.  Cold booting didn&#39;t change them.<br>
&gt; Once the firmware gets loaded they must change the product or vendor ID<br>
&gt; and this causes them to be allocated in a different order by the OS.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Graeme Woollett<br>
&gt; Research Engineer<br>
&gt; Applied Physics and Engineering Team<br>
&gt; Industrial Research Ltd<br>
&gt; ph 04 931 0193<br>
&gt; email <a href="mailto:g.woollett@irl.cri.nz">g.woollett@irl.cri.nz</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mythtvnz mailing list<br>
&gt; <a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
&gt; <a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" target="_blank">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
&gt; Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
&quot;Weekends don&#39;t count unless you spend them doing something completely<br>
pointless. &quot; - Calven<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" target="_blank">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>Barry Clearwater <br>Managing director<br>BC Systems Consultancy Limited<br>___________________________<br>18 Shaw Street<br>Mosgiel<br>Dunedin 9024 <br>Phone: +64 3 489 3915<br>
Mobile: +64 27 221 9338<br>Email: <a href="mailto:barryc@bcsystems.co.nz">barryc@bcsystems.co.nz</a><br>