[mythtv-users] Cards keep changing /dev/videoX devices...

Steve Smith st3v3.sm1th at gmail.com
Thu Jun 14 08:37:31 UTC 2007


Alan,

Great! Nice and simple...

I do like the idea of a udev "freeze/dump current config" type feature,
that'd be really useful for the generic case...

Cheers

Steve

On 14/06/07, Alan Calvert <cal at graggrag.com> wrote:
>
> 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!
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070614/843a7ca8/attachment.htm 


More information about the mythtv-users mailing list