slackbuilds/system/brother-brscan4/50-brother-brscan4-libsane....

15 lines
498 B
Plaintext

# Udev rule for the scanner connected through the USB interface.
# This is inspired with what the "udev_config.sh" in the official
# package offers.
ACTION=="add", \
SUBSYSTEM=="usb|usb_device", \
ATTRS{idVendor}=="04f9", \
ATTRS{bInterfaceClass}=="0ff", \
ATTRS{bInterfaceSubClass}=="0ff", \
ATTRS{bInterfaceProtocol}=="0ff", \
MODE="0660", \
GROUP="scanner", \
ENV{libsane_matched}="yes", \
SYMLINK+="scanner-%k"