In the middle of otherwise normal use of the framework laptop with Ubuntu 22.04, the external USB-plugged mouse stopped working. Plugging the mouse into another computer showed it works just fine. The light of the mouse is off when plugged into the framework laptop.
Just what could have happened for the USB port to die like that?
Then I went to see the dmesg, and oops:
$ dmesg dmesg: read kernel buffer failed: Operation not permitted
For some reason, one needs sudo rights. Trying again, now we see:
[ 223.535740] usb 3-4: USB disconnect, device number 6 [ 223.883543] usb 3-4: new full-speed USB device number 7 using xhci_hcd [ 224.015652] usb 3-4: device descriptor read/64, error -71 [ 224.588922] usb 3-4: New USB device found, idVendor=0738, idProduct=1705, bcdDevice= 2.22 [ 224.588932] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 224.588935] usb 3-4: Product: Mad Catz R.A.T.5 Mouse [ 224.588938] usb 3-4: Manufacturer: Mad Catz [ 224.593279] input: Mad Catz Mad Catz R.A.T.5 Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/0003:0738:1705.0007/input/input29 [ 224.593893] saitek 0003:0738:1705.0007: input,hidraw1: USB HID v1.11 Mouse [Mad Catz Mad Catz R.A.T.5 Mouse] on usb-0000:00:14.0-4/input0 [ 918.081423] usb usb3-port4: over-current condition [ 918.081439] usb 3-4: USB disconnect, device number 7 [ 918.493418] usb usb3-port6: over-current condition
In other words: over-current condition. How can this happen? Is it because the laptop is charging via the adjacent USB-C port? Unplugging the charger didn’t solve the issue.