FS#80133 - [linux] 6.6 breaks Logitech G915 wireless keyboard
Attached to Project:
Arch Linux
Opened by Marcelo Marzola Bossoni (mmbossoni) - Wednesday, 01 November 2023, 15:15 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:13 GMT
Opened by Marcelo Marzola Bossoni (mmbossoni) - Wednesday, 01 November 2023, 15:15 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:13 GMT
|
Details
Description:
After upgrading linux-zen from 6.5 to 6.6 from testing, my keyboard (G915) stopped working. It register only a few keys and not the proper ones, like it is all messed up Additional info: Steps to reproduce: Use a fully up to date G915 keyboard/dongle only difference I could see in journalctl is ``` nov 01 11:33:06 URSO kernel: logitech-hidpp-device 0003:046D:407C.0007: hidpp_root_get_protocol_version: received protocol error 0x08 ``` |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:13 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/linux/issues/4
Saturday, 25 November 2023, 20:13 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/linux/issues/4
Please see [2] for kernel advice on kernel regressions. Let me know if you need any help with the bisection.
[1]: https://bugzilla.kernel.org/show_bug.cgi?id=218094
[2]: https://wiki.archlinux.org/title/Kernel#Debugging_regressions
commit 9d1bd9346241cd6963b58da7ffb7ed303285f684
Author: Mavroudis Chatzilazaridis <mavchatz@protonmail.com>
Date: Sun Jul 16 18:23:44 2023 +0000
HID: logitech-dj: Add support for a new lightspeed receiver iteration
The lightspeed receiver for the Pro X Superlight uses 13 byte mouse reports
without a report id. The workaround for such cases has been adjusted to
handle these larger packets.
The device now reports the status of its battery in wireless mode and
libratbag now recognizes the device and it can be configured with Piper.
https://github.com/libratbag/libratbag/pull/1122
Co-developed-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Mavroudis Chatzilazaridis <mavchatz@protonmail.com>
Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-logitech-dj.c | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
Edit:
The report has now been forwarded to the Linux Regressions mailing list [1] and the four developers I mentioned are on the CC list.
[1]: https://lore.kernel.org/regressions/6929ebbf-f2e0-4cd4-addc-1e33ecf3277f%40gmail.com/
[1]: https://bugzilla.kernel.org/show_bug.cgi?id=218094#c27
The only thing that work is removing these lines
[code]
{ /* Logitech lightspeed receiver (0xc547) */
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_2),
.driver_data = recvr_type_gaming_hidpp},
[/code]
Which makes more sense to me since that report size code is protected by an "djrcv_dev->unnumbered_application == HID_GD_MOUSE", meaning it will only run for mouse/pointers, not keyboards.
Edit:
Author of 9d1bd9346241cd6963b58da7ffb7ed303285f684 agrees with the revert [5].
Note the Logitech G510s keyboard - sysfs: cannot create duplicate filename [3] is a separate issue which will likely result in the revert of c7d80059b086c4986cd994a1973ec7a5d75f8eea.
Consider picking up 5b4ffb176d7979ac66b349addf3f7de433335e00 and possibly locally reverting c7d80059b086c4986cd994a1973ec7a5d75f8eea?
Edit:
Proposed partial revert of c7d80059b086c4986cd994a1973ec7a5d75f8eea [6].
Edit2:
Revert "HID: logitech-dj: Add support for a new lightspeed receiver iteration" queued for 6.3.3 [7].
[1]: https://lore.kernel.org/regressions/nycvar.YFH.7.76.2311211435050.29220%40cbobk.fhfr.pm/
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/commit/?id=5b4ffb176d7979ac66b349addf3f7de433335e00
[3]: https://bugzilla.kernel.org/show_bug.cgi?id=218155
[4]: https://lore.kernel.org/regressions/b5646db3-acff-45aa-baef-df3f660486fb%40gmail.com/
[5]: https://lore.kernel.org/regressions/4071999d-77ca-4a75-a9e0-d8ccac0dada1%40protonmail.com/
[6]: https://lore.kernel.org/linux-leds/20231121162359.9332-1-tiwai%40suse.de/
[7]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5b4ffb176d7979ac66b349addf3f7de433335e00