Re: Problems with HP Scanjet 4c

From: abel deuring (adeuring@gmx.net)
Date: Tue Mar 06 2001 - 07:07:10 PST

  • Next message: Oliver Rauch: "Re: OT: Is "fileno()" conform to ANSI or POSIX?"

    Jody Williams wrote:
    >
    > I am having problems using my HP ScanJet 4c. When I try to scan, I
    > receive the message "Error during divice I/O".
    >
    > What are some possible solutions? I have tried recompiling the kernel
    > (2.4.1) with different SCSI options.
    >

    Jody,

    This might be related to a too short timeout in the part of Sane's SCSI
    library for the new Linux SG driver in the 2.4 kernel.

    Please try to change the following line in sanei/sanei_scsi.c

          req->sgdata.sg3.hdr.timeout = 10000;

    (line 1892 in Sane 1.0.4) to:

          req->sgdata.sg3.hdr.timeout = 1000 * 10 * 60;

    Abel

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Tue Mar 06 2001 - 06:46:34 PST