Google
  Web www.spinics.net

Re: s3c2410 usb gadget problems with file-storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 10/19/07, Matthieu CASTET <matthieu.castet@xxxxxxxxxx> 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

Attachment: udc.patch0
Description: Binary data

Attachment: udc.patch1
Description: Binary data

-------------------------------------------------------------------------
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/
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux