From: Greg KH on
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(a)>
> Cc: Kyungmin Park <kyungmin.park(a)>
> Cc: Marek Szyprowski <m.szyprowski(a)>

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.


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at