Bug 214137 - USB randomly stops working, starting with mouse
Summary: USB randomly stops working, starting with mouse
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Default virtual assignee for Drivers/USB
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-22 21:27 UTC by yaomtc
Modified: 2021-09-11 23:52 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.13.12
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description yaomtc 2021-08-22 21:27:10 UTC
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.
Comment 1 yaomtc 2021-08-22 21:44:28 UTC
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
Comment 2 yaomtc 2021-08-25 00:58:06 UTC
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.
Comment 3 yaomtc 2021-08-25 22:53:34 UTC
I've installed linux-lts (5.10.60), and while running that the issue still occurs. I will contact ASUS.
Comment 4 yaomtc 2021-08-27 22:54:31 UTC
This also happens with the G600 unplugged, and a Bluetooth mouse plugged in with a Bluetooth USB adapter in a front port.
Comment 5 Simeon Duwel 2021-09-07 20:37:44 UTC
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)?
Comment 6 yaomtc 2021-09-08 18:01:57 UTC
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.
Comment 7 yaomtc 2021-09-11 23:52:06 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.