Skip to content

Commit

Permalink
USB: testusb: testusb compatibility with FunctionFS gadget
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Michal Nazarewicz authored and gregkh committed May 20, 2010
1 parent 2201d6b commit 5bc9661
Showing 1 changed file with 190 additions and 70 deletions.
Loading

0 comments on commit 5bc9661

Please sign in to comment.