diff --git a/sane-backends.changes b/sane-backends.changes index 465095c..2ff9a6e 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Sep 29 16:57:26 CEST 2011 - jsmeix@suse.de + +- Added an entry for "SCSI processor EPSON Perfection1640" + to libsane.rules (bnc#681146) see in particular + https://bugzilla.novell.com/show_bug.cgi?id=681146#c43 +- Added a wildcard entry for any "SCSI processor EPSON SCANNER*" + to libsane.rules see the "55-libsane.rules"/"Device recognition" + mail thread in June 2011 on sane-devel@lists.alioth.debian.org + ------------------------------------------------------------------- Tue Mar 29 13:07:20 CEST 2011 - jsmeix@suse.de diff --git a/sane-backends.spec b/sane-backends.spec index 79ac4f9..36fb7ac 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -579,6 +579,12 @@ done # Newer udev versions complain about NAME="%k" usage with warning messages like # 'udevd[1234]: NAME="%k" is superfluous and breaks kernel supplied names...' sed -i -e 's/NAME="%k", //' tools/udev/libsane.rules +# Add an entry for "SCSI processor EPSON Perfection1640", +# see https://bugzilla.novell.com/show_bug.cgi?id=681146#c43 +sed -i -e '/^# Epson Perfection 636S /i# Epson Perfection 1640\nKERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1640", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"' tools/udev/libsane.rules +# Add a wildcard entry for any "SCSI processor EPSON SCANNER*" +# see http://lists.alioth.debian.org/pipermail/sane-devel/2011-June/028739.html +sed -i -e '/^# Epson Perfection 2450 /i# Any SCSI processor EPSON SCANNER...\nKERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"' tools/udev/libsane.rules # Install the udev rules file: install -m644 tools/udev/libsane.rules %{buildroot}%{_sysconfdir}/udev/rules.d/55-libsane.rules # xinetd stuff: