Hi there,

I do often see timeouts with my scanner (HP ScanJet 6200C via USB) under Linux 
2.6.24. The problem disappears if I replace (file sanei_usb.c)

-static int libusb_timeout = 30 * 1000;         /* 30 seconds */

with

+static int libusb_timeout = 120 * 1000;        /* 120 seconds */

For me it seems reasonable to add an environment variable SANE_USB_TIMEOUT 
to specify default USB timeout. Would such a patch be accepted? Other 
recommendations?

thanks
-L

Reply via email to