Files
systemd/rules.d/70-camera.rules
David Santamaría Rogado d5fbb042b2 udev: rules: fix camera comparison
actually that is intended to be a comparison

(cherry picked from commit 155ae657b1)
2026-02-26 10:24:30 +00:00

10 lines
281 B
Plaintext

# do not edit this file, it will be overwritten on update
ACTION=="remove", GOTO="camera_end"
SUBSYSTEM=="video4linux", ENV{ID_BUS}=="usb", \
IMPORT{builtin}="hwdb 'camera:usb:v$env{ID_VENDOR_ID}p$env{ID_MODEL_ID}:name:$attr{name}:'", \
GOTO="camera_end"
LABEL="camera_end"