On 20-05-13 10:36:05, Felipe Balbi wrote: > > Hi, > > "Sid Spry" <sid@xxxxxxx> writes: > > > Hi Peter, thanks for pointing me towards the ffs-test. Unfortunately after > > some exploration in that area I still don't see how I would add a preexisting > > function to the configuration to be handled by the kernel. > > > > I do see something in an AIO test in the host code where libusb is used to > > bind a kernel driver to an endpoint. Is that something that will be necessary? > > Device side, I'm still unsure how I tell the function to handle ECM/ethernet > > on a collection of endpoints. > > > > I understand how USB works fairly well, especially on microcontrollers, but am > > a little lost still in understanding the Linux machinery for USB. > Would you please let ECM gadget work first at your board, then let f_fs work using test application (you need to compile both host and device application for it). After that, you may have more precise concept for Linux USB gadget framework. -- Thanks, Peter Chen