A simple tool for USB2.0 & USB3.0 compliance test under linux OS.
- libusb
make Reset the power of system between each test.
- Using lsusb to check the USB topology of the system.
lsusb -t
- Run
USB_TEST_MODE.sudo ./USB_TEST_MODE
- Select the USB device.
- Select the test mode if device is USB2.0.
- Select which port to enter the test mode. The number of port can follow the datasheet of the USB device.
- Done, now user can check the wavefrom for the compliance test.
-
Which test case should I use.
Generally suggest usingPacket. -
What if the function not working under linux OS.
Usingusb testat u-boot, for exampleusb test 1 1 P