[sane-devel] Hints for Epson Perfection 1650?

Major A andras@users.sourceforge.net
Wed, 27 Feb 2002 17:16:41 +0000


> It seems I'm still getting some problems (the day after!)... It looks like
> it's something that's happenning as the scanner warms up or something in
> the communication.
> 
> xsane is able to scan the image most of the times, but sometimes during
> acquiring the preview or scanning the actual image, I get this:
> 
> Feb 27 09:37:44 brasileiro kernel: hub.c: USB new device connect on bus1/1, assigned device number 2
> Feb 27 09:37:44 brasileiro kernel: usb.c: USB device 2 (vend/prod 0x4b8/0x110) is not claimed by any active driver.
> Feb 27 09:37:47 brasileiro kernel: usb.c: registered new driver usbscanner
> Feb 27 09:37:47 brasileiro kernel: scanner.c: probe_scanner: User specified USB read timeout - 180
> Feb 27 09:37:47 brasileiro kernel: scanner.c: 0.4.6:USB Scanner Driver
> Feb 27 09:38:43 brasileiro kernel: [ca48a0c0] link (0a48a092) element (0a48d1e0)
> Feb 27 09:38:43 brasileiro kernel:   0: [ca48d1e0] link (00000001) e3 IOC
> Feb 27 09:38:43 brasileiro kernel:   Stalled Babble Length=3 MaxLen=3 DT1 EndPt=2 Dev=2, PID=69(IN) (buf=0e888000)
> Feb 27 09:38:43 brasileiro kernel: scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.

EPSON scanners are known to cause timeout problems. Try to increase
the timeout by finding the line

  #define RD_NAK_TIMEOUT (10*HZ)  /* Default number of X seconds to wait */

in drivers/usb/scanner.h within your linux kernel source, change the
10 to 40 or even 80 and recompile/reinstall the kernel modules.

  Andras

===========================================================================
Major Andras
    e-mail: andras@users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================