Hi,

First, sorry about the bogus e-mail I just sent into this
thread.

> I reported some progress with the driver in my last e-mail
> (can successfully mount/read/write compact flashes inserted
> in a Trendnet's compact flash reader). But all this only
> with the debug info on. There is probably a timing problem
> somewhere so that if the debug info is removed (DPRINTK
> declared empty), the driver does not work any more.

The following patch solved the problem for me.

--- linux-2.6.9-rc4-usb/drivers/usb/core/hub.c.or       2004-11-23 
17:37:30.000000000 +0200
+++ linux-2.6.9-rc4-usb/drivers/usb/core/hub.c  2004-11-23 18:39:55.000000000 
+0200
@@ -2107,7 +2107,7 @@ hub_port_init (struct usb_device *hdev,
                 *  - let SET_ADDRESS settle, some device hardware wants it
                 *  - read ep0 maxpacket even for high and low speed,
                 */
-               msleep(10);
+               msleep(20);
                retval = usb_get_device_descriptor(udev, 8);
                if (retval >= 8)
                        break;


Now I can enjoy awesome 30kB/s transfer rates to/from the
memory sticks. Well, profiling will come later. I think I
have still few problems with interrupt TD-s, but I hope to
be able to clean up the patch soon.

Olav



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to