TX2 USB and fan not working!

I recently purchased a TX2 and followed the start-up procedure, but, the USB does not seem to be working.

It didn’t work when I first powered up the system, so I figured it must be a driver issue, so I successfully installed Jetpack 3.0 for TX2, and it still didn’t solve the problem.

I can connect to the TX2 via SSH using the DHCP server created by the Jetpack installer, and, I tried to connect a keyboard, mouse (wired and wireless) and a USB camera, but none seem to be recognized. I ran “lsusb” and it displays 2 entries (one each for the 2.0 and 3.0 hub) and nothing more!

Everything else work perfectly (including display, networking) as far as I can observe.

Please help! I intend to connect various peripherals that use USB for my robot (including a ZED camera).

TLDR: Board - TX2 with Jetpack 3.0 (4 LEDs (2red and 2 green!)) and fan, USB not working!

  • Varundev

Hi varundev,

The USB and FAN are working on TX2/JetPack3.0.
Could you re-plugin usb device and attach log?

Please also try below command to check if fan has rotation:

sudo ./jetson_clock.sh

Hi varundev, what’s the voltage level of VBUS when plug in USB device (should be +5V)?

I am also curious if you used only one USB connector…the full-sized type-A? Have you tried the micro-USB connector?

Thanks for the reply, here is the log!

nvidia@tegra-ubuntu:~$ dmesg | grep -i usb
[ 0.358586] node /plugin-manager/fragment-500-xusb-config match with board >=3310-1000-500
[ 1.264522] usbcore: registered new interface driver usbfs
[ 1.270308] usbcore: registered new interface driver hub
[ 1.275970] usbcore: registered new device driver usb
[ 1.557965] vdd-usb0-5v: 5000 mV
[ 1.561669] vdd-usb1-5v: 5000 mV
[ 1.617994] vdd-usb2-5v: 5000 mV
[ 2.783211] usbcore: registered new interface driver asix
[ 2.783234] usbcore: registered new interface driver ax88179_178a
[ 2.783255] usbcore: registered new interface driver cdc_ether
[ 2.783283] usbcore: registered new interface driver smsc95xx
[ 2.783308] usbcore: registered new interface driver net1080
[ 2.783332] usbcore: registered new interface driver cdc_subset
[ 2.783353] usbcore: registered new interface driver zaurus
[ 2.783388] usbcore: registered new interface driver cdc_ncm
[ 2.783715] usbcore: registered new interface driver usb-storage
[ 2.783806] usbcore: registered new interface driver usbserial
[ 2.783827] usbcore: registered new interface driver ftdi_sio
[ 2.783847] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.783892] usbcore: registered new interface driver option
[ 2.783906] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.783926] usbcore: registered new interface driver pl2303
[ 2.783943] usbserial: USB Serial support registered for pl2303
[ 2.784133] tegra-usb-cd usb_cd: otg phy is not available yet
[ 2.786339] tegra-xudc-new 3550000.xudc: usb2 phy is not available yet
[ 3.705816] usbcore: registered new interface driver gspca_zc3xx
[ 3.712055] usbcore: registered new interface driver usbhid
[ 3.712057] usbhid: USB HID core driver
[ 3.740058] tegra186-padctl 3520000.pinctrl: FUSE_SKU_USB_CALIB_0 0x2ab095
[ 3.740060] tegra186-padctl 3520000.pinctrl: FUSE_USB_CALIB_EXT_0 0x8
[ 3.868990] xhci-tegra 3530000.xhci: No USB3 port has OTG_CAP
[ 3.873837] xhci-tegra 3530000.xhci: new USB bus registered, assigned bus number 1
[ 3.874743] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.874746] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.874748] usb usb1: Product: xHCI Host Controller
[ 3.874750] usb usb1: Manufacturer: Linux 4.4.15-tegra xhci-hcd
[ 3.874751] usb usb1: SerialNumber: 3530000.xhci
[ 3.874980] hub 1-0:1.0: USB hub found
[ 3.888312] xhci-tegra 3530000.xhci: new USB bus registered, assigned bus number 2
[ 3.888433] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 3.888436] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.888438] usb usb2: Product: xHCI Host Controller
[ 3.888440] usb usb2: Manufacturer: Linux 4.4.15-tegra xhci-hcd
[ 3.888441] usb usb2: SerialNumber: 3530000.xhci
[ 3.888647] hub 2-0:1.0: USB hub found
[ 4.300288] usb 1-1: new high-speed USB device number 2 using xhci-tegra
[ 4.436697] usb 1-1: New USB device found, idVendor=05ac, idProduct=1006
[ 4.436702] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.436705] usb 1-1: Product: Keyboard Hub
[ 4.436707] usb 1-1: Manufacturer: Apple, Inc.
[ 4.436709] usb 1-1: SerialNumber: 000000000000
[ 4.437432] hub 1-1:1.0: USB hub found
[ 4.442136] usb 1-1: USB disconnect, device number 2
[ 4.848291] usb 1-1: new high-speed USB device number 3 using xhci-tegra
[ 4.984722] usb 1-1: New USB device found, idVendor=05ac, idProduct=1006
[ 4.984727] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.984730] usb 1-1: Product: Keyboard Hub
[ 4.984733] usb 1-1: Manufacturer: Apple, Inc.
[ 4.984736] usb 1-1: SerialNumber: 000000000000
[ 4.985391] hub 1-1:1.0: USB hub found
[ 5.264276] usb 1-1.2: new low-speed USB device number 4 using xhci-tegra
[ 5.374695] usb 1-1.2: New USB device found, idVendor=05ac, idProduct=0220
[ 5.374697] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.374699] usb 1-1.2: Product: Apple Keyboard
[ 5.374701] usb 1-1.2: Manufacturer: Apple, Inc
[ 5.374819] usb 1-1.2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 5.374835] usb 1-1.2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 5.379143] input: Apple, Inc Apple Keyboard as /devices/3530000.xhci/usb1/1-1/1-1.2/1-1.2:1.0/0003:05AC:0220.0001/input/input4
[ 5.432520] apple 0003:05AC:0220.0001: input,hidraw0: USB HID v1.11 Keyboard [Apple, Inc Apple Keyboard] on usb-3530000.xhci-1.2/input0
[ 5.435169] input: Apple, Inc Apple Keyboard as /devices/3530000.xhci/usb1/1-1/1-1.2/1-1.2:1.1/0003:05AC:0220.0002/input/input5
[ 5.488378] apple 0003:05AC:0220.0002: input,hidraw1: USB HID v1.11 Device [Apple, Inc Apple Keyboard] on usb-3530000.xhci-1.2/input1
[ 5.568272] usb 1-1.3: new low-speed USB device number 5 using xhci-tegra
[ 5.667595] usb 1-1.3: New USB device found, idVendor=0461, idProduct=4d81
[ 5.667597] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 5.667599] usb 1-1.3: Product: USB Optical Mouse
[ 5.667719] usb 1-1.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 5.670338] input: USB Optical Mouse as /devices/3530000.xhci/usb1/1-1/1-1.3/1-1.3:1.0/0003:0461:4D81.0003/input/input6
[ 5.670438] hid-generic 0003:0461:4D81.0003: input,hidraw2: USB HID v1.11 Mouse [USB Optical Mouse] on usb-3530000.xhci-1.3/input0

