From: Marco d'Itri Date: Wed, 18 Aug 2010 11:35:25 +0000 (+0200) Subject: udev-acl: do not mistake all SCSI "processor" devices for scanner X-Git-Tag: 174~368 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=3bd7b89dc40c4a0440ee5fce2ea907971bfcfb10 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 --- diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index 6ec04ee45..c7134bc5b 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)