On Wednesday 20 February 2008, David Lopo wrote:
>
> When a GET_DESCRIPTOR request is received it is forwarded to the gadget 
> driver,
> then gadget enqueues a new usb_request but for which QH, RX or TX?

It wouldn't be for an OUT (RX) transfer, since there's a bit in
the SETUP packet saying that it's for IN (TX)...


> To know that is for TX, do we also have to process the request in
> order to guess the gadget response?!?

The existing peripheral controller drivers just test that bit
before passing the request off to the gadget driver, and remember
its value.

- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to