[sane-devel] Re: usb_control/bulk_msg: timeout

Bill Moseley moseley at hank.org
Sun Jan 5 22:51:00 GMT 2003


On Sun, 5 Jan 2003, A E Lawrence wrote:

> Ok. That looks ok. There are some other timeouts in usb.c. It might be 
> worth experimenting with those values. Just search on the strings `timeout' 
> and `TIMEOUT'. But at a quick glance, there seems to be only one place that 
> the "usb_control/bulk_msg: timeout" is generated, and it looked as if that 
> was always controlled by GET_TIMEOUT. So I don't understand why you didn't 
> see a change. Maybe that code gets called somewhere else with a different 
> timeout value passed in.

Yes, seems odd that the timeout didn't change.  The modules are getting
installed, I checked.

I'll post my CONFIG_USB config below in case I'm doing something dumb.  
Regardless, seems like my problem (timeouts reported and and frontends
returned I/O errors) is in software -- likely usb code I'd think.

I just dropped in a new drive into this machine and installed Windows XP.
The scanner works without any problems, so it looks like it's not my USB
hardware or the scanner or cable.  Although It might be that XP has a
work-around for something in my USB hardware.  Hard to know.

Sure takes a lot longer to install Windows on an 80GB drive than it takes
to install Debian.  Just wish my fonts under X looked that good.  No
wonder Apple's are so popular these days, nice UI on the outside and nice
bsd on the inside...

Here's my config.

moseley at bumby:~$ fgrep USB /usr/src/linux/.config | grep '=y'
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
CONFIG_USB_LONG_TIMEOUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_SERIAL_GENERIC=y
moseley at bumby:~$ fgrep USB /usr/src/linux/.config | grep '=m'
CONFIG_USB=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
CONFIG_USB_AUDIO=m
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=m
CONFIG_USB_KBD=m
CONFIG_USB_MOUSE=m
CONFIG_USB_WACOM=m
CONFIG_USB_SCANNER=m
CONFIG_USB_USS720=m
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_BELKIN=m
CONFIG_USB_SERIAL_WHITEHEAT=m
CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
CONFIG_USB_SERIAL_EMPEG=m
CONFIG_USB_SERIAL_FTDI_SIO=m
CONFIG_USB_SERIAL_VISOR=m
CONFIG_USB_SERIAL_IPAQ=m
CONFIG_USB_SERIAL_IR=m
CONFIG_USB_SERIAL_EDGEPORT=m
CONFIG_USB_SERIAL_KEYSPAN_PDA=m
CONFIG_USB_SERIAL_KEYSPAN=m
CONFIG_USB_SERIAL_MCT_U232=m
CONFIG_USB_SERIAL_KLSI=m
CONFIG_USB_SERIAL_PL2303=m
CONFIG_USB_SERIAL_CYBERJACK=m
CONFIG_USB_SERIAL_XIRCOM=m
CONFIG_USB_SERIAL_OMNINET=m
CONFIG_USB_RIO500=m


-- 
Bill Moseley moseley at hank.org




More information about the sane-devel mailing list