Re: s3c2410 usb gadget problems with file-storage
"Matt Reimer" <[email protected]>
| Newsgroups | gmane.linux.usb.devel,gmane.linux.ports.arm.kernel |
|---|---|
| Message-ID | <[email protected]> |
On 10/19/07, Matthieu CASTET <[email protected]> wrote: > Hi, > > I am trying to use file-storage on a s3c2412 board with the driver from > 2.6.23. > > If I keep stall option on, the driver seems to do the stall before > sending the packets in its TX queue. So when the host clear the stall, > the host receive a packet that wasn't waiting for and do a device reset. > I tried to test if PKTRDY was set and return -EAGAIN in > s3c2410_udc_set_halt but it doesn't seems to work (PKTRDY isn't set). > > > If I turn off the stall option, it works a bit better. I can format the > device with FAT, but when I write a file, the file-storate thread seems > to be stuck in sleep_thread from do_write. And after a timeout, the host > reset the device. > I need to investigate this a bit further to understand what happen. > > Does other people manage to make work file-storage with s3c2410/s3c2412 ? I haven't tried file-storage, but maybe one of these patches will help. Matt ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
udc.patch0
(application/octet-stream, 1.5 KB) - not displayed
udc.patch1
(application/octet-stream, 2.7 KB) - not displayed