I use an Apple keyboard connected to the micro USB port, which branches out to my optical mouse!

The ZED camera is connected to the USB 3.0 port, but its is not seen in dmesg or lsusb

Thanks for this!

Yes, the fan has rotation!

hello varundev,

please hot-plug your usb-camera to check the kernel message,
could you please also share detail kernel message without grep usb keyword.
thanks

Some cameras do not respond completely to USB2 or slower if they are expected to be USB3. Can you verify with “lsusb -t” that the root hub on at least one connector shows as “5000M” instead of “480M” (USB3 is 5000M)?

Not only sudo ./jetson_clock.sh enables the fan but also enables more computational resources :
[url]https://devtalk.nvidia.com/default/topic/999915/jetson-tx2/how-do-you-switch-between-max-q-and-max-p/post/5109507/#5109507[/url]
@varundev: Do you use developers kit tx2 default carriers board?

nvidia@tegra-ubuntu:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 0461:4d81 Primax Electronics, Ltd Dell N889 Optical Mouse
Bus 001 Device 006: ID 05ac:0220 Apple, Inc. Aluminum Keyboard (ANSI)
Bus 001 Device 005: ID 05ac:1006 Apple, Inc. Hub in Aluminum Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

nvidia@tegra-ubuntu:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-tegra/3p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-tegra/4p, 480M
|__ Port 1: Dev 5, If 0, Class=Hub, Driver=hub/3p, 480M
|__ Port 2: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M

I can not see the camera attached! The keyboard and mouse also wont show up if I connect them to the USB3.0 port

Yes, I use the carrier Nvidia carrier board!

That other root HUB (the one without the keyboard) is indeed running USB3. I am curious too about what @JerryChang asked…if you run “dmesg --follow” while plugging in and unplugging the camera is there anything logged?

I first connected the USB mouse and Keyboard on the micro USB port, and then the ZED camera on the USB 3.0 port (twice!).

