- 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

OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=44
This commit is contained in:
Johannes Meixner 2011-09-29 15:06:04 +00:00 committed by Git OBS Bridge
parent c5a79de6cf
commit ccbc49f61f
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -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: