On Thu, 30 Mar 2006, David Brownell wrote:

> On Sunday 26 March 2006 9:11 am, Alan Stern wrote:
> > On Sun, 26 Mar 2006, Franck Bui-Huu wrote:
> > 
> > > sorry the question wasn't accurate, I would have asked: am I sure that
> > > the driver will queue only one request  in a response to a SETUP
> > > packet ? that would mean the request queue for ep0 has no more than
> > > one request at any time.
> > 
> > You shouldn't assume that.  Although it will almost always be true in 
> > practice, it's not a requirement.
> 
> Actually, I'd say it's OK to assume that.  It's an error if the
> gadget driver issues more than one response to a setup() callback,
> or issues a response when no setup() is pending.

But what if the gadget driver issues a single response in two parts?  That 
is, instead of issuing a single 128-byte response, it queues two 64-byte 
responses?

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to