HID: logitech-dj: Add support for G915 receiver 0xc541
Subsystems (2)
PATCH 1/1 HID: logitech-dj: Add support for G915 receiver 0xc541
The Logitech G915 keyboard has a lightspeed receiver with a product id of 0xc541. It seems to behave like its smaller brother, the G910 TKL which has a 0xc545 receiver.
Add a definition for this new receiver id and a mapping for the recvr_type_gaming_hidpp_ls_1_3 type, the receiver now reports battery status of the connected keyboard.
--- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-logitech-dj.c | 4 ++++ 2 files changed, 5 insertions(+)
drivers/hid/hid-ids.h +1 -0
@@ -986,6 +986,7 @@#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_3 0xc547#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_4 0xc54d#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_5 0xc545 +#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_6 0xc541#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_POWERPLAY 0xc53a#define USB_DEVICE_ID_LOGITECH_BOLT_RECEIVER 0xc548#define USB_DEVICE_ID_SPACETRAVELLER 0xc623
drivers/hid/hid-logitech-dj.c +4 -0
@@ -2114,6 +2114,10 @@ static const struct hid_device_id logi_dj_receivers[] = { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_5), .driver_data = recvr_type_gaming_hidpp_ls_1_3}, + {/* Logitech lightspeed receiver (0xc541) */ +HID_USB_DEVICE (USB_VENDOR_ID_LOGITECH , + USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_6), + .driver_data = recvr_type_gaming_hidpp_ls_1_3}, { /* Logitech 27 MHz HID++ 1.0 receiver (0xc513) */ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_MX3000_RECEIVER),
Signature · 1 line
2.56.0
Quoted 9 lines · Michael Schwarz
The Logitech G915 keyboard has a lightspeed receiver with a product id of
0xc541. It seems to behave like its smaller brother, the G910 TKL which has a0xc545receiver.Add a definition for this new receiver id and a mapping for the
recvr_type_gaming_hidpp_ls_1_3type, the receiver now reports battery status of the connected keyboard.Signed-off-by Michael Schwarz <[email protected]>
Applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs