I'm running Ubuntu 22.04. I just got this box (HP Z220 Workstation) back from a student who was using it successfully. However, when I boot, my mouse and keyboard are not working at login.
The machine is on my network (wired), so I can ssh in. I see both devices in lsusb. I am able to boot to GRUB and go into recovery mode, so the keyboard is working. I have tried multiple ports and keyboards and mice.
Several pages have suggested doing updates/upgrades, including
sudo apt-get install xserver-xorg-input-all
and I have tried this, to no avail.
I'm at a loss of what to do next. I have reviewed these questions:
Per RonJohn's questions below, kb works in UEFI, but AFAIK there's no way to tell about the mouse. As I wrote, I've tried multiple kbs and mice, but here's what lsusb says right now:
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0e6a:02c0 Megawin Technology Co., Ltd Defender Gaming Keyboard
Bus 003 Device 002: ID 17ef:602e Lenovo USB Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
OK, figured it out... by uninstalling the desktop entirely, I was at the tty login prompt and I got error "USB Device Not Authorized for usage".
Turns out that usbguard was installed and configured to permanently autoblock any USB device that was hot-plugged after booting. I guess I connected the first KB and mouse after booting, and then I swapped other KB and mice while running.
Anyway, I don't need usbguard, so I uninstalled that and then just reinstalled Gnome.