[sane-devel] getenv(SANE_USB_TIMEOUT)

Lev A. Melnikovsky leva at hotmail.com
Tue Jul 15 08:06:36 UTC 2008

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 */


+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 


More information about the sane-devel mailing list