键盘停止工作

键盘停止工作

我有一个 Corsair Gaming Strafe MX 键盘,Ubuntu 16.04 无法检测到它。在 grub 之后,当我必须登录时,键盘和鼠标无法使用。使用另一个键盘登录后,几秒钟后我的鼠标又开始工作了。但键盘却不行。我知道它通电了,因为上面的 LED 灯亮了。

我在安装 xpad 以使 xbox one 控制器工作后遇到了这个问题。所以我尝试删除 xpad,但键盘仍然有问题。

我的鼠标以前工作正常,但有时遇到问题,不得不拔下并重新插入键盘。

编辑:

当我将其拔出并再次插入时,我在 dmesg 中收到以下消息。

[ 2992.745185] usb 3-9: new full-speed USB device number 9 using xhci_hcd
[ 2997.953404] usb 3-9: unable to read config index 0 descriptor/all
[ 2997.953407] usb 3-9: can't read configurations, error -110
[ 2998.073332] usb 3-9: new full-speed USB device number 10 using xhci_hcd
[ 3003.329543] usb 3-9: unable to read config index 0 descriptor/all
[ 3003.329546] usb 3-9: can't read configurations, error -110
[ 3003.449481] usb 3-9: new full-speed USB device number 11 using xhci_hcd
[ 3003.470973] usb 3-9: New USB device found, idVendor=1b1c, idProduct=1b15
[ 3003.470975] usb 3-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3003.470975] usb 3-9: Product: Corsair STRAFE Gaming Keyboard
[ 3003.470976] usb 3-9: Manufacturer: Corsair
[ 3003.470977] usb 3-9: SerialNumber: 1400C031AEB8046955A3033DF5001947
[ 3003.472291] input: Corsair Corsair STRAFE Gaming Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.0/0003:1B1C:1B15.0004/input/input20
[ 3003.529745] hid-generic 0003:1B1C:1B15.0004: input,hidraw3: USB HID v1.11 Keyboard [Corsair Corsair STRAFE Gaming Keyboard] on usb-0000:00:14.0-9/input0
[ 3013.569843] hid-generic 0003:1B1C:1B15.0005: usb_submit_urb(ctrl) failed: -1
[ 3013.569855] hid-generic 0003:1B1C:1B15.0005: timeout initializing reports
[ 3013.570087] input: Corsair Corsair STRAFE Gaming Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.1/0003:1B1C:1B15.0005/input/input21
[ 3013.630047] hid-generic 0003:1B1C:1B15.0005: input,hiddev0,hidraw4: USB HID v1.11 Keyboard [Corsair Corsair STRAFE Gaming Keyboard] on usb-0000:00:14.0-9/input1
[ 3013.630093] usbhid 3-9:1.2: couldn't find an input interrupt endpoint
[ 3019.014851] usb 3-9: USB disconnect, device number 11
[ 3020.349971] usb 3-9: new full-speed USB device number 12 using xhci_hcd

答案1

我在使用 Corsair K70 LUX 时也遇到了同样的问题...我通过拔下电源插头并在重启后重新插入来恢复键盘。但是它在睡眠期间保持“连接”状态。

