Skip to contentSkip to conversation

HID: add quirk for Freescale i.MX23 ROM recovery

PATCH Applied Marek Vasut 3 participants 7 messages Nov 24, 2012 – Jan 14, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cc Chen Peter <[email protected]>
Cc Greg KH <[email protected]>
Cc Jiri Kosina <[email protected]>
---
 drivers/hid/hid-ids.h           |    3 +++
 drivers/hid/usbhid/hid-quirks.c |    1 +
 2 files changed, 4 insertions(+)

NOTE: it'd be nice to include this in -stable eventually.

drivers/hid/hid-ids.h +3 -0
index 9d7a428..1ef9a9e 100644
@@ -696,6 +696,9 @@
 #define USB_VENDOR_ID_SIGMA_MICRO	0x1c4f
 #define USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD	0x0002
 
+#define USB_VENDOR_ID_SIGMATEL		0x066F
+#define USB_DEVICE_ID_SIGMATEL_STMP3780	0x3780
+
 #define USB_VENDOR_ID_SKYCABLE			0x1223
 #define	USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER	0x3F07
 
drivers/hid/usbhid/hid-quirks.c +1 -0
index 11c7932..0a1429f 100644
@@ -79,6 +79,7 @@ static const struct hid_blacklist {
 	{ USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB, HID_QUIRK_NOGET },
+	{ USB_VENDOR_ID_SIGMATEL, USB_DEVICE_ID_SIGMATEL_STMP3780, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_1, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_2, HID_QUIRK_NOGET },
Signature · 1 line
1.7.10.4
Applied
#1 lore raw
Quoted 6 lines · Marek Vasut

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.

Applied, thanks Marek.

Signature · 2 lines
Jiri Kosina
SUSE Labs
#2 lore raw

Dear Jiri Kosina,

Quoted 9 lines · Marek Vasut
Quoted 6 lines

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.

Applied, thanks Marek.

Thank you. It'd be nice to queue this for -stable too.

Best regards,
Marek Vasut

#3 lore raw
In reply to Jiri Kosina

Hi Jirka,

Quoted 9 lines · Marek Vasut
Quoted 6 lines

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.

Applied, thanks Marek.

Can we possibly push this into -stable please?

Best regards,
Marek Vasut

#4 lore raw
Quoted 6 lines · Marek Vasut

Hi Jirka,

Quoted 4 lines · Marek Vasut
Quoted 3 lines

The USB recovery mode present in i.MX23 ROM emulates USB HID. It needs this quirk to behave properly.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

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.

Applied, thanks Marek.

Can we possibly push this into -stable please?

What is the git commit id of it in Linus's tree? I need that before it can go into a stable release.

thanks,

greg k-h

#5 lore raw

Hi Greg,

Quoted 11 lines · Marek Vasut
Quoted 10 lines

Hi Jirka,

Quoted 8 lines · Marek Vasut
Quoted 6 lines

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.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Applied, thanks Marek.

Can we possibly push this into -stable please?

What is the git commit id of it in Linus's tree? I need that before it can go into a stable release.

This 436136cec650d661eb662fcb508a99878606d050 should be it, right ?

Thank you! I'll remember to supply the ID next time I prod anyone about stable stuff.

Best regards,
Marek Vasut

#6 lore raw
Quoted 13 lines · Marek Vasut

Hi Greg,

Quoted 11 lines · Marek Vasut
Quoted 10 lines

Hi Jirka,

Quoted 8 lines · Marek Vasut
Quoted 6 lines

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.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Applied, thanks Marek.

Can we possibly push this into -stable please?

What is the git commit id of it in Linus's tree? I need that before it can go into a stable release.

This 436136cec650d661eb662fcb508a99878606d050 should be it, right ?

Ah, yes, that looks correct.

Quoted 2 lines

Thank you! I'll remember to supply the ID next time I prod anyone about stable stuff.

That would be great, that's all I really need in order to be able to apply a patch.

greg k-h