[ 207.756716] usb 1-1: new high-speed USB device number 2 using xhci-tegra
[ 207.897592] usb 1-1: New USB device found, idVendor=05ac, idProduct=1006
[ 207.904353] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 207.911634] usb 1-1: Product: Keyboard Hub
[ 207.915835] usb 1-1: Manufacturer: Apple, Inc.
[ 207.920385] usb 1-1: SerialNumber: 000000000000
[ 207.925875] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 207.933208] hub 1-1:1.0: USB hub found
[ 207.937070] hub 1-1:1.0: 3 ports detected
[ 207.944998] usb 1-1: USB disconnect, device number 2
[ 207.950695] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 208.348669] usb 1-1: new high-speed USB device number 3 using xhci-tegra
[ 208.489604] usb 1-1: New USB device found, idVendor=05ac, idProduct=1006
[ 208.496401] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 208.503674] usb 1-1: Product: Keyboard Hub
[ 208.507833] usb 1-1: Manufacturer: Apple, Inc.
[ 208.512371] usb 1-1: SerialNumber: 000000000000
[ 208.517990] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 208.525476] hub 1-1:1.0: USB hub found
[ 208.529449] hub 1-1:1.0: 3 ports detected
[ 208.538956] usb 1-1: USB disconnect, device number 3
[ 208.544552] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 208.940721] usb 1-1: new high-speed USB device number 4 using xhci-tegra
[ 209.081636] usb 1-1: New USB device found, idVendor=05ac, idProduct=1006
[ 209.088417] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 209.095707] usb 1-1: Product: Keyboard Hub
[ 209.099867] usb 1-1: Manufacturer: Apple, Inc.
[ 209.104371] usb 1-1: SerialNumber: 000000000000
[ 209.109987] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 209.117335] hub 1-1:1.0: USB hub found
[ 209.121201] hub 1-1:1.0: 3 ports detected
[ 209.183885] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 5
[ 209.190916] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work ignore firmware MBOX_CMD_DEC_SSPI_CLOCK request
[ 209.396711] usb 1-1.2: new low-speed USB device number 5 using xhci-tegra
[ 209.499554] usb 1-1.2: New USB device found, idVendor=05ac, idProduct=0220
[ 209.506477] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 209.513938] usb 1-1.2: Product: Apple Keyboard
[ 209.518481] usb 1-1.2: Manufacturer: Apple, Inc
[ 209.524310] usb 1-1.2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 209.533406] usb 1-1.2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 209.547360] input: Apple, Inc Apple Keyboard as /devices/3530000.xhci/usb1/1-1/1-1.2/1-1.2:1.0/0003:05AC:0220.0001/input/input4
[ 209.614480] apple 0003:05AC:0220.0001: input,hidraw0: USB HID v1.11 Keyboard [Apple, Inc Apple Keyboard] on usb-3530000.xhci-1.2/input0
[ 209.631512] input: Apple, Inc Apple Keyboard as /devices/3530000.xhci/usb1/1-1/1-1.2/1-1.2:1.1/0003:05AC:0220.0002/input/input5
[ 209.697359] apple 0003:05AC:0220.0002: input,hidraw1: USB HID v1.11 Device [Apple, Inc Apple Keyboard] on usb-3530000.xhci-1.2/input1
[ 209.780723] usb 1-1.3: new low-speed USB device number 6 using xhci-tegra
[ 209.880489] usb 1-1.3: New USB device found, idVendor=0461, idProduct=4d81
[ 209.887426] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 209.894886] usb 1-1.3: Product: USB Optical Mouse
[ 209.900355] usb 1-1.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 209.912985] input: USB Optical Mouse as /devices/3530000.xhci/usb1/1-1/1-1.3/1-1.3:1.0/0003:0461:4D81.0003/input/input6
[ 209.924222] hid-generic 0003:0461:4D81.0003: input,hidraw2: USB HID v1.11 Mouse [USB Optical Mouse] on usb-3530000.xhci-1.3/input0
[ 226.025438] usb 1-1: USB disconnect, device number 4
[ 226.030610] usb 1-1.2: USB disconnect, device number 5
[ 226.044914] extcon-gpio-states external-connection:extcon@1: Cable state 2
[ 226.164798] usb 1-1.3: USB disconnect, device number 6
[ 226.187422] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 226.448963] xhci-tegra 3530000.xhci: entering ELPG
[ 226.457202] xhci-tegra 3530000.xhci: entering ELPG done
[ 226.700637] xhci-tegra 3530000.xhci: exiting ELPG
[ 226.706208] xhci-tegra 3530000.xhci: Firmware timestamp: 2016-09-01 11:32:41 UTC, Version: 55.05 release
[ 226.719304] xhci-tegra 3530000.xhci: exiting ELPG done
[ 228.365005] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 5
[ 228.372054] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work ignore firmware MBOX_CMD_DEC_SSPI_CLOCK request
[ 228.856700] xhci-tegra 3530000.xhci: entering ELPG
[ 228.864849] xhci-tegra 3530000.xhci: entering ELPG done
[ 229.016907] extcon-gpio-states external-connection:extcon@1: Cable state 1
[ 229.024089] xhci-tegra 3530000.xhci: exiting ELPG
[ 229.030536] xhci-tegra 3530000.xhci: Firmware timestamp: 2016-09-01 11:32:41 UTC, Version: 55.05 release
[ 229.043560] xhci-tegra 3530000.xhci: exiting ELPG done
[ 229.140967] extcon-gpio-states external-connection:extcon@1: Cable state 0
[ 229.184862] tegra-usb-cd usb_cd: notification status (0x0, 0x1)
[ 229.190820] tegra-usb-cd usb_cd: set current 0ma
[ 229.195536] tegra-xudc-new 3550000.xudc: exiting ELPG
[ 229.202182] tegra-xudc-new 3550000.xudc: exiting ELPG done
[ 229.207710] tegra-xudc-new 3550000.xudc: device mode on
[ 229.213003] tegra-xudc-new 3550000.xudc: device mode off
[ 229.218397] tegra-usb-cd usb_cd: notification status (0x1, 0x0)
[ 229.224349] tegra-usb-cd usb_cd: disconnected USB cable/charger
[ 229.230310] tegra-usb-cd usb_cd: set current 0ma
[ 229.234970] tegra-xudc-new 3550000.xudc: entering ELPG
[ 229.240892] tegra-xudc-new 3550000.xudc: entering ELPG done
[ 229.600910] extcon-gpio-states external-connection:extcon@1: Cable state 0
[ 230.689351] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 5
[ 230.696423] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work ignore firmware MBOX_CMD_DEC_SSPI_CLOCK request
[ 231.048709] xhci-tegra 3530000.xhci: entering ELPG
[ 231.056397] xhci-tegra 3530000.xhci: entering ELPG done
[ 315.627799] tegradc 15210000.nvdisplay: blank - powerdown
[ 315.720199] PD DISP2 index4 DOWN
[ 315.720315] PD DISP1 index3 DOWN
[ 315.720317] PD DISP0 index2 DOWN

