Re: Problems with HP Scanjet 4c

From: Jody Williams (jody@linuxgrp.net)
Date: Tue Mar 06 2001 - 07:56:00 PST

  • Next message: Oliver Rauch: "Re: SANE_INFO_RELOAD_PARAMS on get?"

    That change did fix the problem.

    Everything works correctly now.

    Thanks Everyone.

    Jody

    abel deuring wrote:
    >
    > 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

    --
    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 - 07:41:40 PST