Skip to content

Commit 5c9b8fa

Browse files
ValdikSSJiri Kosina
authored andcommitted
HID: lenovo: Add note about different report numbers
Signed-off-by: Florian Klink <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent a0a5c2a commit 5c9b8fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/hid/hid-lenovo.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,11 @@ static int lenovo_send_cmd_cptkbd(struct hid_device *hdev,
487487
if (!buf)
488488
return -ENOMEM;
489489

490+
/*
491+
* Feature report 0x13 is used for USB,
492+
* output report 0x18 is used for Bluetooth.
493+
* buf[0] is ignored by hid_hw_raw_request.
494+
*/
490495
buf[0] = 0x18;
491496
buf[1] = byte2;
492497
buf[2] = byte3;

0 commit comments

Comments
 (0)