On Thu, Mar 20, 2014 at 10:11:42PM +0800, tzippy@xxxxxx wrote: > Hello! > > I am developing on a phyFlex iMx.6 and want to send data via USB to a > Host connected via the OTG port. > The data is images from an image sensor, so I need a high performance (USB 2.0). How is your image sensor driver implemented? If it is in v4l2 framework, then you can send your data to USB host using uvc framework. See: drivers/usb/gadget/webcam.c The above would be be the standard way of doing such application. Regards Pratyush > 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! > -- > 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 -- 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