Commit 5c9b8fae authored by ValdikSS's avatar ValdikSS Committed by Jiri Kosina

HID: lenovo: Add note about different report numbers

Signed-off-by: default avatarFlorian Klink <flokli@flokli.de>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent a0a5c2a6
...@@ -487,6 +487,11 @@ static int lenovo_send_cmd_cptkbd(struct hid_device *hdev, ...@@ -487,6 +487,11 @@ static int lenovo_send_cmd_cptkbd(struct hid_device *hdev,
if (!buf) if (!buf)
return -ENOMEM; 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[0] = 0x18;
buf[1] = byte2; buf[1] = byte2;
buf[2] = byte3; buf[2] = byte3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment