Hi,

On 06/21/04 22:09:28, Alan Stern wrote:
I made up this address list by going through the mailing list archives and looking for messages from people having trouble with high-speed (USB 2.0) Genesys Logic or similar devices. (Cypress chipsets may possibly suffer from the same sort of problem as Genesys.) It's surprising how many there are!

A couple of people (Jacques Grove and Adam Koh) have written in
recently saying that the patch below solves their problem, or makes it much less frequent. The patch should apply to any recent 2.6 kernel.


Please try it out -- if you still have your drive handy -- and let me
know if it helps at all. You might want to experiment with the value
passed to udelay(); in theory as you make it larger your throughput will decrease but will also become more reliable.

I just compiled 2.6.7 for my notebook (IBM A31) and it works just fine. Compared to the previous "fix" CPU usage during USB transfer is much lower.
In contrast to the audio driver (snd_intel8x0) the driver also seems to handle ACPI and S3 just fine.


Thanks a lot,
Thomas Jahns

===== drivers/usb/storage/usb.c 1.119 vs edited =====
--- 1.119/drivers/usb/storage/usb.c     Sun Jun 13 16:09:07 2004
+++ edited/drivers/usb/storage/usb.c    Mon Jun 21 10:51:41 2004
@@ -359,6 +359,7 @@
                /* we've got a command, let's do it! */
                else {
                        US_DEBUG(usb_stor_show_command(us->srb));
+                       udelay(250);
                        us->proto_handler(us->srb, us);
                }





-- "Computers are good at following instructions, but not at reading your mind." D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to