Keyboard and Mouse are not working

I have used Jetpack v3.3 to flash my TX2 since I need to use CUDA 9. However, after installation, the keyboard and mouse are not working. Following is the output of dmesg.

[ 18.774254] xhci-tegra 3530000.xhci: Direct firmware load for tegra18x_xusb_firmware failed with error -2
[ 18.774263] xhci-tegra 3530000.xhci: Falling back to user helper
[ 18.775868] xhci-tegra 3530000.xhci: cannot find firmware…retry after 1 second
[ 19.774223] xhci-tegra 3530000.xhci: Leaving it upto user to load firmware!
[ 19.781214] xhci-tegra 3530000.xhci: Direct firmware load for tegra18x_xusb_firmware failed with error -2
[ 19.781219] xhci-tegra 3530000.xhci: Falling back to user helper
[ 24.174243] tegradc 15210000.nvdisplay: unblank
[ 24.211145] tegradc 15210000.nvdisplay: blank - normal
[ 25.301143] tegradc 15210000.nvdisplay: unblank
[ 27.124512] IPVS: Creating netns size=1424 id=2
[ 325.941161] tegradc 15210000.nvdisplay: unblank
[ 325.941176] tegradc 15210000.nvdisplay: blank - normal
[ 325.951994] tegradc 15210000.nvdisplay: blank - powerdown

I connected with ssh and tried to debug and I get following error message,

sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

How can I fix it?

When you flashed the unit I am guessing you used a partition running a filesystem type other than “ext4”, e.g., “ntfs” or “vfat”. Non-linux filesystem types are incapable of preserving certain permissions (the other operating systems have no concept of Linux style permissions), and the resulting image will have invalid permissions on sudo and other SUID applications.

When you flashed, what filesystem type was used where JetPack/SDKM/driver package was run? Was it ext4? FYI, “df -H -T” will show partition types at various mount points.