Author Topic: question about udev rules for video (webcam)  (Read 2452 times)

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
question about udev rules for video (webcam)
« on: August 03, 2010, 09:38:27 pm »
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