-
-
Save anonymous/f344694ca9950fe908eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# udev rules sample for Brother MFP | |
# version 1.0.0-1 | |
# | |
# Copyright (C) 2012 Brother. Industries, Ltd. | |
# | |
# copy to /etc/udev/rules.d or /lib/udev/rules.d | |
# | |
ACTION!="add", GOTO="brother_mfp_end" | |
SUBSYSTEM=="usb", GOTO="brother_mfp_udev_1" | |
SUBSYSTEM!="usb_device", GOTO="brother_mfp_end" | |
LABEL="brother_mfp_udev_1" | |
SYSFS{idVendor}=="04f9", GOTO="brother_mfp_udev_2" | |
ATTRS{idVendor}=="04f9", GOTO="brother_mfp_udev_2" | |
GOTO="brother_mfp_end" | |
LABEL="brother_mfp_udev_2" | |
# ATTRS{bInterfaceNumber}=="01", GOTO="brother_mfp_udev_3" | |
# ATTRS{bInterfaceNumber}=="02", GOTO="brother_mfp_udev_3" | |
# ATTRS{bInterfaceNumber}=="03", GOTO="brother_mfp_udev_3" | |
# GOTO="brother_mfp_end" | |
# LABEL="brother_mfp_udev_3" | |
ATTRS{bInterfaceClass}!="0ff", GOTO="brother_mfp_end" | |
ATTRS{bInterfaceSubClass}!="0ff", GOTO="brother_mfp_end" | |
ATTRS{bInterfaceProtocol}!="0ff", GOTO="brother_mfp_end" | |
#MODE="0666" | |
#GROUP="scanner" | |
ENV{libsane_matched}="yes" | |
#SYMLINK+="scanner-%k" | |
LABEL="brother_mfp_end" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment