However, neither the keyboard or mouse were functioning.
I unplugged the wireless dongles for both of them and
plugged them back in, and now the mouse works, but the
keyboard still doesn't work.
I've been seeing stuff like this in the syslog from recent kernels:
Sep 30 08:59:34 dorotea kernel: usb 1-3: new full-speed USB device
number 3 using xhci_hcd
Sep 30 08:59:34 dorotea kernel: usb 1-3: New USB device found,
idVendor=046d, idProduct=c52b, bcdDevice=12.09
Sep 30 08:59:34 dorotea kernel: usb 1-3: New USB device strings:
Mfr=1, Product=2, SerialNumber=0
Sep 30 08:59:34 dorotea kernel: usb 1-3: Product: USB Receiver
Sep 30 08:59:34 dorotea kernel: usb 1-3: Manufacturer: Logitech
Sep 30 08:59:34 dorotea kernel: input: Logitech USB Receiver as
/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:046D:C52B.0001/input/input18
Sep 30 08:59:34 dorotea kernel: hid-generic 0003:046D:C52B.0001:
input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on
usb-0000:00:14.0-3/input0
Sep 30 08:59:34 dorotea kernel: input: Logitech USB Receiver Mouse as
/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:046D:C52B.0002/input/input19
Sep 30 08:59:34 dorotea kernel: input: Logitech USB Receiver Consumer
Control as
/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:046D:C52B.0002/input/input20
Sep 30 08:59:34 dorotea kernel: input: Logitech USB Receiver System
Control as
/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:046D:C52B.0002/input/input21
Sep 30 08:59:34 dorotea kernel: hid-generic 0003:046D:C52B.0002:
input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on
usb-0000:00:14.0-3/input1
Sep 30 08:59:34 dorotea kernel: hid-generic 0003:046D:C52B.0003:
hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on
usb-0000:00:14.0-3/input2
Sep 30 08:59:34 dorotea kernel: usb 1-3: USB disconnect, device number 3
Sep 30 08:59:34 dorotea mtp-probe[1544]: checking bus 1, device 3:
"/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3"
Sep 30 08:59:39 dorotea kernel: usb 1-3: new full-speed USB device
number 4 using xhci_hcd
Sep 30 08:59:39 dorotea kernel: usb 1-3: New USB device found,
idVendor=046d, idProduct=c52b, bcdDevice=12.09
Sep 30 08:59:39 dorotea kernel: usb 1-3: New USB device strings:
Mfr=1, Product=2, SerialNumber=0
Sep 30 08:59:39 dorotea kernel: usb 1-3: Product: USB Receiver
Sep 30 08:59:39 dorotea kernel: usb 1-3: Manufacturer: Logitech
The device is recognized, then something called mtp-probe comes along
and blows it out of the water. The cycle repeats until either
mtp-probe gives up and lets the device work, or the device itself
gives up:
Sep 30 09:00:10 dorotea kernel: usb 1-3: Device not responding to setup address.
A workaround (found on the interwebs) is to add a udev rule in, say,
/etc/udev/rules.d/99-mtp-no-probe.rules:
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b",
ENV{MTP_NO_PROBE}="1"
Now there are messages like this:
Oct 2 10:18:09 dorotea mtp-probe[973]: checking bus 1, device 3:
"/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
Oct 2 10:18:09 dorotea mtp-probe[973]: bus: 1, device: 3 was not an MTP device
But so far nothing bad has happened.