Hi, I have this problem on at least two of our Xavier AGX devkits, thus I extrapolate it happens generally and is not caused by a faulty Jetson. The Jetsons run latest vanilla L4T from JetPack 4.6, no customizations.
Many USB devices I connect do not work in the front USB-C (the flashing port), but they do work in the rear USB-C. The error in dmesg is:
usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
This keeps repeating forever (or until I disconnect the device).
Tested on a 3rd unit (# R32 (release), REVISION: 5.1, GCID: 27362550, BOARD: t186ref, EABI: aarch64, DATE: Wed May 19 18:16:00 UTC 2021). The behavior is exactly the same. As I said, all tested devices behave normally in the rear port, so it’s definitely not an issue with the devices themselves.
You can see from the captures that if things go well, the rear and front ports behave exactly the same. However, if things go bad, even the first status request has a different response than in the successful cases (it’s missing PORT_CONNECTION and PORT_ENABLE flags). The status requests coming from the host are the same. Thus it seems to me it has to be some kind of electrical incompatibility (i.e. the hub is not powered on correctly or so).
I am also a developer kit user and have the same problem. I tried a 1.5-meter USB extension cable. My solution when I run into problems is to plug and unplug the USB port (sometimes only half the length of the port) and the device will work and stay fine. I’m guessing it’s a power supply problem or emc problem.
Hi,
The default setting on Xavier developer kit is tuned with connecting to devices directly. If your usecase requires long cable, it may have issues in signal quality. For this use-case, it may be better to design your own custom board and perform compliance test.
@DaneLLL some time has passed and the problem still persists. I have provided a lot of debug info, tested the issue on multiple units with Jetpack 4.5 or 4.6 and it can be triggered consistently. Could you please help us resolving this issue?
Hi,
We would need to reproduce the issue and do debugging. Please provide steps for reproducing the issue on Xavier developer kit. What is the USB device in your setup? A camera or a pendrive?
And have you tried other cables? The print shows signal quality is not good.
usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
All needed information is provided in the issue description in post 1.
There is no cable when I connect a pen drive. So it can’t be bad. All the devices work ok in rear port, so that rules out any kind of damaged/misbehaving reasons.
Steps to reproduce:
Start Jetson AGX
Run around your office, collect as many USB-C devices as you can
Connect them to the front (flashing) USB-C port.
Some of the devices will probably show the “cannot enable” error and will not work.
Plug these non-working devices into the rear port. They will probably work.
Now I’m confused with my previous observations - maybe I swapped the meaning of front and rear USB-C. In the first post, I say that by front connector I mean the flashing one, but that is no longer in match with what I observe now.
So let’s get this straightened up. The failing port is reported in dmesg as typec-port0. That corresponds to the connector on the side where there is just the USB-C and a micro USB. The other port near the power jack input is reported by dmesg as typec-port1. So let’s use these identifiers.
Now, if you look at the dmesg output I attached to the first post, it clearly says the problem was detected on typec-port0. That’s in contradiction with me telling that it is the front (flashing) port. I’m sorry for the confusion. The problematic port has always been typec-port0.
I retested with Jetpack 4.6.1 /L4T 32.7.1/ and nothing changed. Hub plugged in typec-port0 doesn’t work while it does in typec-port1.
Thank you for testing with the flash disk you found. It is not exactly the same I use - yours is 0781:55a9, mine is 0781:5595. You will probably need to get a few more USB-C devices to discover which ones trigger this bug.
Hi,
We have tried both type-C ports and do not observe the issue. Looks like the issue is specific to the pendrive you have. Would suggest you try other pendrives or devices if possible.
Please, read the first post again. I’ve tried many devices. Some work in both ports, some work only in typec-port1. And the results are exactly replicated on different pieces of AGX Xavier with L4T 32.5-32.7 and on different pieces of the same USB hardware. Please try connecting more devices (USB ethernet cards, other pendrives etc.).