Which part of the output was from just the camera plugin/unplug? NOTE: Mouse/keyboard can be affected by Xorg XInput driver…those show up under lsusb, function can be debugged separately. Camera did not even show up, this is why I wanted to see just the camera part of the log.

When I plug in the camera, sometimes I get to see log info on dmesg, but, most of the times, I can not see them.

This time when I plugged it into the micro USB port, I could see the following!

[ 329.036818] usb 1-1: new high-speed USB device number 4 using xhci-tegra
[ 329.170148] usb 1-1: New USB device found, idVendor=2b03, idProduct=f580
[ 329.176918] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 329.184190] usb 1-1: Product: ZED
[ 329.187611] usb 1-1: Manufacturer: Leopard
[ 329.192722] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 329.242224] uvcvideo: Found UVC 1.00 device ZED (2b03:f580)
[ 329.251690] usbcore: registered new interface driver uvcvideo
[ 329.257441] USB Video Class driver (1.1.1)

It’s almost like, I cannot plug in any device on the USB 3.0 port!

Also, this is the camera I would like to use on the TX2: ZED 2 - AI Stereo Camera | Stereolabs

Hi varundev,

Looks your USB 3.0 port got some problem.
Please follow RMA process to resolve the technical issue:

Thanks!

My tx2 fun doesn’t wook too.But when I input “sudo ./jetson_clock.sh” ,it says "command not found ".

I just lost my home partition, so I lost my reference logs and L4T directories…I can’t verify this, but there should be “jetson_clocks.sh” in both “/home/ubuntu” and in “/home/nvidia”. You would have to be in one of those directories for the command to work even if it is there.

Have you flashed the unit? If you have, and skipped the “sudu ./install_binaries.sh” step, then this would be missing (JetPack would do this for you as a front end to flash…manual flash on command line requires the install_binaries.sh step).

About the fan…this rarely runs since it depends on temperature, and the TX2 produces so little heat it only gets hot enough when loaded down. Being loaded down won’t happen from just idle and boot up.

xumiao, it’s a typo, it’s

sudo ./jetson_clocks.sh