3

Symptoms: After upgrading a dual-boot system from 19.10 to 20.04LTS, mouse and keyboard don't work. No input from either device is recognised, so switching to a tty is not possible. Pressing CTRL-ALT-DEL causes instant reboot without the normal shutdown dialog. There had been no apparent problems prior to the upgrade.

Mouse and keyboard both work when booted into recovery at the GRUB menu (select Ubuntu 20.04.xx recovery -> select resume, then yes). Disabling autologin also results in correct mouse and keyboard operation. In both cases, CTRL-ALT-DEL causes normal shutdown dialog.

Hardware: Gigabyte Motherboard with AMD Ryzen 5 3600, 16GB RAM, Gigabyte RTX2060 graphics, Logitech M510 and K350 with a unifying receiver, and a gigabit network card.

Things I have tried so far:

  1. Re-install Ubuntu 20.04.1 from a USB disc image, but retaining home directory -> no difference, still broken
  2. Disable autologin -> mouse and keyboard work, but I'm a single user and I don't need nor want the login screen
  3. Install KDE -> keyboard and mouse work normally, even with autologin enabled
  4. Install LightDM -> same as for KDE
  5. Switch back to GNOME, reinstall NVIDIA drivers -> no difference, still broken
  6. Upgrade NVIDIA drivers to latest version from repo -> no difference, still broken
  7. Upgrade NVIDIA drivers from NVIDIA website -> no difference, still broken
  8. Revert to open source NVIDIA drivers -> Keyboard and mouse work, but opening GNOME-settings causes instant logout. System cannot be logged in without reboot.
  9. Adding NOMODESET to GRUB -> no difference, still broken.

I am basically out of options. I tried posting the issue as a bug on the GNOME bug tracker website, the response was an arrogant "not a GNOME issue", which it clearly is because GNOME is the only DM that has this problem.

Has anyone figured out what's causing this? I know I'm not the only one to run into it.

3 Answers 3

2

For me, the following package solved the problem:

sudo apt-get install xserver-xorg-input-all
3
  • Not really an answer as the OP appears to want to keep using Gnome.
    – David
    Apr 25, 2023 at 11:16
  • As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Apr 25, 2023 at 11:16
  • I found xserver-xorg-input-all was already installed. So I reinstalled it. That fixed my mouse not working after upgrading Ubuntu.
    – st2000
    Aug 6, 2023 at 19:06
0

Have a similar issue using gdm. Try to temporarily boot GRUB with no X-Server/graphics running: press 'E' during boot choice and add 3 at the end of line linux /boot/vmlinux etc. after ro quiet splash

You should now be able to login using the console, if nothing shows up on screen press Ctrl+Alt+F1 and login.

Next, stop gdm: sudo systemctl stop gdm

You should get some output in the terminal. Next restart gdm: sudo systemctl start gdm

This should now bring up your desktop with mouse/keyboard working, worked for me.

3
  • There are a couple of simpler workarounds: 1. Boot into recovery mode from the GRUB menu and select "resume" 2. Disable autologin in Settings -> Users.
    – Tony Kerr
    Aug 15, 2020 at 0:45
  • This works indeed, thanks for the tip! Much simpler. So the problem is autologin? Is that a problem many people are experiencing? Any ideas what the root cause is? Aug 21, 2020 at 8:54
  • Not a clue. I've done some shell scripting and some microcontroller software in assembler and C, but a large system like this is beyond me. As I said, I think the problem is with GNOME, because the other desktop managers I have tried all work perfectly. The GNOME people aren't interested, however.
    – Tony Kerr
    Aug 25, 2020 at 13:09
0

I had the same problem, that comment helped me to fix it.:

@tony-kerr Upgrade to 20.04, mouse and keyboard don't work - any idea how I fix this?

There are a couple of simpler workarounds: 1. Boot into recovery mode from the GRUB menu and select "resume" 2. Disable autologin in Settings -> Users.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .