Skip to contentSkip to conversation

HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming

PATCH Applied Filipe Laíns 2 participants 2 messages Feb 5, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming

From: Filipe Laíns <[email protected]>

In e400071a805d6229223a98899e9da8c6233704a1 I added support for the receiver that comes with the G602 device, but unfortunately I screwed up during testing and it seems the keyboard events were actually not being sent to userspace.
This resulted in keyboard events being broken in userspace, please backport the fix.

The receiver uses the normal 0x01 Logitech keyboard report descriptor, as expected, so it is just a matter of flagging it as supported.

Reported in
https://github.com/libratbag/libratbag/issues/1124

Fixes e400071a805d6 ("HID: logitech-dj: add the G602 receiver")

---

Changes in v2:
- added missing Fixes: anc Cc: tags

 drivers/hid/hid-logitech-dj.c | 1 +
 1 file changed, 1 insertion(+)
drivers/hid/hid-logitech-dj.c +1 -0
index 6596c81947a8..2703333edc34 100644
@@ -981,6 +981,7 @@ static void logi_hidpp_recv_queue_notif(struct hid_device *hdev,
 	case 0x07:
 		device_type = "eQUAD step 4 Gaming";
 		logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem);
+		workitem.reports_supported |= STD_KEYBOARD;
 		break;
 	case 0x08:
 		device_type = "eQUAD step 4 for gamepads";
Signature · 1 line
2.30.0
maintainer Applied
#1 lore raw
Quoted 15 lines · Filipe Laíns

From: Filipe Laíns <[email protected]>

In e400071a805d6229223a98899e9da8c6233704a1 I added support for the receiver that comes with the G602 device, but unfortunately I screwed up during testing and it seems the keyboard events were actually not being sent to userspace.
This resulted in keyboard events being broken in userspace, please backport the fix.

The receiver uses the normal 0x01 Logitech keyboard report descriptor, as expected, so it is just a matter of flagging it as supported.

Reported in
https://github.com/libratbag/libratbag/issues/1124

Quoted 7 lines
Fixes e400071a805d6 ("HID: logitech-dj: add the G602 receiver")

---

Changes in v2:
- added missing Fixes: anc Cc: tags

Applied, thanks Filipe.

Signature · 2 lines
Jiri Kosina
SUSE Labs