On Thu, 14 Jul 2005, gopi vagga wrote:

> Hi,
>    When i connect a USB device controller to a PC, i see both EP0 IN
> and EP0 OUT interrupt bits (set) in the interrupt register of USB
> Device Controller.
>    Which one to process first?
>    Is it correct if i process EP0 OUT because to process EP0 IN, i
> need to put some data in the IN buffer.

Follow the instructions in your controller's hardware manual.

Just as a guess, it seems likely that when you get a control-IN transfer,
the control packet triggers the EP0 OUT bit and the data packet triggers
the EP0 IN bit.  So the data you will want to send in to the host will be
your response to the control packet.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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