We use Jetson TX2 NX platform，USB 2.0 port 2 is connected to GL852G hub, with 4 USB 2.0 channels: Bluetooth, 4G module, and 2 * USB 2.0 interface. After power on, the USB2.0 device is in normal use, but after a few minutes, the USB2.0 device will not work. The log printed by the kernel is as follows. Please help troubleshoot it. Thank you!
No idea. Maybe check wit the hub vendor first.
I probably can’t solve this, as there are a lot of reasons this might happen. Unless you have a logic analyzer you probably can’t directly solve it (it might be a signal quality issue, it might be a power issue, it might be a software issue…it’s really difficult to find out without actually analyzing the traffic; in this case maybe the traffic to both device and HUB). One thing you might be able to do is to try one device at a time (it might be the mix of devices at fault). Btw, when it is working you might get a tree listing of the devices, and log it so you can simply upload the listing:
lsusb -t 2>&1 | tee log_tree.txt
Is it correct that this HUB has its own Bluetooth and 4G module? Or are those simply plugged in via port(s) on the HUB? If it has its own Bluetooth and/or 4G module, you could try just the minimum and see if that fails. If you can isolate any condition where this does not occur, then it tends to mean the HUB is not at fault. Even a cable can be an issue though, so if no device is at fault it might still fail with nothing but a HUB.
Using different ports also can help. When you see the tree view you will be able to identify a “root HUB”. This is the actual controller. Different ports can share one root HUB, and the tree view points this out. Some ports on a Jetson or PC are going to simply be different ports of a single root HUB. The goal would be to test the failure of individual devices; then to progress to failure on different root HUBs. If you see two root HUBs you are in luck. If not, then you are limited to trying different ports, but it might be better than nothing.
Thank you for your guidance. We are still investigating and will output any results. Thank you!