[sane-devel] SCSI timeout (sanei_scsi.c)

Henning Meier-Geinitz henning at meier-geinitz.de
Fri Sep 6 21:50:54 BST 2002


Hi,

On Thu, Sep 05, 2002 at 12:11:46AM +0200, abel deuring wrote:
> I've commited changes of sanei_scsi.c sane sane-scsi.man to the CVS 
> server. The default timeout value is now 120 seconds; can be changed by 
> setting the environment variable SANE_SCSICMD_TIMEOUT.

Fine, thanks.

> I can test the stuff only on Linux, so it would be fine, if others could 
> test, if I messed up the implementation for other OSes.

FreeBSD, NetBSD and OpenBSD also works.

> Can be interesting to select a very small value ;) With one second 
> timeout, the Sharp backend segfaults. (Didn't fix that yet...)

With NetBSD and the Mustek backend the kernel complains about timeouts
when using 1 second, but the scan works neverthelesss :-)

Bye,
  Henning



More information about the sane-devel mailing list