[SOLVED] USB keyboard and mouse not detected
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: USB keyboard and mouse not detected
Are these USB devices very new? What brand name is on the hub? It might be possible that the linux drivers available for them may not yet be the best match.

A woman typing on a laptop with LM20.3 Cinnamon.
Re: USB keyboard and mouse not detected
Before I do that the reminder: The unplugging and re-plugging issue persists with and without USB hubs and on any USB port both 2.0 and 3.0. So...
- Atolla USB 3.0 HUB
- Sabrent HB-UM43 USB HUB
- Wacom Intuos S
- Sharkoon Skiller Gaming Keboard
- Zelotes T-80 Gaming Mouse
Re: USB keyboard and mouse not detected
Okay... quick update... My computer is on for about an hour and the keyboard is still working. I'm cautiously optimistic...
Yesterday I changed the
file to have the line
and then I updated the grub. I already did that several days ago, but back then there were a couple parameters more which were suggested by some Google results. Yesterday I then tried several combinations of these parameters and the ones above seem to work for now. It somewhat makes sense that there is a problem with auto suspension, but, interestingly,
alone didn't work.
Let's see how it looks tomorrow. Waiting for nothing to happen is a bit annoying...
Yesterday I changed the
Code: Select all
/etc/default/grubCode: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1 iommu=soft"
Code: Select all
usbcore.autosuspend=-1Let's see how it looks tomorrow. Waiting for nothing to happen is a bit annoying...
- antikythera
- Level 15

- Posts: 5724
- Joined: Thu Jul 02, 2020 12:52 pm
- Location: Cymru
Re: USB keyboard and mouse not detected
Good luck and kudos for your saint level of patience dealing with this annoyance.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
Re: USB keyboard and mouse not detected
The person in this thread, Solved Lost USB devices after Mint 20 installation ended up reinstalling Mint several times and then finally everything worked properly. The problem might be a little different than yours, but just wanted to make this available if your current fix does not work.

A woman typing on a laptop with LM20.3 Cinnamon.
Re: USB keyboard and mouse not detected
Ah, yes, I saw that thread! But I didn't read the "conclusion" yet. Re-installing the OS often helped me in the past, but I don't want to go there unless it's absolutely necessary.SMG wrote: ↑Thu Aug 27, 2020 4:07 pmThe person in this thread, Solved Lost USB devices after Mint 20 installation ended up reinstalling Mint several times and then finally everything worked properly. The problem might be a little different than yours, but just wanted to make this available if your current fix does not work.
-----------------------------------------------------------------------------------------------------------------------------
So, after a morning of several hours of work and a longish video call, everything works. I conclude that changing the grub file did fix the problem. For now...
Thanks again to everyone who offered solutions!
Re: [SOLVED] USB keyboard and mouse not detected
Just out of curiosity, please type "sudo update-usbids && sudo update-pciids" at the terminal command prompt, to update your system's USB and PCI device identification databases. This should look something like this ...
Then type "lsusb" and post the output of that command, which should look something like this ...
Ta.
Code: Select all
$ sudo update-usbids && sudo update-pciids
[sudo] password for Akura:
--2020-08-28 09:53:28-- http://www.linux-usb.org/usb.ids
Resolving www.linux-usb.org (www.linux-usb.org)... 216.105.38.10
Connecting to www.linux-usb.org (www.linux-usb.org)|216.105.38.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 709065 (692K) [text/plain]
Saving to: ‘/var/lib/usbutils/usb.ids.new’
/var/lib/usbutils/usb.ids.new
100%[==========================================>] 692.45K 998KB/s in 0.7s
2020-08-28 09:53:29 (998 KB/s) - ‘/var/lib/usbutils/usb.ids.new’ saved [709065/709065]
Done.
Downloaded daily snapshot dated 2020-08-19 03:15:02
Then type "lsusb" and post the output of that command, which should look something like this ...
Code: Select all
$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 27c6:538d Shenzhen Goodix Technology Co.,Ltd.
Bus 003 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 003 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 005: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 004: ID 05e3:0626 Genesys Logic, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:0177 Realtek Semiconductor Corp.
Bus 001 Device 008: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
Re: [SOLVED] USB keyboard and mouse not detected
@hglee: To help Akura, if his version of Linux Mint 20 has usbutils installed, but doesn't have update-usbids, is there a manual method to perform the update?hglee wrote: ↑Fri Aug 28, 2020 10:14 amJust out of curiosity, please type "sudo update-usbids && sudo update-pciids" at the terminal command prompt, to update your system's USB and PCI device identification databases. This should look something like this ...Code: Select all
$ sudo update-usbids && sudo update-pciids
For example, would the following work?
Download the file
Code: Select all
curl http://www.linux-usb.org/usb.ids > usb.idsCode: Select all
sudo mv usb.ids /var/lib/usbutils/usb.ids.new
sudo chmod 644 /var/lib/usbutils/usb.ids.new
sudo chown root:root /var/lib/usbutils/usb.ids.newI checked 3 Linux Mint 20 Cinnamon machines, and they don't have update-usbids but they do have usbutils installed. They do have update-pciids.
Edit: Looks to me like it should replace it...
Would probably need to first verify the contents of the new file first to ensure it wasn't clobbered when downloaded, and then run something like...
Code: Select all
cd /var/lib/usbutils
sudo mv usb.ids usb.ids.old
sudo mv usb.ids.new usb.idsFurther research indicates that the script may have been removed on purpose from usbutils. Some people consider it dangerous to modify files outside of user areas, and some people have questions regarding this update.
Re: [SOLVED] USB keyboard and mouse not detected
Welcome wrote: To help Akura, if his version of Linux Mint 20 has usbutils installed, but doesn't have update-usbids, is there a manual method to perform the update?
Yes, these commands should do what update-usbids does ...
Code: Select all
wget -c http://www.linux-usb.org/usb.ids
sudo mv --force ./usb.ids /var/lib/usbutils/
sudo ln -sf /var/lib/usbutils/usb.ids /usr/share/misc/usb.id
For repetitive convenience these commands may be placed into a script named update-usbids and placed in the ~/bin directory after doing chmod +x update-usbids ...
Code: Select all
#!/bin/bash
## name this script as 'update-usbids'
wget -c http://www.linux-usb.org/usb.ids
sudo mv --force ./usb.ids /var/lib/usbutils/
sudo ln -sf /var/lib/usbutils/usb.ids /usr/share/misc/usb.id
exit
Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
Re: [SOLVED] USB keyboard and mouse not detected
@hglee -- Thanks! Perfect!hglee wrote: ↑Fri Aug 28, 2020 7:31 pmFor repetitive convenience these commands may be placed into a script named update-usbids and placed in the ~/bin directory after doing chmod +x update-usbids ...Of course, this action doesn't download any drivers, so it doesn't fix anything -- but it updates the system's USB ID database so that lsusb may offer something more informative than device "ID 046d:c52b".Code: Select all
#!/bin/bash ## name this script as 'update-usbids' wget -c http://www.linux-usb.org/usb.ids sudo mv --force ./usb.ids /var/lib/usbutils/ sudo ln -sf /var/lib/usbutils/usb.ids /usr/share/misc/usb.id exit



