HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
Subsystems (2)
PATCH 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
--- drivers/hid/hid-logitech-dj.c | 1 + 1 file changed, 1 insertion(+)
drivers/hid/hid-logitech-dj.c +1 -0
@@ -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
Filipe Laíns
reviewerHans,
You added support for non unifying receivers in 74808f9115cee2bb53e7161432959f3e87b631e4, could you please test and make sure this cause any breakage with your devices?
AFAIK, they could only break if they have a 0x01 report which is different from kbd_descriptor.
Cheers,
Filipe Laíns
Oops
Quoted 1 line · Filipe Laíns
this cause any breakage with your devices?
this *doesn't* cause
Signature · 1 line
Filipe Laíns
Hi,
Quoted 8 lines · Filipe Laíns
Hans,
You added support for non unifying receivers in
74808f9115cee2bb53e7161432959f3e87b631e4, could you please test and make sure this cause any breakage with your devices?AFAIK, they could only break if they have a
0x01report which is different fromkbd_descriptor.
I don't have any receivers hitting the "case 7" which you are modifying, so I don't expect to see any effects of this change on my hw.
Regards,
Hans
Quoted 14 lines · Hans de Goede
Hi,
Quoted 10 lines · Filipe Laíns
Hans,
You added support for non unifying receivers in
74808f9115cee2bb53e7161432959f3e87b631e4, could you please test and make sure
this cause any breakage with your devices?AFAIK, they could only break if they have a
0x01report which is different fromkbd_descriptor.
Quoted 7 lines
I don't have any receivers hitting the "case 7" which you are modifying, so I don't expect to see any effects of this change on my hw.
Regards,
Hans
Alright, then we should not have any other receivers that use this protocol.
Cheers,
Filipe Laíns
Jiri Kosina
maintainerQuoted 9 lines · Filipe Laíns
From: Filipe Laíns <[email protected]>
In
e400071a805d6229223a98899e9da8c6233704a1I 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.
Quoted 7 lines
The receiver uses the normal
0x01Logitech keyboard report descriptor, as expected, so it is just a matter of flagging it as supported.Reported in
https://github.com/libratbag/libratbag/issues/1124Signed-off-by Filipe Laíns <[email protected]>
Given this is a regression, could you please add proper Fixes: and Cc:
stable tags?
Thank you,
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 17 lines · Jiri Kosina
Quoted 15 lines · Filipe Laíns
From: Filipe Laíns <[email protected]>
In
e400071a805d6229223a98899e9da8c6233704a1I 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
0x01Logitech 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
Quoted 1 line
Signed-off-by Filipe Laíns <[email protected]>Given this is a regression, could you please add proper Fixes: and Cc:
stable tags?Thank you,
Done :)
Sorry about that, I am not yet familiarized with all steps of the workflow.
Cheers,
Filipe Laíns