[PATCH 1/1] USB HID/HIDBP DRIVERS: Add iMON LCDs to HID blacklist

From: Dylan R. Semler
Date: Sat May 10 2008 - 17:53:00 EST


From: Dylan R Semler <dylan.semler@xxxxxxxxx>

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.

Signed-off-by: Dylan R Semler dylan.semler@xxxxxxxxx
---
--- vanilla-2.6.25/drivers/hid/usbhid/hid-quirks.c.orig 2008-05-10 14:22:19.000000000 -0500
+++ vanilla-2.6.25/drivers/hid/usbhid/hid-quirks.c 2008-05-10 14:20:37.000000000 -0500
@@ -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 },

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/