On 29/08/06, Valerio Mariani <[EMAIL PROTECTED]> wrote: > Hello again to everyone! > > I have quite a minor problem compared to the ones I had in the past, but > it is still quite annoying. Maybe someone can help me. This is the > problem. I have the ivtv module loaded during boot and I also have gspca > module (for webcams) loaded during boot. What happens is that sometimes > one module is loaded before the other and so, for example, ivtv takes > the /dev/video0 device and the webcam takes /dev/video1, but sometimes > the opposite happens and the devices are switched. This is annoying when > using tv software (like mythtv) because I have to change the device in > the configuration of the program manually, when this happens. > > Is there a way to make sure that one of the drivers is loaded always > first? Thank you in advance for your help!
A particularly clean way to get around this problem is to use 2 udev rules, one for the PVR card and one for the webcam, to create /dev/pvr and /dev/webcam device nodes. Using this method means that module loading order is irrelevant. http://www.reactivated.net/writing_udev_rules.html You could also modprobe the modules manually via rc.local (with suitably long sleep) to have control over their loading order. Nick -- MythTV Official wiki: http://mythtv.org/wiki/ MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
