I accidentally deleted the whole /etc/udev folder and rebooted the Xavier. Now I can’t use the mouse and keyboard and stuck in the login screen? How can I fix this? …
ps: I recovered the deleted /udev folder but still the Xavier doesn’t respond to the keyboard and mouse. I can see new log from dmesg if I connect the usb devices to usb port. I am using the devkit and the Xavier was flashed with Jetpack.
Could you check if the power supply on the keyboard and mouse still there or not?
Yes, the mouse and the keyboard did have the power since my mouse had its led lighted up when I plugged in but still, the Xavier had no response.
Could you show us what are under your /etc/udev now? Could you grep journalctl result with “gdm3” and “udev”?
Where are those rules coming from??
In official jetpack release, the only rules under /etc/udev are:
hwdb.d rules.d udev.conf
nvidia@xavier8G:/etc/udev$ cd rules.d/
You can copy them from the rootfs under Linux_for_Tegra.
The current rules.d folder has already contained the rules you listed. And I copy the rules from the rootfs to replace them. It doesn’t change anything, I still can’t use the mouse and keyboard.
Could you try to reload the udev rule by commands like
udevadm control --reload-rules
Thank you for your advice. But still doesn’t work.
Will you see your mouse or keyboard in lsusb?
How about writing a new udev rule for the device?
I can see my mouse and keyboard in lsusb.
How to write the udev rule for the device？If I have other USB devices, should I write new udev rules for them?