Two strange USB problems

I have a couple of odd problems with USB input, and I can't work out if they are hardware or software issues.

Firstly, my keyboard occasionally ignores all input for a period of a few seconds. This problem is intermittent, but can happen as frequently as every couple of minutes. These faults are not accompanied by any output in dmesg, (i.e. no USB disconnect/reconnect). I have tried using another keyboard, and I had the same problem.

Secondly, my mouse does not work after boot. It is not even visible in lsusb until I unplug it and plug it in again. (EDIT: I was mistaken about that.) After reconnection, it works perfectly. Oddly, the mouse problem only happens on a clean boot - the mouse works fine after hibernation.

I'm running Debian Sid, and both of these problems started up a few weeks ago. I do not know if these problems are connected to each other, and I do not know if they are caused by hardware or software. In both cases, the problem persist when using a different USB port.

Any ideas about what might be going on, or even how to begin debugging this?

Posted Oct 31, 2021, 9:49 AM UTC · edited

34
AfIx1Klwk•

any relevant output from journalctl -f when the keyboard drops out? it might help to check output from dmesg -w when you plug the mouse in to get some kind of identifying string you can use to grep dmesg after a boot when it doesn't work to see if it is being discovered at all.

1
BCMMOP•

Nothing interesting in journalctl.

I actually do see the mouse being detected early in boot, as an hid-generic device and everything. I'm starting to wonder if I was wrong about it not showing in lsusb until reconnection. I'll have to reboot and check that...

2
theheliumkid•

Are you using USB 2.0 devices on a USB 3 port? This can be a problem for some older hardware.

1
BCMMOP•

I've tried both, to make sure I've tried two controllers.

2