Skip to contentSkip to conversation

USB HID/HIDBP DRIVERS: Add iMON LCDs to HID blacklist

PATCH Dylan R. Semler 2 participants 2 messages May 14, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Jiri Kosina
Quoted 5 lines · Dylan R. Semler

From: Dylan R Semler <[email protected]>

The new iMON LCDs from SoundGraph need to be blacklisted from HID in order to be used by lirc. This patch adds vendor and device IDs for iMON LCDs and adds them to the blacklist.

Quoted 6 lines

Hi Dylan,

the patch is whitespace damaged and line wrapped, could you please resend properly?

Thanks,

Sorry guys. I tried to keep gmail from word-wrapping my patch by going through Thunderbird, but looks like the SMTP server still took care of that (or something). Trying with a different server now...

From: Dylan R Semler <[email protected]>

The new iMON LCDs from SoundGraph need to be blacklisted from HID in order to be used by lirc. This patch adds vendor and device IDs for iMON LCDs and adds them to the blacklist.

---

drivers/hid/usbhid/hid-quirks.c 2008-05-10 14:20:37.000000000 -0500 renamed from drivers/hid/usbhid/hid-quirks.c.orig 2008-05-10 14:22:19.000000000 -0500 +0 -0
@@ -374,6 +374,9 @@

#define USB_VENDOR_ID_SONY 0x054c
#define USB_DEVICE_ID_SONY_PS3_CONTROLLER 0x0268

+#define USB_VENDOR_ID_SOUNDGRAPH 0x15c2
+#define USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD 0x0038
+
#define USB_VENDOR_ID_SUN 0x0430
#define USB_DEVICE_ID_RARITAN_KVM_DONGLE 0xcdab

@@ -570,6 +573,7 @@ static const struct hid_blacklist {
{ USB_VENDOR_ID_PANJIT, 0x0002, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_PANJIT, 0x0003, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_PANJIT, 0x0004, HID_QUIRK_IGNORE },
+ { USB_VENDOR_ID_SOUNDGRAPH, USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD, HID_QUIRK_IGNORE }, { USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_LABPRO, HID_QUIRK_IGNORE }, { USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_GOTEMP, HID_QUIRK_IGNORE }, { USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_SKIP, HID_QUIRK_IGNORE },

#1 lore raw
Quoted 5 lines · Dylan R. Semler
Quoted 2 lines

the patch is whitespace damaged and line wrapped, could you please resend properly?

Sorry guys. I tried to keep gmail from word-wrapping my patch by going through Thunderbird, but looks like the SMTP server still took care of that (or something). Trying with a different server now...

Well, no, it is still broken.

As the patch is fairly trivial I will fix that up on my side and apply it, but please have it in mind for any future patch submissions.

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs