我有一个用户,他的键盘偶尔会停止工作,直到系统重新启动。这是完全随机的,每天发生 0 到 7 次。鼠标没有任何问题,只有键盘有问题。
系统详细信息:配备戴尔键盘的戴尔 Vostro 270S(台式机)、Lubuntu 14.04.1 x86 3.13.0-44-generic。
我尝试过的事情:
- 另一个键盘(HP 基本键盘,如 dmesg 中所示)
- 另一个 USB 端口
- apt 升级
我想尝试 PS/2 而不是 USB,但是计算机中没有这样的端口。
这是 dmesg 输出(日志中没有断开连接或其他问题):
[ 1.667034] usb 3-3: new low-speed USB device number 2 using xhci_hcd
[ 1.691751] usb 3-3: New USB device found, idVendor=03f0, idProduct=0324
[ 1.691754] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.691756] usb 3-3: Product: HP Basic USB Keyboard
[ 1.691757] usb 3-3: Manufacturer: Lite-On Technology Corp.
[ 1.691882] usb 3-3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 1.697618] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.704187] usbcore: registered new interface driver usbhid
[ 1.704189] usbhid: USB HID core driver
[ 1.707134] input: Lite-On Technology Corp. HP Basic USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/input/input5
[ 1.707196] hid-generic 0003:03F0:0324.0001: input,hidraw0: USB HID v1.10 Keyboard [Lite-On Technology Corp. HP Basic USB Keyboard] on usb-0000:00:14.0-3/input0
[ 1.771260] usb 2-1.5: new low-speed USB device number 3 using ehci-pci
[ 1.868124] usb 2-1.5: New USB device found, idVendor=046d, idProduct=c077
[ 1.868129] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.868132] usb 2-1.5: Product: USB Optical Mouse
[ 1.868135] usb 2-1.5: Manufacturer: Logitech
[ 1.870258] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/input/input6
[ 1.870329] hid-generic 0003:046D:C077.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.0-1.5/input0
lsusb:
Bus 002 Device 003: ID 046d:c077 Logitech, Inc.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 03f0:0324 Hewlett-Packard SK-2885 keyboard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
当键盘停止工作并且系统重新启动时的系统日志:
Jan 19 09:48:14 machine-04 NetworkManager[768]: <info> (eth0): IP6 addrconf timed out or failed.
Jan 19 09:48:14 machine-04 NetworkManager[768]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Jan 19 09:48:14 machine-04 NetworkManager[768]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Jan 19 09:48:14 machine-04 NetworkManager[768]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Jan 19 09:48:24 machine-04 ntpd_intres[764]: parent died before we finished, exiting
Jan 19 09:57:23 machine-04 dbus[668]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
Jan 19 09:57:23 machine-04 dbus[668]: [system] Successfully activated service 'org.freedesktop.systemd1'
Jan 19 09:57:23 machine-04 rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="663" x-info="http://www.rsyslog.com"] exiting on signal 15.
Jan 19 09:57:49 machine-04 rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="675" x-info="http://www.rsyslog.com"] start
Jan 19 09:57:49 machine-04 rsyslogd: rsyslogd's groupid changed to 104
Jan 19 09:57:49 machine-04 rsyslogd: rsyslogd's userid changed to 101
我没什么主意了。有什么线索吗?
答案1
我认为这是一个硬件/键盘问题,但如果它发生在两个不同的键盘上...我想可以尝试第三个键盘,以防万一出现两个坏键盘的情况。
在发生这种情况之前有任何更新或更改吗?软件/内核更新?回滚到以前的工作版本,或者更新版本可能会有帮助...
尝试使用不同版本(旧版本或新版本)的实时 DVD/USB 可能会提供更多信息,如果使用较新的内核/版本从未发生过这种情况,那么更新应该会有所帮助。
下次拔下并重新插入 USB 键盘,看看它是否重置并再次开始工作,或者提供一些关于为什么不工作的一些有趣的错误消息。
答案2
我也遇到过这个问题,既是电脑的物理键盘,同时板载虚拟键盘也无法输入,太奇怪了。