HID: lenovo: Add note about different report numbers

Signed-off-by: Florian Klink <flokli@flokli.de>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
ValdikSS 2022-02-13 22:49:24 +01:00 committed by Jiri Kosina
parent a0a5c2a696
commit 5c9b8fae88
1 changed files with 5 additions and 0 deletions

View File

@ -487,6 +487,11 @@ static int lenovo_send_cmd_cptkbd(struct hid_device *hdev,
if (!buf)
return -ENOMEM;
/*
* Feature report 0x13 is used for USB,
* output report 0x18 is used for Bluetooth.
* buf[0] is ignored by hid_hw_raw_request.
*/
buf[0] = 0x18;
buf[1] = byte2;
buf[2] = byte3;