Hello,
I'll have to write gadget/device mode USB driver for a custom(MIPS) board. Any pointer/reference would be of great help.
Start with the pointer Stephen Gowdy gave you earlier: the link off the front page of http://www.linux-usb.org/ gives the BK repositories, and mentions the 2.6 kernel. (It has source for a useful initial set of driver, if you can't get a local BK clone.)
Then there's the reference off that page to the kerneldoc in the 2.6 kernel ... which means
# cd /usr/src/linux-2.6.0-test5 # make pdfdocs # acroread Documentation/DocBook/gadget.pdf #
Basically you're going to need to write a controller driver, and you have a few examples to learn from already. Get that working with "gadget zero", the gadget driver layered on top of that controller driver, and test thoroughly. (Control traffic first, then bulk.) Then you can use other, more useful, gadget drivers without much trouble ... or write your own.
- Dave
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel