USB host eye diagram on Jetson TK1

Dear Nvidia,

 1 I read your document named "TegraK1_USB2.0_Compliance_Test_AppNote_DA0719007". And use your "tegra_hc_port_test_v3_static" tool to test signal quality. But when I input the "./tegra_hc_port_test_v3_static -x 3" through the other USB port by ADB command it replied as "liusb_control_transfer failed -9", "Couldn't force tegra-xhci/usb2 port 3 enter test mode."
 Why I failed? And how to make the TK1 enter into USB2.0 host test mode?

2 How to make the USB3.0 host to enter into TX signal quality test mode?

Hi maerhu,

What’s the result list of ‘lusb’? Are you test port 3 on xUSB controller?

Dear Trumany,

 1 Our OS is android and the list is as below.

   root@falcon:/sys/bus/usb/devices # ls -l

ls -l
lrwxrwxrwx root root 2000-01-01 00:00 1-0:1.0 → …/…/…/devices/platform/ozwpan/usb1/1-0:1.0
lrwxrwxrwx root root 2000-01-01 00:08 2-0:1.0 → …/…/…/devices/platform/tegra-xhci/usb2/2-0:1.0
lrwxrwxrwx root root 2000-01-01 00:08 3-0:1.0 → …/…/…/devices/platform/tegra-xhci/usb3/3-0:1.0
lrwxrwxrwx root root 2000-01-01 00:00 usb1 → …/…/…/devices/platform/ozwpan/usb1
lrwxrwxrwx root root 2000-01-01 00:00 usb2 → …/…/…/devices/platform/tegra-xhci/usb2
lrwxrwxrwx root root 2000-01-01 00:00 usb3 → …/…/…/devices/platform/tegra-xhci/usb3
root@falcon:/sys/bus/usb/devices # busybox lsusb
busybox lsusb
/system/bin/sh: busybox: not found
127|root@falcon:/sys/bus/usb/devices #

 2 Yes. I test the port 3 on xUSB controller.And the log is as below.

   <6>[   99.301004] tegra-xhci tegra-xhci: Firmware timestamp: 2014-05-02 02:22:50 UTC, Falcon state 0x20

<6>[ 99.639296] usb 2-3: new high-speed USB device number 2 using tegra-xhci

<6>[ 99.658029] usb 2-3: New USB device found, idVendor=cd12, idProduct=ef18

<6>[ 99.664866] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3

<6>[ 99.672104] usb 2-3: Product: Mass storage

<6>[ 99.676367] usb 2-3: Manufacturer: Generic

<6>[ 99.680588] usb 2-3: SerialNumber: ab5283535743

<6>[ 99.687048] usb-storage 2-3:1.0: USB Mass Storage device detected

<6>[ 99.693458] scsi0 : usb-storage 2-3:1.0

Hi,
The tool is base on L4T not Android, can you try original L4T?

Hi sir,
I have the same problem about “liusb_control_transfer failed -9, Couldn’t force tegra-xhci/usb1 port 1 enter test mode.” when I use the commond “./tegra_hc_port_test_v3_static -x 1” to do the usb 2.0 SI test for xhci controller.
In this path “/sys/devices/platform”,there is a file “tegra-xhci”,could you help me how can i do about this problem?
thank you very much sir!

Hi, did you follow the AppNote to enter into test mode which is listed as below?

For XHCI Controller:

  1. Send the application “tegra_hc_port_test_v3_static” to the device (adb push or through pendrive).
  2. Run the command “./tegra_hc_port_test_v3_static -x y”; where y is in such a way that a connected device to that port enumerates under usbz-y.
    Example: For XHCI-UTMI on Tegra if a device is enumerated under usb2-2, the command would be “./tegra_hc_port_test_v3_static -x 2”

Hi wenyanhao1986,

Any update or it’s not an issue now?

Thanks