[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Logitech C310 rule in /etc/udev/rules.d/25-webcam.rules?



udevadm info -a -p $(udevadm info -q path -n /dev/video0):

  looking at device '//devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1.4/1-1.4.1.4:1.0/video4linux/video0':
    KERNEL=="video0"
    SUBSYSTEM=="video4linux"
    DRIVER==""
    ATTR{index}=="0"
    ATTR{dev_debug}=="0"
    ATTR{name}=="UVC Camera (046d:081b)"

/etc/udev/rules.d/25-webcam.rules:

    KERNEL=="video[0-9]*", \
    SUBSYSTEM=="video4linux", \
    SUBSYSTEMS=="usb", \
    ATTRS{idVendor}=="046d", \
    ATTRS{idProduct}=="081b", \
    SYMLINK+="video-webcam"

erratically fails, with /dev/video-webcam ln -s to /dev/video0, and
the camera on /dev/video1, (after PNP.)

Is "SUBSYSTEMS=="usb"" the issue in the rule?

    Thanks,

    John

-- 

John Conover, conover@rahul.net, http://www.johncon.com/


Reply to: