On Wed, Apr 07, 2010 at 03:41:35PM +0200, Michal Nazarewicz wrote: > The FunctionFS gadget may provide the source/sink interface > not as the first interface (with id == 0) but some different > interface hence a code to find the interface number is > required. > > (Note that you will still configure the gadget to report > idProduct == 0xa4a4 (an "echo 0xa4a4 > >/sys/module/g_ffs/parameters/usb_product" should suffice) or > configure host to handle 0x0525:0xa4ac devices using the > usbtest driver.) > > Signed-off-by: Michal Nazarewicz <m.nazarewicz@xxxxxxxxxxx> > Cc: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> > Cc: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> Ah, kernel code with a userspace test program. If only all patches came with stuff like this. Very nice job, I like it a lot. Care to take the minor comments so far, and redo it? I'll be glad to take the patches into my tree then. thanks, greg k-h -- 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