Every day at some point, USB will randomly stop working in this way: 1. The mouse sensor (Logitech G600) stops working. Buttons on the side continue working. 2. If I try usbreset, the buttons on the side also stop working and the lights on it go out. After some time without any terminal output, it says "Error in ioctl: No such device". 3. If I disconnect the mouse, and reconnect it at a different port or hub, it stops working completely, even the side buttons. This is true of the keyboard as well: it continues working until I try moving it to a different port. 4. My Bluetooth USB adapter (unrelated to the mouse) has stopped working at some point too. 5. This only is resolved by a reboot. This occurs in both Arch Linux and Ubuntu 20.04 LTS. This occurred with two different power supplies, one old and one brand new. My motherboard is an ASUS ROG STRIX B450-F. https://rog.asus.com/motherboards/rog-strix/rog-strix-b450-f-gaming-model/ Please let me know what other information would be useful.
More info: * This doesn't occur in Windows * Many instances of "failed to suspend device, error -110" appear in dmesg * The mouse still shows up in lsusb until I try usbreset or I change its USB port
Also, after a while of going keyboard-only after my mouse died, my keyboard stopped working as well, which forced me to log out and shut down.
I've installed linux-lts (5.10.60), and while running that the issue still occurs. I will contact ASUS.
This also happens with the G600 unplugged, and a Bluetooth mouse plugged in with a Bluetooth USB adapter in a front port.
Could you give us the output of lsusb -v and the kernel logs related to usb around when the USB ports stop working (with sudo cat /var/log/kern.log | grep usb for example)?
I ended up swapping in a new motherboard from AORUS. If ASUS ends up sending it back to me and it still has the issue, I will get this data.
I replaced my Ryzen 7 1700X and B450 motherboard with a Ryzen 5 5600G and a B550 mobo. No issues so far. I think my 1st gen Ryzen might have had a compatibility issue with recent Linux kernels.