Hi.
I use a Logitech G512 SE mechanical keyboard on a windows surface book 2.
Kernal:
Linux 6.10.4-arch2-1 #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 16:19:06 +0000 x86_64 GNU/Linux
My keyboard will intermittently turn off and I see the following errors in dmesg. All the keys will become not responsive.
+13.798755] usb 1-1.1.3: new full-speed USB device number 17 using xhci_hcd
[ +0.100269] usb 1-1.1.3: device descriptor read/64, error -32
[ +0.203308] usb 1-1.1.3: device descriptor read/64, error -32
[ +0.203520] usb 1-1.1.3: new full-speed USB device number 18 using xhci_hcd
[ +0.096540] usb 1-1.1.3: device descriptor read/64, error -32
[ +0.206562] usb 1-1.1.3: device descriptor read/64, error -32
[ +0.107460] usb 1-1.1-port3: attempt power cycle
[ +0.642555] usb 1-1.1.3: new full-speed USB device number 19 using xhci_hcd
[ +0.000209] usb 1-1.1.3: Device not responding to setup address.
[ +0.206681] usb 1-1.1.3: Device not responding to setup address.
[ +0.206199] usb 1-1.1.3: device not accepting address 19, error -71
[ +0.000170] usb 1-1.1.3: WARN: invalid context state for evaluate context command.
[ +0.096570] usb 1-1.1.3: new full-speed USB device number 20 using xhci_hcd
[ +0.000224] usb 1-1.1.3: Device not responding to setup address.
[ +0.207040] usb 1-1.1.3: Device not responding to setup address.
[ +0.206447] usb 1-1.1.3: device not accepting address 20, error -71
[ +0.000736] usb 1-1.1.3: WARN: invalid context state for evaluate context command.
[ +0.000097] usb 1-1.1-port3: unable to enumerate USB device
[ +16.974818] usb 1-4.1.3: new full-speed USB device number 21 using xhci_hcd
[ +0.099745] usb 1-4.1.3: device descriptor read/64, error -32
[ +0.205046] usb 1-4.1.3: device descriptor read/64, error -32
After unplugging the device over and over again into different USB ports eventually it connects and I see the following
[ +0.202365] usb 1-4.1.3: new full-speed USB device number 22 using xhci_hcd
[ +0.117333] usb 1-4.1.3: New USB device found, idVendor=046d, idProduct=c342, bcdDevice=50.00
[ +0.000005] usb 1-4.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000002] usb 1-4.1.3: Product: G512 SE
[ +0.000001] usb 1-4.1.3: Manufacturer: Logitech
[ +0.000001] usb 1-4.1.3: SerialNumber: 127F38733638
[ +0.009855] input: Logitech G512 SE as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1.3/1-4.1.3:1.0/0003:046D:C342.0006/input/input33
[ +0.055005] hid-generic 0003:046D:C342.0006: input,hidraw5: USB HID v1.11 Keyboard [Logitech G512 SE] on usb-0000:00:14.0-4.1.3/input0
[ +0.002072] input: Logitech G512 SE Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1.3/1-4.1.3:1.1/0003:046D:C342.0007/input/input34
[ +0.054303] hid-generic 0003:046D:C342.0007: input,hiddev99,hidraw6: USB HID v1.11 Keyboard [Logitech G512 SE] on usb-0000:00:14.0-4.1.3/input1
Then when using it it seems to work for an extended period of time until replaying the first error.
I cant seem to reliably reproduce the disconnect error.
It just happens occasionally when trying to connect the keyboard or when I am typing.
Anyone have any ideas for now I could get it to always work and not have that device descriptor read error?
Am I missing some driver for it to work more consistently?
Are there some more places I can look for more detailed debug logs?
If you have any ideas please let me know