Jan 25 08:47:28 dev-lin kernel: [    1.956077] usb 3-8: new full-speed USB 
device number 5 using xhci_hcd
Jan 25 08:47:33 dev-lin kernel: [    7.392186] usb 3-8: unable to read config index 0 descriptor/all
Jan 25 08:47:33 dev-lin kernel: [    7.392189] usb 3-8: can't read configurations, error -110
Jan 25 08:47:33 dev-lin kernel: [    7.512102] usb 3-8: new full-speed USB device number 6 using xhci_hcd
Jan 25 08:47:38 dev-lin kernel: [   12.768122] usb 3-8: unable to read config index 0 descriptor/all
Jan 25 08:47:38 dev-lin kernel: [   12.768124] usb 3-8: can't read configurations, error -110
Jan 25 08:47:38 dev-lin kernel: [   12.888085] usb 3-8: new full-speed USB device number 7 using xhci_hcd
Jan 25 08:47:49 dev-lin kernel: [   23.264106] usb 3-8: string descriptor 0 read error: -110
Jan 25 08:47:49 dev-lin kernel: [   23.264109] usb 3-8: New USB device found, idVendor=1b1c, idProduct=1b36
Jan 25 08:47:49 dev-lin kernel: [   23.264110] usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 25 08:47:54 dev-lin kernel: [   28.384336] usb 3-8: can't set config #1, error -110
Jan 25 08:47:54 dev-lin kernel: [   28.508072] usb 3-11: new full-speed USB device number 8 using xhci_hcd
Jan 25 08:47:54 dev-lin kernel: [   28.666667] usb 3-11: New USB device found, idVendor=1b1c, idProduct=1c0b
Jan 25 08:47:54 dev-lin kernel: [   28.666668] usb 3-11: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 25 08:47:54 dev-lin kernel: [   28.666669] usb 3-11: Product:                       
Jan 25 08:47:54 dev-lin kernel: [   28.666669] usb 3-11: Manufacturer:                          
Jan 25 08:47:54 dev-lin kernel: [   28.670936] hid-generic 0003:1B1C:1C0B.0007: hiddev4,hidraw6: USB HID v1.11 Device [                                                ] on usb-0000:00:14.0-11/input0
Jan 25 08:48:41 dev-lin kernel: [   75.237734] usb 3-8: USB disconnect, device number 7
Jan 25 08:48:43 dev-lin kernel: [   76.866556] usb 3-8: new full-speed USB device number 9 using xhci_hcd
Jan 25 08:48:43 dev-lin kernel: [   77.008277] usb 3-8: New USB device found, idVendor=1b1c, idProduct=1b36
Jan 25 08:48:43 dev-lin kernel: [   77.008281] usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 25 08:48:43 dev-lin kernel: [   77.008283] usb 3-8: Product: Corsair Gaming K70 LUX Keyboard 
Jan 25 08:48:43 dev-lin kernel: [   77.008285] usb 3-8: Manufacturer: Corsair
Jan 25 08:48:43 dev-lin kernel: [   77.008287] usb 3-8: SerialNumber: 03029040AEB89C4755B969BDF5001944
Jan 25 08:48:43 dev-lin kernel: [   77.010046] input: Corsair Corsair Gaming K70 LUX Keyboard  as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/0003:1B1C:1B36.0008/input/input18
Jan 25 08:48:43 dev-lin kernel: [   77.067149] hid-generic 0003:1B1C:1B36.0008: input,hidraw7: USB HID v1.11 Keyboard [Corsair Corsair Gaming K70 LUX Keyboard ] on usb-0000:00:14.0-8/input0
Jan 25 08:48:43 dev-lin kernel: [   77.069367] input: Corsair Corsair Gaming K70 LUX Keyboard  as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.1/0003:1B1C:1B36.0009/input/input19
Jan 25 08:48:43 dev-lin kernel: [   77.127251] hid-generic 0003:1B1C:1B36.0009: input,hiddev5,hidraw8: USB HID v1.11 Keyboard [Corsair Corsair Gaming K70 LUX Keyboard ] on usb-0000:00:14.0-8/input1
Jan 25 08:48:43 dev-lin kernel: [   77.127367] usbhid 3-8:1.2: couldn't find an input interrupt endpoint

答案2

这是 Corsair 键盘的一个众所周知的问题,目前为止,只有解决方法,但没有真正的解决方案。您可能需要查看ckb-next一些可能有帮助的解决方法和驱动程序:

滚动到“故障排除”部分并查找 Linux。

我通过添加以下内容获得了合理的成功/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbhid.quirks=0x1B1C:0x1B13:0x20000408,0x1B1C:0x1B12:0x20000408,0x1B1C:0x1B20:0x20000408"

添加后,运行:

sudo update-grub

记录更改,然后重新启动。

相关内容