Enabling the High Speed Electrical Test Tool (HSET) support in Linux?
A USB high speed host must pass electrical compliance tests defined by the USB-IF in order to use the High-speed Logo. These compliance tests require the host controller to support various test modes defined by the USB 2.0 specification.
USB-IF defines a windows based High Speed Electrical Test Tool (HSET) to activate various test modes. But for small devices with embedded USB host controller it may not be possible to use the tool because of the unavailability of windows platform. Therefore, USB-IF defines a standard method to initiate test modes on embedded hosts by using a test fixture. During enumeration by the USB host, this test fixture provides a VID/PID pair which is used by the host to initiate a particular test mode as each VID/PID pair corresponds to a unique test mode.
Following are the test modes PIDs supported by LE or Android builds:
PID Test Mode
0x0101 TEST_SE0_NAK
0x0102 TEST_J
0x0103 TEST_K
0x0104 TEST_PACKET
0x0106 HS_HOST_PORT_SUSPEND_RESUME
0x0107 SINGLE_STEP_GET_DEV_DESC
0x0108 SINGLE_STEP_SET_FEATURE
Detailed instructions to perform the "Embedded High-Speed host Electrical Tests" or EHSET host compliance tests can be found in the below doc.
http://www.usb.org/developers/onthego/EHSET_v1.01.pdf
OEMs need to check the below kernel option:
CONFIG_USB_EHCI_EHSET option needs to be enable in the kernel's default configuration for EHSET host compliance test support in the build.
Also refer to the solution# 00012725(What are kernel flags need to be defined to enable HS-USB Host configuration?) to check whether host mode is enabled or not.
This comment has been removed by the author.
ReplyDeleteThe USB High Speed Embedded Host tester board PID/ VID triggering the test modes can be found at: http://www.testusb.com/shop.htm
ReplyDeleteIt's a board developed by Testronic, the first usb certification lab worldwide
New procedure can be found at:
ReplyDeletehttp://www.usb.org/developers/onthego/PIDVID_USB_2_0_High_Speed_Electrical_Embedded_Host_and_OTG_MOI_1_0.pdf