On Mon, 31 Mar 2014 tzippy@xxxxxx wrote: > >>> I am familiar with USB on the host side, but not the gadget side. > >>> What's the best/easiest way to implement a simple 2 endpoints > >>> communication with high data rates? > >>> During my search I came across functionfs, gadgetfs, configfs and > >>> libusbg. Can you recommend one of them that suits my needs? > >>> Thank you so much! > > Can anybody help out here? > Thanks! I can't tell you much about the differences between these APIs. The only one I have ever used is gadgetfs. The one thing to keep in mind is that in order to achieve maximum throughput, you definitely need to use an asynchronous API. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html