[sane-devel] Hints for Epson Perfection 1650?

Karl Heinz Kremer khk at khk.net
Wed Feb 27 23:02:47 GMT 2002


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, 
it sets the timeout to 40 seconds - if you don't override this
with read_timeout. 

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 
version - at least it works for pretty much everybody else with
this scanner. 

Karl Heinz


On Wed, Feb 27, 2002 at 10:49:47AM -0700, Roberto Mello wrote:
> 
> 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
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel

-- 
Karl Heinz Kremer                                  khk at khk.net
PGP Key at                 http://www.khk.net/download/khk.asc
EPSON Sane Backend:                         http://www.khk.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 292 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20020227/6db6db75/attachment.sig>


More information about the sane-devel mailing list