Skip to content

Commit 423dfbc

Browse files
jwrdegoedeJiri Kosina
authored andcommitted
HID: logitech-dj: Add usb-id for the 27MHz MX3000 receiver
Testing has shown that, as expected, the MX3000 receiver is fully compatible with the existing 27MHz receiver support in hid-logitech-dj.c. After this the only, presumably also compatible, receiver id left in hid-lg.c is the USB_DEVICE_ID_S510_RECEIVER / 0xc50c id. If we can get someone to confirm that this receiver works with the dj 27Mhz support too, then the handling of the LG_RDESC and LG_WIRELESS quirks can be removed from hid-lg.c. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent b4dd05d commit 423dfbc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

drivers/hid/hid-lg.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,6 @@ static void lg_remove(struct hid_device *hdev)
872872
}
873873

874874
static const struct hid_device_id lg_devices[] = {
875-
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_MX3000_RECEIVER),
876-
.driver_data = LG_RDESC | LG_WIRELESS },
877875
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_S510_RECEIVER),
878876
.driver_data = LG_RDESC | LG_WIRELESS },
879877

drivers/hid/hid-logitech-dj.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,6 +1835,9 @@ static const struct hid_device_id logi_dj_receivers[] = {
18351835
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
18361836
USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_GAMING),
18371837
.driver_data = recvr_type_gaming_hidpp},
1838+
{ /* Logitech 27 MHz HID++ 1.0 receiver (0xc513) */
1839+
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_MX3000_RECEIVER),
1840+
.driver_data = recvr_type_27mhz},
18381841
{ /* Logitech 27 MHz HID++ 1.0 receiver (0xc517) */
18391842
HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
18401843
USB_DEVICE_ID_S510_RECEIVER_2),

0 commit comments

Comments
 (0)