Hi,
Thanks for your quick reply.
David Brownell wrote:
> On Tuesday 15 January 2008, Matthieu CASTET wrote:
>> Hi,
>>
[...]
>
>> So if on the host we send data on the bulk endpoint after the
>> set_altsetting but the device isn't fast enough, the usb_ep_enable &
>> usb_ep_queue won't be done and we can lose packet due to the flush.
>>
>> How the sync between host and device is supposed to work ?
>
> The peripheral doesn't return from SET_INTERFACE (set_altsetting)
> until after the endpoints are enabled.
Ok.
So it is my gadget driver that is buggy (s3c2410_udc).
I manage to fix this rewriting a driver based on lh7a40x_udc, but in the
process I broke some ctrl test.
So I have still work do to.
Matthieu
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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]