Skip to content

Commit 436136c

Browse files
Marek VasutJiri Kosina
authored andcommitted
HID: add quirk for Freescale i.MX23 ROM recovery
The USB recovery mode present in i.MX23 ROM emulates USB HID. It needs this quirk to behave properly. Even if the official branding of the chip is Freescale i.MX23, I named it Sigmatel STMP3780 since that's what the chip really is and it even reports itself as STMP3780. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent e3bbe87 commit 436136c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎drivers/hid/hid-ids.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,9 @@
697697
#define USB_VENDOR_ID_SIGMA_MICRO 0x1c4f
698698
#define USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD 0x0002
699699

700+
#define USB_VENDOR_ID_SIGMATEL 0x066F
701+
#define USB_DEVICE_ID_SIGMATEL_STMP3780 0x3780
702+
700703
#define USB_VENDOR_ID_SKYCABLE 0x1223
701704
#define USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER 0x3F07
702705

‎drivers/hid/usbhid/hid-quirks.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ static const struct hid_blacklist {
7979
{ USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001, HID_QUIRK_NOGET },
8080
{ USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008, HID_QUIRK_NOGET },
8181
{ USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB, HID_QUIRK_NOGET },
82+
{ USB_VENDOR_ID_SIGMATEL, USB_DEVICE_ID_SIGMATEL_STMP3780, HID_QUIRK_NOGET },
8283
{ USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, HID_QUIRK_NOGET },
8384
{ USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_1, HID_QUIRK_NOGET },
8485
{ USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_2, HID_QUIRK_NOGET },

0 commit comments

Comments
 (0)