[PATCH] Input: HID - add CIDC USB device to HID blacklist
From: Zheng XiaoJun
Date: Thu Dec 28 2006 - 23:00:12 EST
Subject: [PATCH] Input: HID - add CIDC USB device to HID blacklist
From: Zheng XiaoJun <zhengxiaojun@xxxxxxxxxxx>
Add CIDC USB device to HID blacklist since it is actually a USB token
and has its own driver.
Signed-off-by: Zheng XiaoJun <zhengxiaojun@xxxxxxxxxxx>
---
--- linux-2.6.19.1.orig/drivers/usb/input/hid-core.c 2006-12-09
19:29:47.000000000 +0800
+++ linux-2.6.19.1/drivers/usb/input/hid-core.c 2006-12-25
13:54:24.000000000 +0800
@@ -1643,6 +1643,8 @@ void hid_init_reports(struct hid_device
#define USB_VENDOR_ID_AIRCABLE 0x16CA
#define USB_DEVICE_ID_AIRCABLE1 0x1502
+#define USB_VENDOR_ID_CIDC 0x1677
+
/*
* Alphabetically sorted blacklist by quirk type.
*/
@@ -1812,6 +1814,8 @@ static const struct hid_blacklist {
{ USB_VENDOR_ID_PANJIT, 0x0004, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_TURBOX, USB_DEVICE_ID_TURBOX_KEYBOARD,
HID_QUIRK_NOGET },
+
+ { USB_VENDOR_ID_CIDC, 0x0103, HID_QUIRK_IGNORE },
{ 0, 0 }
};
-
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/