[mythtv-users] Cards keep changing /dev/videoX devices...
Alan Calvert
cal at graggrag.com
Thu Jun 14 04:39:13 UTC 2007
Steve Smith wrote:
> I have two cards in my system; a PVR-150 and a WinFast DTV-1000T.
>
> The devices work "OK", but every reboot get assigned /dev/video0 and
> /dev/video1 in a random order so the myth config keeps getting
> messed up.
>
> Is there anyway to stabilise them?
Messing with udev rules to control this is unnecessary, and overly
complicated. Most of the driver modules take a parameter to specify
what device it should use when modprobed. With ivtv, it's 'ivtv_first_minor',
and with cx8800 (the DTV-1000) it's video_nr and radio_nr. Try
'modinfo ivtv' and 'modinfo cx8800' (as root) for the full list of
options .
I have the same mix of cards in my system, two DTV-1000's actually,
and in a file /etc/modprobe.d/mythtv I have ...
options cx8800 video_nr=0,1 radio_nr=0,1 vbi_nr=0,1
options ivtv pal=BG ivtv_first_minor=2
So the two DTV1000s are always /dev/video0, /dev/video1, and the
PVR-150 always comes up as /dev/video2 (and friends).
Simple as that. Cheers!
More information about the mythtv-users
mailing list