Skip to content

Commit 335db05

Browse files
dlechProject516
authored andcommitted
add LEGO WeDo to hid-ids.h and make the hid driver ignore it
1 parent 9fac2ff commit 335db05

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,9 @@
767767
#define USB_VENDOR_ID_LCPOWER 0x1241
768768
#define USB_DEVICE_ID_LCPOWER_LC1000 0xf767
769769

770+
#define USB_VENDOR_ID_LEGO 0x0694
771+
#define USB_DEVICE_ID_LEGO_WEDO 0x0003
772+
770773
#define USB_VENDOR_ID_LD 0x0f11
771774
#define USB_DEVICE_ID_LD_CASSY 0x1000
772775
#define USB_DEVICE_ID_LD_CASSY2 0x1001

drivers/hid/hid-quirks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,7 @@ static const struct hid_device_id hid_ignore_list[] = {
825825
{ HID_USB_DEVICE(USB_VENDOR_ID_KWORLD, USB_DEVICE_ID_KWORLD_RADIO_FM700) },
826826
{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_GPEN_560) },
827827
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_KYE, 0x0058) },
828+
{ HID_USB_DEVICE(USB_VENDOR_ID_LEGO, USB_DEVICE_ID_LEGO_WEDO) },
828829
{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_CASSY) },
829830
{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_CASSY2) },
830831
{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_POCKETCASSY) },

0 commit comments

Comments
 (0)