Skip to contentSkip to conversation

Subject: [PATCH] Input: HID - add CIDC USB device to HID blacklist

DISCUSSION Zheng XiaoJun 1 participant 1 message Dec 29, 2006

lore
Share & tools
lore
#0 lore raw

From: Zheng XiaoJun <[email protected]>

Add CIDC USB device to HID blacklist since it is actually a USB token and has its own driver.

---
--- 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 }
};