On Wed, 24 Mar 2004, Matthias Andree wrote: > I have skipped your previous patch; the patch you sent on Friday (with > proc_setconfig) seems to have improved the situation already, and showed > that iscan used proc_setconfig. The patch of this mail you sent (quoted > for reference below) seems to help as well with iscan when it's running > alone, however, running usbmodules at the same time as iscan's preview > scan (or full scan) causes usbmodules to complain: > > Warning: invalid config descriptor > Config 0 descriptor too long, truncating > > and iscan to abort. It hangs then for a short while but comes back to > life and can be killed. The scanner's sled moves to the home position > when I've run usbmodules and the port or scanner hangs after that. I can > revive things by power cycling the scanner. > > The remaining dmesg messages from the iscan hangs are: > > usb 3-2: bulk timeout on ep2in > usbfs: USBDEVFS_BULK failed dev 2 ep 0x82 len 4096 ret -110 > usb 3-2: bulk timeout on ep2in > usbfs: USBDEVFS_BULK failed dev 2 ep 0x82 len 42 ret -110 > > I am currently observing delays starting up iscan in the second range, > but I advise to not research these yet unless other people report such > problems from IDLE machines. My test machine is under heavy I/O load > (cron jobs running find and such) and strace shows it's the disk I/O > that causes latencies up to 0.2 s per single syscall (usually open or > mmap2 on some /usr/lib file). > > Thank you so far.
Judging from this and the following message, I'd say your best approach is to disable the usbmodules program entirely or replace it with an updated version. It obviously is the cause of many of the problems you're seeing. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel