zephyr/samples/subsys/usb
Johann Fischer 25b0212fc3 subsys: usb: class: add loopback function
Add loopback function. This function can be used to test
USB device drivers and device stack connected to linux host
and has the similar interface as "Gadget Zero" [1] of the Linux
kernel.

Use modprobe usbtest to load the module, see also [2] for the
description of the tests and for Vendor and Product ID of the
"Gadget Zero". The userspace tool testusb [3] is needed to start
the tests.

[1] linux/drivers/usb/gadget/function/f_loopback.c
[2] linux/drivers/usb/misc/usbtest.c
[3] linux/tools/usb/testusb.c

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2018-07-06 11:56:16 -05:00
..
cdc_acm samples: sample.yaml cleanup 2018-04-09 22:55:20 -04:00
console samples: usb: Make each sample have its own USB product string 2018-03-22 12:41:40 +01:00
dfu subsys: usb: rework USB DFU class driver 2018-04-30 17:42:40 -04:00
hid usb: hid: fix write to interrupt IN endpoint 2018-06-16 11:46:56 +02:00
hid-mouse usb: hid: fix write to interrupt IN endpoint 2018-06-16 11:46:56 +02:00
mass samples: subsys: usb: Set disk name Kconfig option 2018-05-08 08:53:01 -04:00
testusb subsys: usb: class: add loopback function 2018-07-06 11:56:16 -05:00
webusb usb: webusb: Strip CDC ACM function from the code 2018-06-22 12:29:45 -04:00
usb.rst samples: usb: add usb.rst and README.rst for CDC ACM sample 2017-07-23 07:41:57 -04:00