How do I connect my USB 3 device to a USB 3 "port"

I have a USB 3.1 Camera and when I connect it the my Jetson Nano the connection always seems to be USB 2.0.
I’ve tried every port and it always ends up being USB 2.0.
Output of lusb -t:

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
    |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 18, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 2: Dev 18, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 2: Dev 18, If 2, Class=Human Interface Device, Driver=usbhid, 480M
        |__ Port 3: Dev 13, If 0, Class=Vendor Specific Class, Driver=r8188eu, 480M

The “Class=Video” is my camera device. It is currently connected to Port 2 but all 4 ports put it in the Bus0.1. How can I take advantage of the full USB 3 speeds?

If you use a USB 3 cable and go to a USB 3 port, then it will automatically pick USB 3 mode if and only if the signal quality is sufficient. If you connect to a port capable of USB 3, and if the device is USB 3, then it routes to a USB 3 controller (the root_hub). If the device is not USB 3, or if signal quality is insufficient, but you are on the USB 3 port, then the device will migrate to a legacy (USB 2) controller.

It looks like there is a USB 3 HUB connected to a USB 3 port. Can you plug your camera into that?

Btw, if a device is powered by the host, and if in USB 3 the device is drawing too much power, then it is possible it might revert to USB 2 mode even if the signal quality is ok (maybe). It is suggested to try with an externally powered USB 3 HUB when possible (external power will never draw from the host, plus it offers a higher total power rating).

There are 4 ports in total, 1 of them is used by the camera, 1 of them has a WiFi dongle and the other 2 are not used. I don’t know what hub it’s talking about. Also is there a way to check if the cable is usb 3.0 capable? It’s a usb-c cable so I image it is usb 3.0 capable but that’s just an assumption.

About the power consumption, according to the datasheet the camera uses 2W Max and 0.86W minimum. Do you have an idea of the power draw necessary for it to revert to usb 2? I do not have an externally powered usb hub but if nothing else works I’ll buy one and test if that could be it.

Thanks for the quick response

Then the HUB is internal (although not a root_hub). You could still try using an external USB 3 HUB (preferably powered). In a case of signal quality issues this can act as an “adapter” and sometimes solve signal quality issues.

All USB-C are USB 3 capable. For an older type-A cable you can see 4 contacts if it is USB 2 and older/slower, but there are an additional 5 contacts (harder to see) in addition to the original 4 contacts if it is a USB 3 capable type-A/type-B.

That much power draw should not revert to USB 2. The power draw though is cumulative to all devices to the point they merge. I doubt this is an issue, but I still recommend having an externally powered USB 3 HUB to test before you go on. Most powered USB 3 HUBS have the ability to act as an ordinary unpowered HUB when the power is not supplied.

Also, if you look at the “dmesg --follow” log, what do you see added to the log when you plug in the camera?

Good to know the cable and power are likely not the issue. When I use dmesg --followthis is the output:
(Disconnected the camera and reconnected the camera)

[ 6212.499233] usb 1-2.1: USB disconnect, device number 19
[ 6224.241361] usb 1-2.1: new high-speed USB device number 20 using tegra-xusb
[ 6224.266945] usb 1-2.1: New USB device found, idVendor=2560, idProduct=c128
[ 6224.266951] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6224.266955] usb 1-2.1: Product: See3CAM_24CUG
[ 6224.266958] usb 1-2.1: Manufacturer: e-con systems
[ 6224.266961] usb 1-2.1: SerialNumber: 1D2E920B
[ 6224.268240] uvcvideo: Found UVC 1.00 device See3CAM_24CUG (2560:c128)
[ 6224.295074] uvcvideo 1-2.1:1.0: Entity type for entity Extension 3 was not initialized!
[ 6224.303109] uvcvideo 1-2.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 6224.311324] uvcvideo 1-2.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 6224.319369] input: See3CAM_24CUG as /devices/70090000.xusb/usb1/1-2/1-2.1/1-2.1:1.0/input/input13
[ 6224.320893] hid-generic 0003:2560:C128.000C: hidraw0: USB HID v1.11 Device [e-con systems See3CAM_24CUG] on usb-70090000.xusb-2.1/input2
[ 6226.969316] usb 1-2.1: usb_suspend_both: status 0

I will buy a usb 3 externally powered hub in one or two hours and test if that helps

I am not completely sure about the USB log messages. I doubt the “Entity type” is a problem, but someone knowing more would have to comment. My thought is that it is testing for some extension and that extension is not present, but is optional. It might still be an issue if this is required for USB 3 mode (I’m very familiar with USB 2, but not positive about what is required to reach USB 3 modes).

Although “usb_suspend_both” is probably not an error (a negative number would be an error at attempting suspend mode), I’m also not positive if this is saying that it is going into suspend mode. Being in suspend mode in itself would not change a USB device such that it reverts to USB 2 mode. A suspended device might not respond, but it would still show as USB 3 if it was USB 3. So this is unlikely to matter.

Anyone know if this is related to not going into USB 3 mode?

[ 6224.295074] uvcvideo 1-2.1:1.0: Entity type for entity Extension 3 was not initialized!
[ 6224.303109] uvcvideo 1-2.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 6224.311324] uvcvideo 1-2.1:1.0: Entity type for entity Camera 1 was not initialized!

I’ve bought a specific usb-c → usb-a cable that said usb 3.2 capable. And since then it does go into usb 3, so that was the solution. Thank you for your resplies

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.