Package: udev
Version: 160-1
Severity: normal
Hi Marco,
sane-backends 1.0.21-3 now sets libsane_matched=yes for SCSI scanners too. This
version has just made it to testing, so I think it's safe now to apply the
attached patch to close the SCSI scanners hole we discussed a while back.
You may want to add a Breaks: libsane (<< 1.0.21-3) to udev to ensure the
proper libsane version is installed.
Thanks,
JB.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32.2 (SMP w/2 CPU cores)
Locale: LANG=C, lc_ctype=fr...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages udev depends on:
ii debconf [debconf-2.0] 1.5.33 Debian configuration management sy
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libselinux1 2.0.94-1 SELinux runtime shared libraries
ii libudev0 160-1 libudev shared library
ii libusb-0.1-4 2:0.1.12-15 userspace USB programming library
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii util-linux 2.17.2-3.1 Miscellaneous system utilities
Versions of packages udev recommends:
ii pciutils 1:3.1.7-4 Linux PCI Utilities
ii usbutils 0.87-5 Linux USB utilities
udev suggests no packages.
-- debconf information excluded
Index: udev-160/extras/udev-acl/70-acl.rules
===================================================================
--- udev-160.orig/extras/udev-acl/70-acl.rules 2010-07-20 19:13:54.310739867 +0200
+++ udev-160/extras/udev-acl/70-acl.rules 2010-07-20 19:14:11.646745962 +0200
@@ -13,11 +13,7 @@
# 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
+# scanners, USB & SCSI
ENV{libsane_matched}=="yes", TAG+="udev-acl"
# HPLIP devices (necessary for ink level check and HP tool maintenance)