]> git.baikalelectronics.ru Git - kernel.git/commit
HID: logitech-dj: Fix forwarding of very long HID++ reports
authorHans de Goede <hdegoede@redhat.com>
Fri, 14 Jun 2019 08:20:27 +0000 (10:20 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 26 Jun 2019 12:03:07 +0000 (14:03 +0200)
commitc6165b251bd2b6cbb6d752befbca62c6ed5e3bcb
tree7eb168acd2ed0dd0374c23ce9d7e186f9a2af556
parent02ae30218f7c00a49f6289f35a94b3d5394b0225
HID: logitech-dj: Fix forwarding of very long HID++ reports

The HID++ spec also defines very long HID++ reports, with a reportid of
0x12. The MX5000 and MX5500 keyboards use 0x12 output reports for sending
messages to display on their buildin LCD.

Userspace (libmx5000) supports this, in order for this to work when talking
to the HID devices instantiated for the keyboard by hid-logitech-dj,
we need to properly forward these reports to the device.

This commit fixes logi_dj_ll_raw_request not forwarding these reports.

Fixes: d5c0fbd4eee1 ("HID: logitech-dj: add support for Logitech Bluetooth Mini-Receiver")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-logitech-dj.c