Accepting request 65218 from home:jsmeix:branches:graphics
Fixed udev rules for SCSI scanners (bnc#681146) OBS-URL: https://build.opensuse.org/request/show/65218 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=38
This commit is contained in:
parent
8013369406
commit
340cf56a2f
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 25 10:27:36 CET 2011 - jsmeix@suse.de
|
||||
|
||||
- Fixed udev rules for SCSI scanners:
|
||||
Because of openSUSE/Novell Bugzilla bnc#436085
|
||||
(see the entry below dated "Tue Oct 21 13:12:42 CEST 2008")
|
||||
"SYSFS" and "ATTRS" were replaced by "ATTR" everywhere in
|
||||
libsane.rules but for SCSI scanners "ATTRS{type}" is mandatory
|
||||
(see openSUSE/Novell Bugzilla bnc#681146).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 20 10:43:15 UTC 2011 - coolo@novell.com
|
||||
|
||||
|
@ -540,11 +540,15 @@ install -m644 autoconfig.rules %{buildroot}%{_sysconfdir}/udev/rules.d/56-sane-b
|
||||
# https://bugzilla.novell.com/show_bug.cgi?id=294161#c11
|
||||
# Regarding SYSFS{} or ATTRS{} versus ATTR{} see the Novell/Suse Bugzilla bug
|
||||
# https://bugzilla.novell.com/show_bug.cgi?id=436085#c0
|
||||
# but for SCSI scanners "ATTRS{type}" is mandatory see the Novell/Suse Bugzilla bug
|
||||
# https://bugzilla.novell.com/show_bug.cgi?id=681146#c15
|
||||
# so that "ATTRS{type}" which was replaced by "ATTR{type}" is re-replaced by "ATTRS{type}"
|
||||
# Disable all ENV{DEVTYPE} lines because we (Suse/Novell) do not need them.
|
||||
sed -i -e 's/GROUP="scanner"/GROUP="lp"/' tools/udev/libsane.rules
|
||||
sed -i -e '/^SUBSYSTEM/s/"usb_device"/"usb"/' tools/udev/libsane.rules
|
||||
sed -i -e 's/SYSFS/ATTR/g' tools/udev/libsane.rules
|
||||
sed -i -e 's/ATTRS/ATTR/g' tools/udev/libsane.rules
|
||||
sed -i -e 's/ATTR{type}/ATTRS{type}/g' tools/udev/libsane.rules
|
||||
sed -i -e 's/^ENV{DEVTYPE}/# ENV{DEVTYPE}/' tools/udev/libsane.rules
|
||||
# Disable entries for USB scanners which are "unsupported"
|
||||
# but keep the entries for models for which the support status
|
||||
|
Loading…
Reference in New Issue
Block a user