On Wed, 19 Jan 2005, cheng wrote: > hi٬ > I'm doing some work for s3c2410_udc driver under linux 2.6.7, > and use gadget "file-storage" to achieve a mass storage disk. > now,ep0 may config usb descriptor, ep2 interrupt can happen , but ep2 > ocsr1 is 0x40 (send stall), ep2 can't receive data. > ep0: control endport > ep1: IN endport > ep2: OUT endport > i could not find the solution of problem for long time and can you help > me??
What is the problem? If the endpoint is halted (stalled) then it's not _supposed_ to receive data. > and i want to know how to test usb_char bulk-out/in transfer from linux > host or windows host? There's a driver/program combination for Linux you can use. The driver is usbtest and the program is testusb. They are described at <http://www.linux-usb.org/usbtest/>. Alan Stern ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel