28 Jun 03:33
[PATCH] input: Add support for eGalax TouchKit USB touchscreen used on HP tx1305us
From: Alastair Bridgewater <nyef <at> lisphacker.com>
Subject: [PATCH] input: Add support for eGalax TouchKit USB touchscreen used on HP tx1305us
Newsgroups: gmane.linux.kernel.input, gmane.linux.kernel
Date: 2008-06-28 01:36:47 GMT
Subject: [PATCH] input: Add support for eGalax TouchKit USB touchscreen used on HP tx1305us
Newsgroups: gmane.linux.kernel.input, gmane.linux.kernel
Date: 2008-06-28 01:36:47 GMT
The eGalax touchscreen used in the HP tx1305us tablet PC (and presumably
the rest of the tx1000 series) uses a different format for events from
the device than the existing driver supports.
Add a new device description and interrupt packet handler for the
touchscreen used in the tx1305us, claiming the USB device ID for the
device that this patch was tested with from the older eGalax device code.
Signed-off-by: Alastair Bridgewater <nyef <at> lisphacker.com>
---
Applies clean with linux-2.6.25 and linux-2.6.26-rc6.
--- linux-2.6.26-rc6/drivers/input/touchscreen/usbtouchscreen.c
2008-06-27 20:34:34.886969800 -0400
+++ linux-2.6.25/drivers/input/touchscreen/usbtouchscreen.c
2008-06-06 12:19:16.460568440 -0400
@@ -103,6 +103,7 @@ struct usbtouch_usb {
enum {
DEVTPYE_DUMMY = -1,
DEVTYPE_EGALAX,
+ DEVTYPE_EGALAX2,
DEVTYPE_PANJIT,
DEVTYPE_3M,
DEVTYPE_ITM,
@@ -120,7 +121,7 @@ static struct usb_device_id usbtouch_dev
{USB_DEVICE(0x3823, 0x0001), .driver_info = DEVTYPE_EGALAX},
{USB_DEVICE(0x3823, 0x0002), .driver_info = DEVTYPE_EGALAX},
{USB_DEVICE(0x0123, 0x0001), .driver_info = DEVTYPE_EGALAX},
(Continue reading)
RSS Feed