question on initiating gadget out/in transfer

ilya <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
hello,

i am writing a driver for a controller to support
the gadget api, so far i can enumerate the
device but i am not sure on how to invoke
ins and outs on the gadget side. with control
transfers it is straightforward, i get a control
packet and then call the setup() function to
forward it to gadget. my theory was that with
regular transfers gadget would queue an
in and an out request at all times and my driver
would call the complete() function once it would
fill in the buffer, but i do not see that happening;
so either i am doing something wrong or the
gadget api uses a different mechanism.

any information would be much appreciated.

-- ilya

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.