aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-08-12 12:08:04 -0400
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-08-23 05:36:19 -0400
commit992ff2cc9ec6e30ccc64c341b052e8ccb370db90 (patch)
treed28b12b32640718afc3f4daea557533db9ac6bcd /drivers/hid
parent6f50fa2a6f1395ad5f59ce7b87730f1f3ea19d76 (diff)
HID: logitech-dj: add support of the G700(s) receiver
Both the G700 and the G700s are sharing the same receiver. Include support for this receiver in hid-logitech-dj so that userspace can differentiate both. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-logitech-dj.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c
index c547cba05fbb..d6250b0cb9f8 100644
--- a/drivers/hid/hid-logitech-dj.c
+++ b/drivers/hid/hid-logitech-dj.c
@@ -959,6 +959,7 @@ static void logi_hidpp_recv_queue_notif(struct hid_device *hdev,
959 break; 959 break;
960 case 0x07: 960 case 0x07:
961 device_type = "eQUAD step 4 Gaming"; 961 device_type = "eQUAD step 4 Gaming";
962 logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem);
962 break; 963 break;
963 case 0x08: 964 case 0x08:
964 device_type = "eQUAD step 4 for gamepads"; 965 device_type = "eQUAD step 4 for gamepads";
@@ -1832,6 +1833,10 @@ static const struct hid_device_id logi_dj_receivers[] = {
1832 HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 1833 HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
1833 USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_2), 1834 USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_2),
1834 .driver_data = recvr_type_hidpp}, 1835 .driver_data = recvr_type_hidpp},
1836 { /* Logitech G700(s) receiver (0xc531) */
1837 HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
1838 0xc531),
1839 .driver_data = recvr_type_gaming_hidpp},
1835 { /* Logitech lightspeed receiver (0xc539) */ 1840 { /* Logitech lightspeed receiver (0xc539) */
1836 HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 1841 HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
1837 USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED), 1842 USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED),