Skip to content

Commit

Permalink
USB: input: HID: add CIDC USB device to HID blacklist
Browse files Browse the repository at this point in the history
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@hsic.com.cn>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Zheng XiaoJun authored and Greg Kroah-Hartman committed Feb 16, 2007
1 parent d0b4e31 commit 3f9b407
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/usb/input/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ void usbhid_close(struct hid_device *hid)

#define USB_VENDOR_ID_TURBOX 0x062a
#define USB_DEVICE_ID_TURBOX_KEYBOARD 0x0201
#define USB_VENDOR_ID_CIDC 0x1677

/*
* Initialize all reports
Expand Down Expand Up @@ -953,6 +954,8 @@ static const struct hid_blacklist {

{ USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_CONTROLLER, HID_QUIRK_SONY_PS3_CONTROLLER },

{ USB_VENDOR_ID_CIDC, 0x0103, HID_QUIRK_IGNORE },

{ 0, 0 }
};

Expand Down

0 comments on commit 3f9b407

Please sign in to comment.