Re: HP PhotoSmart problem

From: John Pitney (john@pitney.org)
Date: Wed Mar 07 2001 - 15:42:07 PST

  • Next message: Ulrich Deiters: "Re: 3091 backend: Brightness, Contrast etc."

    I tried this change, but it didn't solve the problem. The error message
    comes up almost immediately---there is no timeout happening unless it's
    only milliseconds.

    On Wed, Mar 07, 2001 at 10:10:40AM -0600, Jody Williams wrote:
    > I had a similar a problem with my ScanJet 4c. This fixedmy scanner.
    >
    > Here is the fix that I was told:
    >
    > abel deuring wrote:
    > >
    > > 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
    >
    > Jody
    >

    -- 
    John Pitney 
    www.pitney.org
    

    -- 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 : Wed Mar 07 2001 - 15:23:40 PST