Skip to content

Commit 5722f33

Browse files
FFY00bentiss
authored andcommitted
hid-logitech-dj: add the new Lightspeed receiver
This patchs adds the new Lightspeed receiver. Currently it seems to only be used in the G305. Signed-off-by: Filipe Laíns <[email protected]> [bentiss: rebased on top of master] Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent 992ff2c commit 5722f33

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

drivers/hid/hid-ids.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,8 @@
769769
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER 0xc52f
770770
#define USB_DEVICE_ID_LOGITECH_UNIFYING_RECEIVER_2 0xc532
771771
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_2 0xc534
772-
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED 0xc539
772+
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1 0xc539
773+
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_1 0xc53f
773774
#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_POWERPLAY 0xc53a
774775
#define USB_DEVICE_ID_SPACETRAVELLER 0xc623
775776
#define USB_DEVICE_ID_SPACENAVIGATOR 0xc626

drivers/hid/hid-logitech-dj.c

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,12 @@ static void logi_hidpp_recv_queue_notif(struct hid_device *hdev,
969969
logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem);
970970
break;
971971
case 0x0c:
972-
device_type = "eQUAD Lightspeed";
972+
device_type = "eQUAD Lightspeed 1";
973+
logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem);
974+
workitem.reports_supported |= STD_KEYBOARD;
975+
break;
976+
case 0x0d:
977+
device_type = "eQUAD Lightspeed 1_1";
973978
logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem);
974979
workitem.reports_supported |= STD_KEYBOARD;
975980
break;
@@ -1839,7 +1844,11 @@ static const struct hid_device_id logi_dj_receivers[] = {
18391844
.driver_data = recvr_type_gaming_hidpp},
18401845
{ /* Logitech lightspeed receiver (0xc539) */
18411846
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
1842-
USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED),
1847+
USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1),
1848+
.driver_data = recvr_type_gaming_hidpp},
1849+
{ /* Logitech lightspeed receiver (0xc53f) */
1850+
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
1851+
USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_1),
18431852
.driver_data = recvr_type_gaming_hidpp},
18441853
{ /* Logitech 27 MHz HID++ 1.0 receiver (0xc513) */
18451854
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_MX3000_RECEIVER),

0 commit comments

Comments
 (0)