Comment 3 for bug 310820

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote : Re: Tuner cards change /dev/video device node on reboot

This sounds like a really common issue out there. Normally, I just reboot the thing until it goes back to how it was. Couldn't something be clever about this and be persistent until both cards weren't there (similar to DHCP, which tries to give everyone the same IP address but copes if things have changed)?

Alternatively, could Mythbuntu create udev rules in the setup so that these don't change?

As a workaround, can somebody please step me through creating a udev rule to stop this happening? I found:
http://ubuntuforums.org/showpost.php?p=6440182&postcount=7
which talks about creating a udev rule (in that case to stop a remote from jumping around device nodes) by changing /etc/udev/rules.d/60-symlinks.rules; added the following line:

# Create /dev/input/irremote symlink for Nova-T 500
KERNEL=="event*", ATTRS{name}=="IR-receiver inside an USB DVB receiver", SYMLINK+="input/irremote"

Could I do a similar thing and have symlinks created to /dev/video_bttv and /dev/video_pvr150 and then set MythTV up to use those instead of video0 and video1? If so, where do I get the "name" field for that line?

Thanks!