aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-ortek.c
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton.krzesinski@canonical.com>2011-03-16 13:13:53 -0400
committerJiri Kosina <jkosina@suse.cz>2011-03-16 19:32:42 -0400
commit270fdc0748bd3f7b625caff985f2fcf8e2185ec7 (patch)
tree5c454f258ec760835e104ce561e9303269a59d26 /drivers/hid/hid-ortek.c
parent2d9ca4e9f393d81d8f37ed37505aecbf3a5e1bd6 (diff)
HID: add support for Ortek PKB-1700
As reported on http://ubuntuforums.org/showthread.php?t=1594007 the PKB-1700 needs same special handling as WKB-2000. This change is originally based on patch posted by user asmoore82 on the Ubuntu forums. Cc: stable@kernel.org Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ortek.c')
-rw-r--r--drivers/hid/hid-ortek.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hid/hid-ortek.c b/drivers/hid/hid-ortek.c
index e90edfc63051..ad6faa6c0cea 100644
--- a/drivers/hid/hid-ortek.c
+++ b/drivers/hid/hid-ortek.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * HID driver for Ortek WKB-2000 (wireless keyboard + mouse trackpad). 2 * HID driver for Ortek PKB-1700/WKB-2000 (wireless keyboard + mouse trackpad).
3 * Fixes LogicalMaximum error in USB report description, see 3 * Fixes LogicalMaximum error in USB report description, see
4 * http://bugzilla.kernel.org/show_bug.cgi?id=14787 4 * http://bugzilla.kernel.org/show_bug.cgi?id=14787
5 * 5 *
@@ -30,6 +30,7 @@ static __u8 *ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc,
30} 30}
31 31
32static const struct hid_device_id ortek_devices[] = { 32static const struct hid_device_id ortek_devices[] = {
33 { HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_PKB1700) },
33 { HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_WKB2000) }, 34 { HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_WKB2000) },
34 { } 35 { }
35}; 36};