You are not logged in.

#1 2021-01-29 14:27:20

kgavionics
Member
Registered: 2020-04-02
Posts: 31

Logitech G602 extra buttons stopped working after kernel update!

Hello guys
I have a Logitech G602 gaming mouse with 8 extras buttons which are bound to different keyboard shortcuts! Everything was working fine since yesterday after a kernel update to 5.10.11. All the extra buttons stopped working (no event in XEV)and after some digging, I found out there was a commit regarding this mouse in the kernel update :
commit 1e6fc9768ed2c3917e1fd7af26cb194dfe14f7da


    HID: logitech-dj: add the G602 receiver
   
    [ Upstream commit e400071a805d6229223a98899e9da8c6233704a1 ]
   
    Tested. The device gets correctly exported to userspace and I can see
    mouse and keyboard events.
   
I don't know what's update is all about, because my mouse was always working and the shortcuts were stored in its onboard memory.
I couldn't find anything I can do to fix the problem, I installed the LTS kernel and my mouse worked after that. Today! The LTS kernel has been updated, and I was surprised that the mouse stopped working again and when I checked the change log, I found that the commit was integrated to the LTS kernel!

commit 9cec63a3aacbcaee8d09aecac2ca2f8820efcc70


    HID: logitech-dj: add the G602 receiver
   
    [ Upstream commit e400071a805d6229223a98899e9da8c6233704a1 ]
   
    Tested. The device gets correctly exported to userspace and I can see
    mouse and keyboard events.

I'm really lost, Can anybody give me a heads up how to fix the problem please!

Last edited by kgavionics (2021-01-29 15:06:11)

Offline

#2 2021-01-31 01:37:28

kgavionics
Member
Registered: 2020-04-02
Posts: 31

Re: Logitech G602 extra buttons stopped working after kernel update!

I filed a bug which is going to be fixed in next kernel update!

Offline

#3 2021-02-20 20:44:33

Voylin
Member
Registered: 2019-11-12
Posts: 12

Re: Logitech G602 extra buttons stopped working after kernel update!

Having same issue, this will get fixed in the next month's update or? Right now this is having quite a big impact on my workflow ^^"

Offline

#4 2021-02-24 03:40:38

IamjTestdev
Member
Registered: 2021-02-24
Posts: 1

Re: Logitech G602 extra buttons stopped working after kernel update!

My mouse stopped working entirely after this kernel update.  The dev claims it should just be my extra mouse buttons, but that is not my situation after updating, and the person is no longer responding.  I don't even understand what was wrong with such an old mouse.  Any idea what I can do to at least get the cursor to respond?

When I do hwinfo | grep logitech under  kernel-default-5.3.18-lp152.63.1  I get a bunch of error messages along the lines of:

Logitech-djreceiver Unexpected input report number 128

Logitech-djreceiver unusable device of type eQUAD step 4 Gaming (0x07) connected on slot 1.

I'm a bit new to this, so pardon my lack of detail.  I'm providing what I know how to.  Thanks in advance!

Offline

#5 2021-03-17 18:19:16

Caffarius
Member
Registered: 2018-10-28
Posts: 3

Re: Logitech G602 extra buttons stopped working after kernel update!

This issue definitely cropped up between the 5.10.10 and 5.10.11 kernel versions (at least in the Zen kernel as I'm testing). So far this problem still exists in 5.11.6-zen1. As pointed out earlier the problem commit is e400071a805d6229223a98899e9da8c6233704a1 which ironically is supposed to add the G602 receiver. Reverting this commit brings back 100% button functionality on the current 5.11.6-zen1 kernel. Solaar is also still happily reporting information as before. The patch is depressingly small for an issue that impacted my workflow (all it does is remove four lines):

From 7e54717b18ec9125a5b559579b58807337365b20 Mon Sep 17 00:00:00 2001
From: Bret Human <info@cynop.me>
Date: Wed, 17 Mar 2021 10:06:55 -0400
Subject: [PATCH] Revert "HID: logitech-dj: add the G602 receiver"

This reverts commit e400071a805d6229223a98899e9da8c6233704a1.
---
 drivers/hid/hid-logitech-dj.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c
index 45e7e0bdd382..1ffcfc9a1e03 100644
--- a/drivers/hid/hid-logitech-dj.c
+++ b/drivers/hid/hid-logitech-dj.c
@@ -1869,10 +1869,6 @@ static const struct hid_device_id logi_dj_receivers[] = {
 	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
 		0xc531),
 	 .driver_data = recvr_type_gaming_hidpp},
-	{ /* Logitech G602 receiver (0xc537) */
-	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
-		0xc537),
-	 .driver_data = recvr_type_gaming_hidpp},
 	{ /* Logitech lightspeed receiver (0xc539) */
 	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
 		USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1),
-- 
2.31.0

You can confirm on your machine by following the Kernel/Arch Build System guide with your preferred kernel and adding in the above patch to the package build; I named my patch file "0001-Revert-G602-receiver.patch" and placed it alongside the PKGBUILD file. I'd rather not make a whole AUR package for it if we can get it fixed upstream. I compile enough kernels as it stands. tongue

Offline

Board footer

Powered by FluxBB