Hello Team,
in order to do a USB 3.0 pre-compliance tests: how to set the TUSB8042 into compliance mode to run the eye diagram test under Linux, please?
Thank you and Best Regards,
Hans
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Hans
Here is the compliance test procedure for Linux:
USB2 compliance test section,
When the feature selector is PORT_TEST, the most significant byte (bits 15..8) of the wIndex field is the selector identifying the specific test mode. Table 11-24 lists the test selector definitions.
USB3 compliance test section,
Regards
Brian
Hi Hans,
Hi Brian,
We also managed to perform the Eye test, similarly what Brian just wrote.
So you can modify the "lvstest" driver in upstream Linux kernel to work with arbitrary USB SS hubs. After hardcoding the port number for the port under test, you can issue a command to put the port link state into Compliance Mode. You can find further information in the initial commit message of lvstest.
Regards,
Peter