From a17e996b616e3ca3997b6915528f86ee562945557fc3490121919d3ef018a4ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 24 Sep 2013 12:52:59 +0000 Subject: [PATCH] Mon Sep 15 23:23:23 UTC 2013 - piny@gmx.com - workaround for hp scanjet 8200 As described in when operating on a hp scanjet 8200 the avision driver gets stuck in a loop trying to detect an ADF, even if none is present. In order circumvent this issue, following workaround has been implemented: 1) create an option "enforce-no-adf" in the file avision.conf 2) patch the code in avision.c to make use of this option, if the conditions that lead to the unsuccessful ADF search (namely detection of NO ADF but reporting of SOME ADF type) is given. Per default the new option is inactive by comment; activate at your own risk! An upstream report was added to - created patch110 for avision.conf - created patch111 for avision.c - introduced patch110 and patch111 into sane-backends.spec OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=71 --- sane-backends.changes | 19 +++++++++++++++++++ sane-backends.spec | 7 ++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/sane-backends.changes b/sane-backends.changes index affa5e3..7fcf71e 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Sep 15 23:23:23 UTC 2013 - piny@gmx.com + +- workaround for hp scanjet 8200 + As described in + when operating on a hp scanjet 8200 the avision driver gets stuck + in a loop trying to detect an ADF, even if none is present. + In order circumvent this issue, following workaround has been implemented: + 1) create an option "enforce-no-adf" in the file avision.conf + 2) patch the code in avision.c to make use of this option, + if the conditions that lead to the unsuccessful ADF search + (namely detection of NO ADF but reporting of SOME ADF type) is given. + Per default the new option is inactive by comment; activate at your own risk! + An upstream report was added to + +- created patch110 for avision.conf +- created patch111 for avision.c +- introduced patch110 and patch111 into sane-backends.spec + ------------------------------------------------------------------- Thu Apr 4 15:52:19 UTC 2013 - meissner@suse.com diff --git a/sane-backends.spec b/sane-backends.spec index dae6f50..e7741aa 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -189,9 +189,10 @@ Patch108: fix-no-return-in-nonvoid-function.patch # otherwise there would be confusing model entries shown in yast2-scanner: Patch109: adapt_epkowa.desc_for_yast2-scanner.patch # -Patch110: avision.conf.patch -Patch111: avision.c.patch -# Patch 110 and 111 implement scanjet 8200 ADF workaround acc. https://bugzilla.novell.com/show_bug.cgi?id=840443 +# Patch 110 and 111 implement scanjet 8200 ADF workaround - bnc#840443 +# https://alioth.debian.org/tracker/index.php?func=detail&aid=314108&group_id=30186&atid=410366 +Patch110: avision.conf.patch +Patch111: avision.c.patch # # Install into this non-root directory (required when norootforbuild is used): BuildRoot: %{_tmppath}/%{name}-%{version}-build