[sane-devel] Hints for Epson Perfection 1650?

Roberto Mello rmello at cc.usu.edu
Wed Feb 27 17:49:47 GMT 2002


On Wed, Feb 27, 2002 at 05:16:41PM +0000, Major A wrote:

> > 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.

I thought about that, now isn't setting this on scanner.h the same as
loading the module with the "read_timeout=int" param?

brasileiro:/home/roberto# modinfo scanner
filename:    /lib/modules/2.4.19-pre1-ac1/kernel/drivers/usb/scanner.o
description: "USB Scanner Driver 0.4.6"
author:      "David E. Nelson, dnelson at jump.net, http://www.jump.net/~dnelson"
license:     "GPL"
parm:        vendor int, description "User specified USB idVendor"
parm:        product int, description "User specified USB idProduct"
parm:        read_timeout int, description "User specified read timeout in seconds"

I loaded the module with the following command, thinking it'd be the same:

modprobe scanner read_timeout=180

Is it not? Thanks.

-Roberto

-- 
+----| http://fslc.usu.edu/ USU Free Software & GNU/Linux Club |------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net/ 
       http://www.sdl.usu.edu/ - Space Dynamics Lab, Developer    
*/ \*                    <- Tribbles having a swordfight



More information about the sane-devel mailing list