Re: Problems with 2.4.4 kernel and scanning

From: Henning Meier-Geinitz (henning@meier-geinitz.de)
Date: Tue May 08 2001 - 11:26:56 PDT

  • Next message: Henning Meier-Geinitz: "Re: SANE CVS mails"

    Hi,

    On Tue, May 08, 2001 at 11:17:40AM -0400, Timothy Reaves wrote:
    >
    > I seem to be having no end of trouble scanning under 2.4.4. I'll start
    > xsane, click the aquire preview button, and then I get an error: 'Error
    > during read: Error during device I/O'.

    I'm not sure if this is really your problem, but as you mention this
    combination:

    > 2.4.4 kernel
    > sane 1.0.4

    This is part of an article from Abel Deuring from this list:

    | The SG driver changed. But the guilty one is me; I used a too short
    | timeout value for the new SG driver. In sanei/sanei_scsi.c, look for a
    | line like
    |
    | req->sgdata.sg3.hdr.timeout = 10000;
    |
    | (line 1892 for Sane 1.0.4), and change it to
    |
    | req->sgdata.sg3.hdr.timeout = 1000 * 10 * 60;

    Bye,
      Henning

    --
    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 May 08 2001 - 11:15:50 PDT