Hello! I’ve been having this issue for a while and finally decided to do something about it
Keyboard: Corsair K70 Special Edition
Mouse: Corsair M65 Elite
Motherboard: ROG Strix X470-F Gaming
Kernel: 5.4. I was on 5.8 and went to 5.4 to attempt to fix the issue.
The most common case is that my lighting and rebound keys (via ckb-next) aren’t working, and I have to restart ckb-next-daemon
in order to use them, but I am able to use the keyboard and mouse with default keybindings. However, there are times that one or neither will work at all. Unplugging and plugging them back in fixes them (though, there was one time that it didn’t and I had to reboot).
The output of dmesg shows this over and over:
[ 67.705927] usb 5-1: usbfs: process 698 (ckb2 usb) did not claim interface 1 before use
[ 67.931670] usb 5-1: reset full-speed USB device number 2 using xhci_hcd
[ 68.097509] input: Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard as /devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1:1.0/0003:1B1C:1B6B.00A0/input/input417
[ 68.152107] input: Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard Consumer Control as /devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1:1.0/0003:1B1C:1B6B.00A0/input/input418
[ 68.152155] input: Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard as /devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1:1.0/0003:1B1C:1B6B.00A0/input/input419
[ 68.152199] input: Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard as /devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1:1.0/0003:1B1C:1B6B.00A0/input/input420
[ 68.152246] input: Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard Mouse as /devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1:1.0/0003:1B1C:1B6B.00A0/input/input421
[ 68.152367] hid-generic 0003:1B1C:1B6B.00A0: input,hiddev0,hidraw0: USB HID v1.11 Keyboard [Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard] on usb-0000:0d:00.3-1/input0
[ 68.159885] hid-generic 0003:1B1C:1B6B.00A1: hiddev1,hidraw1: USB HID v1.11 Device [Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard] on usb-0000:0d:00.3-1/input1
Forgive me, because I don’t have experience reading dmesg. So that repeats for a long while until it gets to this:
[ 73.094667] usb 3-1: new full-speed USB device number 4 using xhci_hcd
[ 73.219818] usb 5-1: usbfs: process 1138 (ckb4 usb) did not claim interface 1 before use
[ 73.484461] usb 3-1: New USB device found, idVendor=1b1c, idProduct=1b5a, bcdDevice= 3.24
[ 73.484464] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 73.484466] usb 3-1: Product: CORSAIR M65 RGB ELITE Gaming Mouse
[ 73.484467] usb 3-1: Manufacturer: Corsair
[ 73.484468] usb 3-1: SerialNumber: 0802B027AF2989235A8D1E41F5001BC7
[ 73.499939] input: Corsair CORSAIR M65 RGB ELITE Gaming Mouse as /devices/pci0000:00/0000:00:01.3/0000:01:00.2/0000:02:04.0/0000:06:00.0/usb3/3-1/3-1:1.0/0003:1B1C:1B5A.00AE/input/input452
[ 73.500109] input: Corsair CORSAIR M65 RGB ELITE Gaming Mouse Consumer Control as /devices/pci0000:00/0000:00:01.3/0000:01:00.2/0000:02:04.0/0000:06:00.0/usb3/3-1/3-1:1.0/0003:1B1C:1B5A.00AE/input/input453
[ 73.554671] input: Corsair CORSAIR M65 RGB ELITE Gaming Mouse as /devices/pci0000:00/0000:00:01.3/0000:01:00.2/0000:02:04.0/0000:06:00.0/usb3/3-1/3-1:1.0/0003:1B1C:1B5A.00AE/input/input454
[ 73.554736] input: Corsair CORSAIR M65 RGB ELITE Gaming Mouse as /devices/pci0000:00/0000:00:01.3/0000:01:00.2/0000:02:04.0/0000:06:00.0/usb3/3-1/3-1:1.0/0003:1B1C:1B5A.00AE/input/input455
[ 73.554794] input: Corsair CORSAIR M65 RGB ELITE Gaming Mouse Keyboard as /devices/pci0000:00/0000:00:01.3/0000:01:00.2/0000:02:04.0/0000:06:00.0/usb3/3-1/3-1:1.0/0003:1B1C:1B5A.00AE/input/input456
[ 73.554880] hid-generic 0003:1B1C:1B5A.00AE: input,hiddev0,hidraw0: USB HID v1.11 Mouse [Corsair CORSAIR M65 RGB ELITE Gaming Mouse] on usb-0000:06:00.0-1/input0
[ 73.562805] hid-generic 0003:1B1C:1B5A.00AF: hiddev1,hidraw1: USB HID v1.11 Device [Corsair CORSAIR M65 RGB ELITE Gaming Mouse] on usb-0000:06:00.0-1/input1
[ 74.082209] usb 5-1: USB disconnect, device number 2
[ 75.244316] input: ckb1: CORSAIR M65 RGB ELITE Gaming Mouse vKB as /devices/virtual/input/input457
[ 75.244596] input: ckb1: CORSAIR M65 RGB ELITE Gaming Mouse vM as /devices/virtual/input/input458
[ 78.403933] usb 5-1: new full-speed USB device number 4 using xhci_hcd
[ 78.570623] usb 5-1: New USB device found, idVendor=1b1c, idProduct=1b6b, bcdDevice= 3.24
[ 78.570626] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 78.570628] usb 5-1: Product: CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard
[ 78.570629] usb 5-1: Manufacturer: Corsair
[ 78.570631] usb 5-1: SerialNumber: 18027006AF4984E15C670573F5001BC2
[ 78.595416] input: Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard as /devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1:1.0/0003:1B1C:1B6B.00B0/input/input459
[ 78.650448] input: Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard Consumer Control as /devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1:1.0/0003:1B1C:1B6B.00B0/input/input460
[ 78.650506] input: Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard as /devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1:1.0/0003:1B1C:1B6B.00B0/input/input461
[ 78.650557] input: Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard as /devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1:1.0/0003:1B1C:1B6B.00B0/input/input462
[ 78.650612] input: Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard Mouse as /devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1:1.0/0003:1B1C:1B6B.00B0/input/input463
[ 78.650750] hid-generic 0003:1B1C:1B6B.00B0: input,hiddev0,hidraw0: USB HID v1.11 Keyboard [Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard] on usb-0000:0d:00.3-1/input0
[ 78.659004] hid-generic 0003:1B1C:1B6B.00B1: hiddev1,hidraw1: USB HID v1.11 Device [Corsair CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard] on usb-0000:0d:00.3-1/input1
[ 79.736732] input: ckb2: CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard vKB as /devices/virtual/input/input464
[ 79.736885] input: ckb2: CORSAIR K70 RGB MK.2 SE Mechanical Gaming Keyboard vM as /devices/virtual/input/input465
[ 146.244635] usb 5-4: reset high-speed USB device number 3 using xhci_hcd
[ 315.467776] audit: type=1100 audit(1605279097.688:74): pid=3973 uid=1000 auid=1000 ses=1 subj==unconfined msg='op=PAM:authentication grantors=pam_faillock,pam_permit,pam_faillock acct="myah" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 315.468472] audit: type=1101 audit(1605279097.692:75): pid=3973 uid=1000 auid=1000 ses=1 subj==unconfined msg='op=PAM:accounting grantors=pam_permit,pam_time acct="myah" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 315.468673] audit: type=1110 audit(1605279097.692:76): pid=3973 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 315.471462] audit: type=1105 audit(1605279097.692:77): pid=3973 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
As today was a day where I couldn’t use my keyboard or mouse at all, I’m assuming this is where I unplugged them and plugged them back in.
If there’s any more information I can provide, I’m happy to do so