Dear All:

I am still digging into the enumeration fail after disable debug message.
So I add mdelay(1) after I send every token to the USB device. Then the
enumeration will pass and I can mount the USB mass storage device, but when
I copy large file (> 1M Bytes), the USB core will reset the device. The
speed of the USB transfer is very slow. 

If comment out the mdelay(1), the enumeration will fail at very beginning
get_dev_descriptors operation as the same as disable debug message.

Could you please help me on this issue?

Thanks a lot
Best Regards
Bryan Wu
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bryan Wu
Sent: Monday, April 17, 2006 10:29 AM
To: 'Ethan Du'
Cc: linux-usb-devel@lists.sourceforge.net
Subject: RE: [linux-usb-devel] How to handle NAK in HCD driver?

Hi Ethan:

Thanks a lot.

Could you please give me some information about the illegal use of pointer
in detail during you development? I am digging into this bug for a long
time.

Best Regards,
Bryan Wu

-----Original Message-----
From: Ethan Du [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 10:00 AM
To: [EMAIL PROTECTED]
Cc: linux-usb-devel@lists.sourceforge.net
Subject: RE: [linux-usb-devel] How to handle NAK in HCD driver?

>From: "Bryan Wu" <[EMAIL PROTECTED]>
>To: <linux-usb-devel@lists.sourceforge.net>
>Subject: [linux-usb-devel] How to handle NAK in HCD driver?
>Date: Fri, 14 Apr 2006 17:31:05 +0800
>
>Hi alls:
>
>I am developing a HCD driver for my own SoC including USB OTG controller.
>Sometimes my code will run into endless loop for NAK response from device.
>Sometimes my code can run successfully.
>
>And a strange thing is the HCD driver will be failed at the beginning when 
>I
>disable the debug message like printk.

I have met such problem before. Such problem is alway caused by an illegal 
use of pointer. As adding or removing printks only change the structure of 
your stack.

May this help you.
Ethan.

>So it is very difficult for me to find the problems.
>
>Could you give me some idea about this?
>
>My kernel is Linux 2.6.15 and my code structure is based on the sl811 and
>isp116x.
>
>Thanks a lot
>Best Regards
>Bryan Wu
>
>
>
>
>_______________________________________________
>linux-usb-devel@lists.sourceforge.net
>To unsubscribe, use the last form field at:
>https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to