usb-udev-helper/debian/etc/udev/rules.d/50-usb-udev-helper.rules

11 lines
477 B
Plaintext
Raw Normal View History

2024-10-22 21:18:36 -06:00
#
# Allow user-level access to some "raw" USB devices.
# Also assigns a permanent path for each device so it won't change if things are unplugged or rebooted.
#
# USB printers
SUBSYSTEMS=="usb", DRIVERS=="usblp", MODE:="0660", GROUP="plugdev", PROGRAM="/usr/bin/getudevid $devpath" SYMLINK+="usb/by-id/printer_$result"
# Scales, barcode scanners, etc
KERNEL=="hidraw*", MODE:="0660", GROUP="plugdev", PROGRAM="/usr/bin/getudevid $devpath" SYMLINK+="usb/by-id/hidraw_$result"