Powering on with a USB flash drive connected results in Host mode; unplugging it switches to None mode, and connecting an ADB device switches to Device mode. Although the mode status appears normal in all cases, the USB functionality is actually abnormal.
Is there any new dmesg log showing up when the error happened after you connect another device in?
So the USB flash drive actually does not work anymore after that “plug in USB flash drive” but you don’t see any error log from dmgesg?
yes,you are right
And just to confirm,
This “plug in USB SSD” step could make the role into host from none?
Yes, the role can be changed,but usb function is abnormal
Do you have the USB analyzer to dump the bus trace?
Not available at present.
Then there is no precise way to tell what goes wrong here. Need to get the bus trace first.
But as I stated at the outset, everything works normally with JP5.1.5.
That does not conflict with the request of dumping a usb bus trace.
I am not telling that this is your hardware problem. USB bus trace is just for locating where goes wrong.
Is it okay to use a USB analyzer for packet capture?
You could capture that first. Make sure you reproduce the issue within that capture.
Is the device got removed after your unplug ?
You could check lsusb -vt after you unplug the SSD.
And please dump register “0x3610430” before and after you do the SSD plug in/out.
Yes ,it got removed
but it is useless to write register
I mean what is the value got read from the register here..
root@injxns03-orin:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 10000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
the usb-storage disappeared when pull out
root@injxns03-orin:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 10000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 480M
|__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
OK. This is still the case that needs USB trace.


