How to recover /etc/udev?

Hello everyone,

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.

Thanks!

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”?

Under the /etc/udev are

ata_id iphone-set-info scsi_id
bridge-network-interface ipod-set-info snappy-app-dev
cdrom_id libinput-device-group udev-add-printer
collect libinput-model-quirks udev.conf
hid2hci mtd_probe udev-configure-printer
hwclock-set mtp-probe usb_modeswitch
hwdb.bin pcmcia-check-broken-cis v4l_id
hwdb.d pcmcia-socket-startup
ifupdown-hotplug rules.d

journalctl | grep udev

Okt 14 21:55:58 cvhci2020 systemd[1]: Started udev Coldplug all Devices.
Okt 14 21:55:58 cvhci2020 systemd[1]: Starting udev Kernel Device Manager…
Okt 14 21:55:58 cvhci2020 systemd-udevd[4338]: Network interface NamePolicy= disabled on kernel command line, ignoring.
Okt 14 21:55:58 cvhci2020 systemd[1]: Started udev Kernel Device Manager.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) The server relies on udev to provide the list of input devices.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: If no devices become available, reconfigure udev or disable AutoAddDevices.
Okt 14 21:57:19 cvhci2020 boltd[7811]: udev: initializing udev
Okt 14 21:57:19 cvhci2020 boltd[7811]: udev: enumerating devices

