Hi All, I developing a new UDC driver and I have some doubts.
When a non-ctrl endpoint is enabled the usb_endpoint_descriptor marks it as RX or TX so, when a new usb_request is queued for a non-ctrl endpoint we know if its a RX or TX request, but what about ctrl endpoints? e.g: 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? To know that is for TX, do we also have to process the request in order to guess the gadget response?!? The existing UDC drivers don't do that, they all use a status variable to handle this but I still don't understand how it works :( Could you explain me how it works or where I can find information about it, pls? The dummy_udc simplifies this handling a lot and I don't have hardware to try the other UDCs Thanks David Lopo - 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
