sane-backends/avision.conf.patch
OBS User mrdocs dec28456dd Accepting request 199164 from home:pinysuse:branches:graphics
As described in <https://bugzilla.novell.com/show_bug.cgi?id=840443> - 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!
> patches have been marked with tags <2013-09-15_PNu>, please remove them if accepted.

An upstream report was added to
<https://alioth.debian.org/tracker/index.php?func=detail&aid=314108&group_id=30186&atid=410366>

OBS-URL: https://build.opensuse.org/request/show/199164
OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=70
2013-09-16 00:30:49 +00:00

11 lines
278 B
Diff

--- backend/avision.conf.in.orig 2013-09-09 01:19:36.843243005 +0200
+++ backend/avision.conf.in 2013-09-15 13:13:40.697769805 +0200
@@ -8,6 +8,7 @@
#option disable-gamma-table
#option disable-calibration
#option force-a4
+#option enforce-no-adf
#scsi AVISION
#scsi FCPA