News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

question about udev rules for video (webcam)

Started by pw44, August 03, 2010, 09:38:27 PM

Previous topic - Next topic

pw44

Hia,
due a bug on my (and anybodies M3N78-VM) concerning usb 1.1 handling, i got a startech pci board for usb, and have my usb 1.1 devices (like webcam) connected to it, leaving the mobos usb interfaces for usb 2.0 devices.
On boot, the startech pci board loads first, making the webcam getting the video0 device, which is undesireable for me.
I did create the /etc/udev/rules.d/25-name-video-devices.rules with following content:
SUBSYSTEM=="pci", BUS=="usb", SYSFS{idVendor}=="05a9", SYSFS{idProduct}=="0511", NAME="video4"
problem is: on boot, the f***g webcam gets assigned to /dev/video0.
the dmesg output for this is:
[  333.231214] ov511 7-1:1.0: Device at usb-0000:01:06.1-1 registered to video0
AFAIK, subsystem is pci and bus is usb.
Anyone with a hint?
TIA