summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2010-08-18 13:35:25 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-08-18 13:35:25 +0200
commit3bd7b89dc40c4a0440ee5fce2ea907971bfcfb10 (patch)
treeec2a8cc849362a6b705de6d0c14eba4b9cd76470 /extras
parentbd078c90b97c73ba5fe7475947e6ecd20e2eb048 (diff)
udev-acl: do not mistake all SCSI "processor" devices for scanner
Both rules can be removed since now libsane sets libsane_matched also for SCSI scanners. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589751
Diffstat (limited to 'extras')
-rw-r--r--extras/udev-acl/70-acl.rules6
1 files changed, 1 insertions, 5 deletions
diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules
index 6ec04ee455..c7134bc5bd 100644
--- a/extras/udev-acl/70-acl.rules
+++ b/extras/udev-acl/70-acl.rules
@@ -13,11 +13,7 @@ SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:060101:*", TAG+="udev-acl"
# digicams with proprietary protocol
ENV{ID_GPHOTO2}=="*?", TAG+="udev-acl"
-# SCSI scanners
-KERNEL=="sg[0-9]*", ATTRS{type}=="6", TAG+="udev-acl"
-KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP|EPSON|Epson", TAG+="udev-acl"
-
-# USB scanners
+# SCSI and USB scanners
ENV{libsane_matched}=="yes", TAG+="udev-acl"
# HPLIP devices (necessary for ink level check and HP tool maintenance)