rootOnNVMe icon indicating copy to clipboard operation
rootOnNVMe copied to clipboard

[BUG]USB mouse and keyboard not functioning after reboot

Open joshhu opened this issue 3 years ago • 2 comments

General USB mouse and keyboard(both not wireless).

I could boot from SD and the mouse/keyboard were functioning normally. After rootOnNVMe, the mouse and keyboard are not functioning at boot screen. I have to unplug the mouse and keyboard and plug them back again to enable them.

joshhu avatar Oct 28 '20 09:10 joshhu

@joshhu

My usb devices (keyboard, mouse, camera, wifi etc) also encountered such problem. The problem probably due to the kernel is detecting usb devices while switch rootfs (the usb devices were detected before switch rootfs and not work afterwards as they are under mmcblk's /dev) What we are experimenting is creating a systemd service that reset the usb bus after launching the setssdroot.service using a bash script to search for a specific USB hub device bus and device id (in our AGX it's 002/001) that connect to the periperals, and reset it with the usbreset.c

It's working for me. Need some effort to make it more robust

smyeungx avatar Feb 11 '21 08:02 smyeungx

@joshhu

My usb devices (keyboard, mouse, camera, wifi etc) also encountered such problem. The problem probably due to the kernel is detecting usb devices while switch rootfs (the usb devices were detected before switch rootfs and not work afterwards as they are under mmcblk's /dev) What we are experimenting is creating a systemd service that reset the usb bus after launching the setssdroot.service using a bash script to search for a specific USB hub device bus and device id (in our AGX it's 002/001) that connect to the periperals, and reset it with the usbreset.c

It's working for me. Need some effort to make it more robust

Hi, I am fresh here, can you please tell me exactly how you solve this problem? Thx

yulan0215 avatar Sep 06 '23 12:09 yulan0215