我遇到的问题有点类似于此处描述的问题:鼠标和键盘冻结 Ubuntu 20.04
我的机器:
Thinkpad T14
Processor: AMD Ryzen 7 PRO 4750U with Radeon Graphics
Ubuntu 20.10
Kernel: 5.9.3-050903-generic
Bios:
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
我的外接键盘每天都会卡死几次,每次卡住几秒钟。我尝试按照上述问题中的提示来调试问题,并在日志中看到dmesg
键盘实际上断开连接并重新连接,有时会连续发生几次:
[23005.886648] usb 6-2.2: USB disconnect, device number 14
[23006.367659] usb 6-2.2: new full-speed USB device number 15 using xhci_hcd
[23006.489772] usb 6-2.2: New USB device found, idVendor=17ef, idProduct=6047, bcdDevice= 3.30
[23006.489775] usb 6-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[23006.489777] usb 6-2.2: Product: ThinkPad Compact USB Keyboard with TrackPoint
[23006.489778] usb 6-2.2: Manufacturer: Lenovo
[23006.564154] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb6/6-2/6-2.2/6-2.2:1.0/0003:17EF:6047.0014/input/input40
[23006.624059] lenovo 0003:17EF:6047.0014: input,hidraw1: USB HID v1.00 Keyboard [Lenovo ThinkPad Compact USB Keyboard with TrackPoint] on usb-0000:07:00.4-2.2/input0
[23006.631327] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb6/6-2/6-2.2/6-2.2:1.1/0003:17EF:6047.0015/input/input41
[23006.688075] lenovo 0003:17EF:6047.0015: input,hiddev1,hidraw2: USB HID v1.00 Mouse [Lenovo ThinkPad Compact USB Keyboard with TrackPoint] on usb-0000:07:00.4-2.2/input1
[23006.910603] usb 6-2.2: USB disconnect, device number 15
完整dmesg
输出:https://paste.ubuntu.com/p/G6cVfh9Htg/
当这种情况发生时,我没有注意到任何规律——有时是在键盘几分钟不活动之后,有时是在写句子的过程中。
有什么办法可以解决这个问题吗?谢谢。