我遇到过这种情况,一段时间后键盘停止响应。以前也发生过这种情况,鼠标停止响应,但键盘仍然可用。
重启前 dmesg:
[239536.032716] input: Microsoft Wired Keyboard 400 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:045E:0752.0051/input/input100
[239536.032932] hid-generic 0003:045E:0752.0051: input,hidraw1: USB HID v1.11 Keyboard [Microsoft Wired Keyboard 400] on usb-0000:00:14.0-1.3/input0
重启后键盘就可以正常工作了。插入和拔出键盘后出现:
[ 60.680530] input: Microsoft Wired Keyboard 400 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:045E:0752.0003/input/input20
[ 60.680623] hid-generic 0003:045E:0752.0003: input,hidraw1: USB HID v1.11 Keyboard [Microsoft Wired Keyboard 400] on usb-0000:00:14.0-1.3/input0
这是一台主要通过 SSH 远程访问的计算机,但不仅限于此。可以使用哪些工具来查找根本原因?