USB0 can't use mouse and key after login

We made a customized Orin NX carrier board, and used USB0 for entering recovery mode to program NVME SSD.
How to let the USB0 can use the mouse and keyboard after programming and login into GUI ?

You would need to modify device tree to fit the hardware design. Is the USB0 designed as a type-A port? Looks like you expect the port to run in host mode only so it seems to be a type-A port.

Yes, it a type-A port.
If I cahnge the xusb_padctl@3520000.ports.usb2-0.mode from otg to host, the flash process wil fail by timeout(flash_1-3_0_20230630-141333_usb0_host.log).
The flash command is ./tools/kernel_flash/ --keep --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml”
–showlogs --network usb0 jetson-orin-nano-devkit internal
flash_1-3_0_20230630-141333_usb0_host.log (7.7 KB)
flash_1-3_0_20230630-151034_USB0_otg.log (42.2 KB)
tegra234-p3768-0000-a0.dtsi (6.9 KB)

I found my question is duplicated with

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