[sane-devel] microtek2 backend bug?
Fri, 14 Dec 2001 20:26:05 +0100
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 <email@example.com> is the maintainer of the
From a quick look into the code I suspect that scsi_sense_handler()
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 :-)