Re: BUG - MODE SENSE residue miscount in g_file_storage bulk-only transport ?

Stanislaw Gruszka
2009-02-17T07:22:16Z

Monday 16 February 2009 17:30:35 Alan Stern napisał(a):
> > Maybe this is not only problem with MODE SENSE command but with all commands
> > that have allocation length field and file_storage gadget driver BBB transport
> > return less data.
> >
> > Problem also happens in older kernels, I tried 2.6.27 and 2.6.24 - they have this issue.
> > Please let me know if have more info or any other help to fix.
>
> The problem is in the Atmel hardware; it's not capable of halting a
> bulk endpoint correctly. You need to invoke g_file_storage with the
> "stall=no" parameter.

I see, it works now, thanks very much.

Stanislaw Gruszka