public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alex Neblett <alexneblett01@yahoo.com>
To: "Jerome Vidal" <jerom3@free.fr>,
	"Cedric Berthier" <berthiec@gmail.com>,
	"Dmitry Torokhov" <dtor@mail.ru>, "Jiri Kosina" <jkosina@suse.cz>,
	"Stéphane Chatty" <chatty@enac.fr>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Support Pixart Imaging Inc. Optical Touch Screen in Quanta TouchScreen driver
Date: Tue, 2 Feb 2010 21:16:03 -0800 (PST)	[thread overview]
Message-ID: <341299.48295.qm@web82001.mail.mud.yahoo.com> (raw)


Added support for the Pixart Imaging Inc. Optical Touch Screen found
in the MSI AE2220 and other new all in one computers to the Quanta
Optical Touch dual-touch panel driver found in the latest
git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git.

Signed-off-by: Alex Neblett <alexneblett01@yahoo.com>


diff -uNr linux-next/drivers/hid/.directory linux-next-multitouch/drivers/hid/.directory
--- linux-next/drivers/hid/.directory    1969-12-31 18:00:00.000000000 -0600
+++ linux-next-multitouch/drivers/hid/.directory    2010-02-02 22:47:41.875840766 -0600
@@ -0,0 +1,3 @@
+[Dolphin]
+Timestamp=2010,2,2,22,47,41
+ViewMode=1
diff -uNr linux-next/drivers/hid/hid-core.c linux-next-multitouch/drivers/hid/hid-core.c
--- linux-next/drivers/hid/hid-core.c    2010-02-02 22:33:15.479259757 -0600
+++ linux-next-multitouch/drivers/hid/hid-core.c    2010-02-02 22:44:33.125442262 -0600
@@ -1343,6 +1343,7 @@
     { 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_IDhttp://us.mg201.mail.yahoo.com/dc/launch?dgfs=1_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH) },
+    { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_PIXART_IMAGING_INC_OPTICAL_TOUCH_SCREEN) },
     { HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_IR_REMOTE) },
     { HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_CONTROLLER) },
     { HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_VAIO_VGX_MOUSE) },
diff -uNr linux-next/drivers/hid/hid-ids.h linux-next-multitouch/drivers/hid/hid-ids.h
--- linux-next/drivers/hid/hid-ids.h    2010-02-02 22:33:15.479259757 -0600
+++ linux-next-multitouch/drivers/hid/hid-ids.h    2010-02-02 22:45:08.318770969 -0600
@@ -394,6 +394,7 @@
 
 #define USB_VENDOR_ID_QUANTA        0x0408
 #define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH    0x3000
+#define USB_DEVICE_ID_PIXART_IMAGING_INC_OPTICAL_TOUCH_SCREEN    0x3001
 
 #define USB_VENDOR_ID_SAMSUNG        0x0419
 #define USB_DEVICE_ID_SAMSUNG_IR_REMOTE    0x0001
diff -uNr linux-next/drivers/hid/hid-quanta.c linux-next-multitouch/drivers/hid/hid-quanta.c
--- linux-next/drivers/hid/hid-quanta.c    2010-02-02 22:33:15.482592844 -0600
+++ linux-next-multitouch/drivers/hid/hid-quanta.c    2010-02-02 22:45:42.482100482 -0600
@@ -224,6 +224,8 @@
 static const struct hid_device_id quanta_devices[] = {
     { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA,
             USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH) },
+    { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA,
+            USB_DEVICE_ID_PIXART_IMAGING_INC_OPTICAL_TOUCH_SCREEN) },
     { }
 };
 MODULE_DEVICE_TABLE(hid, quanta_devices);

             reply	other threads:[~2010-02-03  5:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03  5:16 Alex Neblett [this message]
2010-02-03 11:00 ` [PATCH] Support Pixart Imaging Inc. Optical Touch Screen in Quanta TouchScreen driver Jiri Kosina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=341299.48295.qm@web82001.mail.mud.yahoo.com \
    --to=alexneblett01@yahoo.com \
    --cc=berthiec@gmail.com \
    --cc=chatty@enac.fr \
    --cc=dtor@mail.ru \
    --cc=jerom3@free.fr \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox