On Fri, 29 Jul 2005, zhougoal wrote: > Hello Alan Stern, > > I now found a problem with my usb ehci core's code with storage operation > : > > When I do readings from my device , sometimes It will encounter the short > read status.And then the qh will not advance. What's the problem? Does the > code of 2.6.9 not consider this problem or for my inattention?
You need to give more details. When you get a short IN transfer, is this for a control, interrupt, or bulk message? Did you set the URB_SHORT_NOT_OK flag when you submitted the URB? How do you know the QH isn't advancing? Could the problem be that the device simply isn't sending any data? Can you post a debugging log showing the problem? > And what's the reason to cause this problem, can you give me some advice > to avoid it ? > > Thank you for your help! I don't know very much about how the ehci-hcd driver works. You should ask the maintainer of that driver, not me. Alan Stern ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
