Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #224694

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

From conover@rahul.net (John Conover)
Newsgroups linux.debian.user
Subject Logitech C310 rule in /etc/udev/rules.d/25-webcam.rules?
Date 2020-07-10 23:30 +0200
Message-ID <Ar8KJ-52M-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Logitech C310 rule in /etc/udev/rules.d/25-webcam.rules? conover@rahul.net (John Conover) - 2020-07-10 23:30 +0200
  Re: Logitech C310 rule in /etc/udev/rules.d/25-webcam.rules? Dan Ritter <dsr@randomstring.org> - 2020-07-11 00:40 +0200

csiph-web