Skip to content

Commit 7ad5732

Browse files
mcoffingregkh
authored andcommitted
HID: logitech: Add ids for G PRO 2 LIGHTSPEED
commit ab1bb82 upstream. Adds support for the G PRO 2 LIGHTSPEED Wireless via it's nano receiver or directly. This nano receiver appears to work identically to the 1_1 receiver for the case I've verified, which is the battery status through lg-hidpp. The same appears to be the case wired, sharing much with the Pro X Superlight 2; differences seemed to lie in userland configuration rather than in interfaces used by hid_logitech_hidpp on the kernel side. I verified the sysfs interface for battery charge/discharge status, and capacity read to be working on my 910-007290 device (white). Signed-off-by: Matt Coffin <mcoffin13@gmail.com> Reviewed-by: Bastien Nocera <hadess@hadess.net> Signed-off-by: Jiri Kosina <jkosina@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c5a2cce commit 7ad5732

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,7 @@
907907
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_2 0xc534
908908
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1 0xc539
909909
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_1 0xc53f
910+
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_2 0xc543
910911
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_POWERPLAY 0xc53a
911912
#define USB_DEVICE_ID_LOGITECH_BOLT_RECEIVER 0xc548
912913
#define USB_DEVICE_ID_SPACETRAVELLER 0xc623

drivers/hid/hid-logitech-dj.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,6 +1983,10 @@ static const struct hid_device_id logi_dj_receivers[] = {
19831983
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
19841984
USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_1),
19851985
.driver_data = recvr_type_gaming_hidpp},
1986+
{ /* Logitech lightspeed receiver (0xc543) */
1987+
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
1988+
USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_2),
1989+
.driver_data = recvr_type_gaming_hidpp},
19861990

19871991
{ /* Logitech 27 MHz HID++ 1.0 receiver (0xc513) */
19881992
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_MX3000_RECEIVER),

drivers/hid/hid-logitech-hidpp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4596,6 +4596,8 @@ static const struct hid_device_id hidpp_devices[] = {
45964596
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC094) },
45974597
{ /* Logitech G Pro X Superlight 2 Gaming Mouse over USB */
45984598
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC09b) },
4599+
{ /* Logitech G PRO 2 LIGHTSPEED Wireless Mouse over USB */
4600+
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xc09a) },
45994601

46004602
{ /* G935 Gaming Headset */
46014603
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0x0a87),

0 commit comments

Comments
 (0)