--YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable
Actually specifying the read_timeout is the only way to change this (that is if you don't want to mess around in the source code): The #define is ignored for EPSON scanners, because at one point we thought that 40 seconds would be enough, and 10 seconds for the other scanners, so when the driver detects the EPSON vendor ID,=20 it sets the timeout to 40 seconds - if you don't override this with read_timeout.=20 60 seconds should be enough for the 1650, at least I've never heard of any larger timeout required. If the 160 seconds is not sufficient for you, then there is something else wrong. It can be so trivial as a faulty cable, but can as well be some weird interaction between your scanner, the USB interface and the driver version. It's very unlikely that it's the backend - as long as you are using the most recent=20 version - at least it works for pretty much everybody else with this scanner.=20 Karl Heinz On Wed, Feb 27, 2002 at 10:49:47AM -0700, Roberto Mello wrote: >=20 > I thought about that, now isn't setting this on scanner.h the same as > loading the module with the "read_timeout=3Dint" param? >=20 > 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, [email protected], http://www.jump.net/~dne= lson" > 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 i= n seconds" >=20 > I loaded the module with the following command, thinking it'd be the same: >=20 > modprobe scanner read_timeout=3D180 >=20 > Is it not? Thanks. >=20 > -Roberto >=20 > --=20 > +----| http://fslc.usu.edu/ USU Free Software & GNU/Linux Club |------+ > Roberto Mello - Computer Science, USU - http://www.brasileiro.net/=20 > http://www.sdl.usu.edu/ - Space Dynamics Lab, Developer =20 > */ \* <- Tribbles having a swordfight > _______________________________________________ > Sane-devel mailing list > [email protected] > http://www.mostang.com/mailman/listinfo/sane-devel --=20 Karl Heinz Kremer [email protected] PGP Key at http://www.khk.net/download/khk.asc EPSON Sane Backend: http://www.khk.net --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQCVAwUBPH1llh4KmkKPBVxtAQEgNgP/aQMJOJywFZtl40SBS8ii5OO/VyBu+CKW r+D1RG/ky6afOaZlZ7jmC3Rejmeo7ZOsiXI3wfN8oWbw9/CyjDycmnIjO9S+W+Ak 1Fz+kZy11yrX51QroL9QJieQgSx56eSoIqibHLO1KrJa4Ib0ehMxy7x1OSwzF8Ik bQMnzeKasZw= =PoXC -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--
