* [PATCH] HID: add support for Ortek PKB-1700
@ 2011-03-16 15:48 Herton Ronaldo Krzesinski
2011-03-16 15:54 ` Jiri Kosina
0 siblings, 1 reply; 3+ messages in thread
From: Herton Ronaldo Krzesinski @ 2011-03-16 15:48 UTC (permalink / raw)
To: Jiri Kosina; +Cc: linux-input, linux-kernel
As reported on http://ubuntuforums.org/showthread.php?t=1594007 the
PKB-1700 needs same special handling as WKB-2000. This patch is
originally from user asmoore82 on the Ubuntu forums.
BugLink: http://bugs.launchpad.net/bugs/735640
Cc: stable@kernel.org
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
---
drivers/hid/hid-core.c | 1 +
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-ortek.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index d678cf3..295e248 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1400,6 +1400,7 @@ static const struct hid_device_id hid_have_special_driver[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_16) },
{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_17) },
{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_18) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_PKB1700) },
{ HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_WKB2000) },
{ HID_USB_DEVICE(USB_VENDOR_ID_PETALYNX, USB_DEVICE_ID_PETALYNX_MAXTER_REMOTE) },
{ HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH) },
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 92a0d61..5f5cc91 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -466,6 +466,7 @@
#define USB_DEVICE_ID_ONTRAK_ADU100 0x0064
#define USB_VENDOR_ID_ORTEK 0x05a4
+#define USB_DEVICE_ID_ORTEK_PKB1700 0x1700
#define USB_DEVICE_ID_ORTEK_WKB2000 0x2000
#define USB_VENDOR_ID_PANJIT 0x134c
diff --git a/drivers/hid/hid-ortek.c b/drivers/hid/hid-ortek.c
index e90edfc..96804bb 100644
--- a/drivers/hid/hid-ortek.c
+++ b/drivers/hid/hid-ortek.c
@@ -30,6 +30,7 @@ static __u8 *ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc,
}
static const struct hid_device_id ortek_devices[] = {
+ { HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_PKB1700) },
{ HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_WKB2000) },
{ }
};
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] HID: add support for Ortek PKB-1700
2011-03-16 15:48 [PATCH] HID: add support for Ortek PKB-1700 Herton Ronaldo Krzesinski
@ 2011-03-16 15:54 ` Jiri Kosina
2011-03-16 17:03 ` Herton Ronaldo Krzesinski
0 siblings, 1 reply; 3+ messages in thread
From: Jiri Kosina @ 2011-03-16 15:54 UTC (permalink / raw)
To: Herton Ronaldo Krzesinski; +Cc: linux-input, linux-kernel
On Wed, 16 Mar 2011, Herton Ronaldo Krzesinski wrote:
> As reported on http://ubuntuforums.org/showthread.php?t=1594007 the
> PKB-1700 needs same special handling as WKB-2000.
Could you please update Kconfig text and the comment in hid-ortek.c as
well? It currently refers only to WKB-2000 model.
Thanks,
--
Jiri Kosina
SUSE Labs, Novell Inc.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] HID: add support for Ortek PKB-1700
2011-03-16 15:54 ` Jiri Kosina
@ 2011-03-16 17:03 ` Herton Ronaldo Krzesinski
0 siblings, 0 replies; 3+ messages in thread
From: Herton Ronaldo Krzesinski @ 2011-03-16 17:03 UTC (permalink / raw)
To: Jiri Kosina; +Cc: linux-input, linux-kernel
On Wed, Mar 16, 2011 at 04:54:49PM +0100, Jiri Kosina wrote:
> On Wed, 16 Mar 2011, Herton Ronaldo Krzesinski wrote:
>
> > As reported on http://ubuntuforums.org/showthread.php?t=1594007 the
> > PKB-1700 needs same special handling as WKB-2000.
>
> Could you please update Kconfig text and the comment in hid-ortek.c as
> well? It currently refers only to WKB-2000 model.
Yes, will do and repost.
>
> Thanks,
>
> --
> Jiri Kosina
> SUSE Labs, Novell Inc.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
[]'s
Herton
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-16 17:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16 15:48 [PATCH] HID: add support for Ortek PKB-1700 Herton Ronaldo Krzesinski
2011-03-16 15:54 ` Jiri Kosina
2011-03-16 17:03 ` Herton Ronaldo Krzesinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).