After the system is started, the xhci-tegra.ko driver can be successfully loaded manually for the first time. However, after uninstalling and reloading it again, an error occurs:
[Fri Jul 18 11:27:48 2025] tegra-xusb: probe of 3610000.usb failed with error -5
Why can it be loaded successfully for the first time but report an error when reloaded for the second time? What is the reason for this error and how can it be resolved? Thank you.
*** Please note that this reply is generated by LLM automatically ***
The error you’re encountering is likely due to the firmware not being properly unloaded when the xhci-tegra.ko driver is removed, causing issues when trying to reload it. Here’s a breakdown of the possible reasons and a step-by-step solution:
Reasons for the error:
Firmware not properly unloaded: When the xhci-tegra.ko driver is removed, the firmware might not be properly unloaded, causing conflicts when trying to reload the driver.
Falcon state not reset: The Falcon state (0xffffffff) indicates that the controller is not in a ready state, which might be due to the firmware not being properly unloaded or reset.
Error -5: The error code -5 typically indicates a “Input/Output Error” or “I/O Error”, which could be related to the firmware loading issue.
Comparison with other versions:
The issue you’re facing is specific to the xhci-tegra.ko driver on the AGX Orin platform. The phy tegra xusb driver, which is used in other versions (e.g., v6.1, v6.2, and v6.3), might not have the same issue.
Solution:
To resolve the issue, try the following steps:
Unload the firmware: Before removing the xhci-tegra.ko driver, try unloading the firmware using the following command:
has no file /sys/bus/platform/devices/3610000.usb/unload_firmware
corenetic@nvidia-desktop:~$ ls -la /sys/bus/platform/devices/3610000.usb/unload_firmware
ls: cannot access '/sys/bus/platform/devices/3610000.usb/unload_firmware': No such file or directory
corenetic@nvidia-desktop:~$ echo 1 |sudo tee /sys/bus/platform/devices/3610000.usb/unload_firmware
[sudo] password for corenetic:
tee: /sys/bus/platform/devices/3610000.usb/unload_firmware: Permission denied