You are not logged in.
Dear Archers,
I have TV card shoved into the PCI slot and a web-camera that works through USB interface. Both work just fine. Now, the problem I have is not related to TV Card/webcam "per se", but to their default /dev/video{#} entry. I'd like to make them static, e.g. to force TV to use /dev/video0 and webcam to use /dev/video1.
Each time I reboot my machine, they seem to assign automatically, at random, or dunno how, but quite often, when I fire TVTime, it complains about wrong /dev/video instance, 'cause webcam holds the previous TV card /dev/video entry. That means that I have to go to tvtime config and change the default video device. I do that almost every time! It's annoying, and I'd like to change that once and for all.
Now here you jump in - any suggestions?
Kind regards,
aL3xa
Last edited by mandalic (2010-09-03 15:25:10)
Offline
Try loading the modules for webcam and tv card manually in the modules line of rc.conf
Offline
alternatively, look here for another method
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
I tried that, no luck there. Obviously, the solution is either to write UDEV rule or to set MOD_AUTOLOAD="no" and load them explicitly.
D'you know of any links with sample UDEV rules with /dev/video{n} devices?!?
Offline
The MythTV wiki on device filenames and udev may help you.
Offline
OK, this is definitely a bug! UDEV just keeps loading modules at random. I've written an UDEV rule and saved it in /etc/udev/rules.d/10-local.rules
# tv-card
KERNEL=="input[0-9]?", SUBSYSTEMS=="pci", ATTRS{subsystem_device}=="0x0138", SYMLINK+="tvcard"
# webcam
KERNEL=="input[0-9]?", SUBSYSTEMS=="usb", ATTRS{idProduct}=="627b", SYMLINK+="webcam"
UDEV doesn't create "webcam" or "tvcard", and still loads tv-card/webcam in random order!
Any ideas what might cause this problem!?!?
Offline