[sane-devel] microtek2 backend bug?
Henning Meier-Geinitz
henning@meier-geinitz.de
Fri, 14 Dec 2001 20:26:05 +0100
Hi,
On Fri, Dec 14, 2001 at 06:10:13PM +0000, Tim Waugh wrote:
> In <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=56917> a bug
> in the microtek2 backend is detailed. It is alleged that it doesn't
> return SANE_STATUS_NO_DOCS when it should, but instead just returns an
> I/O error.
>
> Does anyone know what would be involved in fixing that?
Karsten Festag <karsten.festag@t-online.de> is the maintainer of the
microtek2 backend.
From a quick look into the code I suspect that scsi_sense_handler()
Status: O
checks for the respective sense code and returns SANE_STATUS_NO_DOCS.
Maybe the status is not detected correctly or lost later in the code.
A debugging output (SANE_DEBUG_SANEI_SCSI=255 SANE_DEBUG_MICROTEK2=255
in this case) may help to find the exact source.
Concerning your little discussion on bugzilla: I'm sure every backend
maintainer tries to make his backend report errors as specific as
possible. SANE has more error codes than SANE_STATUS_IO_ERROR so
usually that's not a big problem. Bug reports are always welcome :-)
Bye,
Henning