]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
authorFilipe Laíns <lains@riseup.net>
Fri, 5 Feb 2021 14:34:44 +0000 (14:34 +0000)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 15 Mar 2021 14:09:37 +0000 (15:09 +0100)
commitefac633300c0ffd75be486c86828af07aa9ed72a
tree8a3ff702870f12319e2ca162ca8fad0beaee1c7f
parente938d2b8505af3cfacd358428e622c02aa98bb47
HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming

commit ef07c116d98772952807492bd32a61f5af172a94 upstream.

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")
Cc: <stable@vger.kernel.org>
Signed-off-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/hid/hid-logitech-dj.c