Bug 56917
Summary: | SANE backend bug? | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Michal Jaegermann <michal> | ||||
Component: | sane-backends | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.2 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-12-08 15:13:33 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Michal Jaegermann
2001-11-30 03:52:26 UTC
Created attachment 39126 [details]
patch to replace i/o error from ADF with "scanned ..." message
From your debugging of this, can you confirm that the microtek2 backend is returning SANE_STATUS_NO_DOCS at this point? (If not it's a backend bug.) I suggested in my original report that a simpicistic behaviour of a backend (I do not know if this is limited to microtek2 or more widespread) is actually responsible. As I understand that code it just shouts "I/O error" at every unusual situation. Unfortunately I had an access to this scanner for a very limited time (and to another scanner from HP which does not really work either with Linux nor with a manufacturer provided Windows software). A patch I included is just a workaround for a bad behaviour but it makes the whole thing acceptable from a point of view of the end user and I do not see how it really harms anything in this interactive by its nature procedure of scanning. Throwing at user "scanner failed to start" at the end of every scan which was using ADF is not a good thing to do; it still does that, rightly so, in most situations when errors are different that "no more pages to scan". An alternate, correct, fix would be to carefuly review the whole code and ensure that all backends are smarter in their reporting but this is a long range project. Yes. Well, since neither of us have the hardware to test out any potential fix (rather than work-around), I'm going to close this as WONTFIX for now. Pity; because a reaction I got from "end users", which are not interested in internals of SANE, to the current state of things was "absolutely unacceptable". No amount of explanations and hand waving was good enough. A long range solution is to pester SANE project to mend their ways but there is a need for a short term resolution _right now_. I've reported it to the SANE developers. Reassigning to sane-backends, in hopes that the backend maintainer will produce a patch.. I'd rather not just apply the work-around, since it has the side-effect of masking real problems as well. |