Re: Epson Perfection 1200 Photo USB crashes

From: Karl Heinz Kremer (khk@khk.net)
Date: Wed Dec 27 2000 - 16:43:56 PST

  • Next message: Derrell Lipman: "Compile problems (and fixes) for 1.0.4"

    Per,

    the problem is very likely caused by a USB timeout. The USB
    scanner driver does not wait long enough for data - or the
    EPSON scanners are a little to slow to send the first byte
    of data after a "Start scan" command.

    You can fix this yourself if you are willing to recompile your
    kernel: Edit the file linux/driver/usb/scanner.h and look for
    a line that starts with

    #define RD_NAK_TIMEOUT (10*HZ)

    Change the 10 to 20 and everything should work.

    You can find this information also on my FAQ page at
    http://www.freecolormangement.com/sane/faq.html

    Karl Heinz

    On Thu, Dec 28, 2000 at 12:21:06AM +0100, Per Aalrust wrote:
    > Hi everybody,
    >
    > I have been working for a while with sane 1.0.3 (epson backend V0.1.35)
    > and the above named scanner. If scanning full size in color mode the
    > scanner
    > and/or the usb-port sometimes crashes?! On the command line I get the
    > message
    > "[epson] error in receive - status = 5" (sometimes 9 instead of 5).
    > After that error I have to do a reset, because there is no way to do any
    > further scanning. Linux is still alive, but the scanner and sane hangs.
    > Scanning in gray and binary mode works fine so far.
    >
    > Anybody out here who has a good idea that helps?
    >
    > Best regards
    > Per
    >
    > --
    > 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 : Wed Dec 27 2000 - 16:31:33 PST