journalctl | grep gdm3

Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) Log file renamed from “/var/log/Xorg.pid-6413.log” to “/var/log/Xorg.0.log”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: X.Org X Server 1.19.6
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Release Date: 2017-12-20
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: X Protocol Version 11, Revision 0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Build Operating System: Linux 4.15.0-109-generic aarch64 Ubuntu
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Current Operating System: Linux cvhci2020 4.9.140-tegra #1 SMP PREEMPT Mon Dec 9 22:52:02 PST 2019 aarch64
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Kernel command line: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 rootfstype=ext4 video=tegrafb no_console_suspend=1 earlycon=tegra_comb_uart,mmio32,0x0c168000 gpt tegra_fbmem=0x800000@0xa069b000 lut_mem=0x2008@0xa0696000 usbcore.old_scheme_first=1 tegraid=19.1.2.0.0 maxcpus=8 boot.slot_suffix= boot.ratchetvalues=0.4.2 vpr_resize sdhci_tegra.en_boot_part_access=1 quiet
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Build Date: 04 September 2020 03:33:38PM
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: xorg-server 2:1.19.6-1ubuntu4.6 (For technical support please see http://www.ubuntu.com/support)
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Current version of pixman: 0.34.0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Before reporting problems, check http://wiki.x.org
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: to make sure that you have the latest version.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Markers: (–) probed, () from config file, (==) default setting,
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (++) from command line, (!!) notice, (II) informational,
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) Log file: “/var/log/Xorg.0.log”, Time: Wed Oct 14 21:56:06 2020
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) Using config file: “/etc/X11/xorg.conf”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) Using system config directory “/usr/share/X11/xorg.conf.d”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) No Layout section. Using the first Screen section.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) No screen section available. Using defaults.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (
) |–>Screen “Default Screen Section” (0)
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: () | |–>Monitor “”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) No device specified for screen “Default Screen Section”.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Using the first device section listed.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (
) | |–>Device “Tegra0”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) No monitor specified for screen “Default Screen Section”.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Using a default monitor configuration.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) Automatically adding devices
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) Automatically enabling devices
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) Automatically adding GPU devices
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) Automatically binding GPU devices
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) Max clients allowed: 256, resource mask: 0x1fffff
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Entry deleted from font path.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Entry deleted from font path.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Entry deleted from font path.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (WW) The directory “/usr/share/fonts/X11/100dpi” does not exist.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Entry deleted from font path.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (WW) The directory “/usr/share/fonts/X11/75dpi” does not exist.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Entry deleted from font path.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) FontPath set to:
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: /usr/share/fonts/X11/misc,
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: /usr/share/fonts/X11/Type1,
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: built-ins
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) ModulePath set to “/usr/lib/xorg/modules”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) The server relies on udev to provide the list of input devices.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: If no devices become available, reconfigure udev or disable AutoAddDevices.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loader magic: 0x558e84a010
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Module ABI versions:
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: X.Org ANSI C Emulation: 0.4
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: X.Org Video Driver: 23.0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: X.Org XInput driver : 24.1
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: X.Org Server Extension : 10.0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (++) using VT number 1
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) no primary bus or device found
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (WW) “dri” will not be loaded unless you’ve specified it to be loaded elsewhere.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) “glx” will be loaded by default.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) LoadModule: “extmod”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Module “extmod” already built-in
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) LoadModule: “glx”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Module glx: vendor=“X.Org Foundation”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: compiled for 1.19.6, module version = 1.0.0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: ABI class: X.Org Server Extension, version 10.0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) LoadModule: “nvidia”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Module nvidia: vendor=“NVIDIA Corporation”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: compiled for 4.0.2, module version = 1.0.0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Module class: X.Org Video Driver
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA dlloader X Driver 32.3.1 Release Build (integ_stage_rel) (buildbrain@mobile-u64-1935) Mon Dec 9 22:52:33 PST 2019
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (WW) Falling back to old probe method for NVIDIA
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loading sub module “fb”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) LoadModule: “fb”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loading /usr/lib/xorg/modules/libfb.so
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Module fb: vendor=“X.Org Foundation”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: compiled for 1.19.6, module version = 1.0.0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: ABI class: X.Org ANSI C Emulation, version 0.4
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loading sub module “wfb”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) LoadModule: “wfb”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loading /usr/lib/xorg/modules/libwfb.so
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Module wfb: vendor=“X.Org Foundation”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: compiled for 1.19.6, module version = 1.0.0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: ABI class: X.Org ANSI C Emulation, version 0.4
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loading sub module “ramdac”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) LoadModule: “ramdac”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Module “ramdac” already built-in
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): Creating default Display subsection in Screen section
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: “Default Screen Section” for depth/fbbpp 24/32
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0): RGB weight 888
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0): Default visual is TrueColor
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (DB) xf86MergeOutputClassOptions unsupported bus type 0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: () NVIDIA(0): Option “AllowEmptyInitialConfiguration” “true”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (
) NVIDIA(0): Enabling 2D acceleration
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loading sub module “glxserver_nvidia”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) LoadModule: “glxserver_nvidia”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Module glxserver_nvidia: vendor=“NVIDIA Corporation”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: compiled for 4.0.2, module version = 1.0.0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: Module class: X.Org Server Extension
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA GLX Module 32.3.1 Release Build (integ_stage_rel) (buildbrain@mobile-u64-1935) Mon Dec 9 22:49:43 PST 2019
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(0): Valid display device(s) on GPU-0 at SoC
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(0): DFP-0
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(0): DFP-1
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(0): DFP-2
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): NVIDIA GPU Xavier (nvgpu) (GV11B) at SoC (GPU-0)
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(0): Memory: 32684868 kBytes
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(0): VideoBIOS:
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(GPU-0): DELL U2417H (DFP-0): connected
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(GPU-0): DELL U2417H (DFP-0): External TMDS
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0):
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0): No modes were requested; the default mode “nvidia-auto-select”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0): will be used as the requested mode.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0):
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): Validated MetaModes:
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): “DFP-0:nvidia-auto-select”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(0): DPI set to (92, 91); computed from “UseEdidDpi” X config
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(0): option
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) Depth 24 pixmap format is 32 bpp
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA: access.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (EE) NVIDIA(0): Failed to allocate NVIDIA Error Handler
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): may not be running or the “AcpidSocketPath” X
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): configuration option may not be set correctly. When the
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): details, please see the “ConnectToAcpid” and
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): “AcpidSocketPath” X configuration options in Appendix B: X
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): Config Options in the README.
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): Setting mode “DFP-0:nvidia-auto-select”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0): Disabling shared memory pixmaps
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0): Backing store enabled
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0): Silken mouse enabled
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (==) NVIDIA(0): DPMS enabled
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Loading sub module “dri2”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) LoadModule: “dri2”
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Module “dri2” already built-in
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): [DRI2] Setup complete
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) RandR disabled
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) SELinux: Disabled on system
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Initializing extension GLX
Okt 14 21:56:06 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) Indirect GLX disabled.
Okt 14 21:56:07 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: /etc/gdm3/Xsession: Beginning session setup…
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: localuser:haoye being added to access control list
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting DISPLAY=:0
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting XAUTHORITY=/run/user/1000/gdm/Xauthority
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: localuser:haoye being added to access control list
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting CLUTTER_IM_MODULE=xim
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LC_MEASUREMENT=de_DE.UTF-8
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LC_PAPER=de_DE.UTF-8
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LC_MONETARY=de_DE.UTF-8
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LANG=en_US.UTF-8
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting DISPLAY=:0
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting GTK_CSD=0
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting USERNAME=haoye
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LC_NAME=de_DE.UTF-8
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting USER=haoye
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting DESKTOP_SESSION=unity
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting QT4_IM_MODULE=xim
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting TEXTDOMAINDIR=/usr/share/locale/
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting PWD=/home/haoye
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting HOME=/home/haoye
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting TEXTDOMAIN=im-config
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/unity:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=unity
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LC_ADDRESS=de_DE.UTF-8
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LC_NUMERIC=de_DE.UTF-8
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting WINDOWPATH=1
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting SHELL=/bin/bash
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting QT_IM_MODULE=ibus
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting XMODIFIERS=@im=ibus
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting IM_CONFIG_PHASE=2
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=Unity:Unity7:ubuntu
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting SHLVL=1
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LC_TELEPHONE=de_DE.UTF-8
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting GDMSESSION=unity
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LOGNAME=haoye
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting XAUTHORITY=/run/user/1000/gdm/Xauthority
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-unity:/etc/xdg
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting PATH=/home/haoye/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LC_IDENTIFICATION=de_DE.UTF-8
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LD_PRELOAD=libgtk3-nocsd.so.0
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting GTK_IM_MODULE=ibus
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting LC_TIME=de_DE.UTF-8
Okt 14 21:56:08 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
Okt 14 21:56:11 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(GPU-0): DELL U2417H (DFP-0): connected
Okt 14 21:56:11 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(GPU-0): DELL U2417H (DFP-0): External TMDS
Okt 14 21:56:12 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (II) NVIDIA(0): Setting mode “HDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}”
Okt 14 21:56:12 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(GPU-0): DELL U2417H (DFP-0): connected
Okt 14 21:56:12 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(GPU-0): DELL U2417H (DFP-0): External TMDS
Okt 14 21:56:14 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(GPU-0): DELL U2417H (DFP-0): connected
Okt 14 21:56:14 cvhci2020 /usr/lib/gdm3/gdm-x-session[6411]: (–) NVIDIA(GPU-0): DELL U2417H (DFP-0): External TMDS

Where are those rules coming from??

In official jetpack release, the only rules under /etc/udev are:

nvidia@xavier8G:/etc/udev$ ls
hwdb.d rules.d udev.conf

nvidia@xavier8G:/etc/udev$ cd rules.d/
nvidia@xavier8G:/etc/udev/rules.d$ ls
90-alsa-asound-tegra.rules 99-nv-ufs-mount.rules
91-xorg-conf-tegra.rules 99-nv-wifibt.rules
92-hdmi-audio-tegra.rules 99-tegra-devices.rules
99-nv-l4t-usb-device-mode.rules 99-tegra-mmc-ra.rules
99-nv-l4t-usb-host-config.rules

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?