Support Pixart Imaging Inc. Optical Touch Screen in Quanta TouchScreen driver
PATCH 1/1 Support Pixart Imaging Inc. Optical Touch Screen in Quanta TouchScreen driver
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 clonegit://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git.
drivers/hid/.directory 2010-02-02 22:47:41.875840766 -0600 renamed from drivers/hid/.directory 1969-12-31 18:00:00.000000000 -0600 +3 -0
@@ -0,0 +1,3 @@ +[Dolphin] +Timestamp=2010,2,2,22,47,41 +ViewMode=1
drivers/hid/hid-core.c 2010-02-02 22:44:33.125442262 -0600 renamed from drivers/hid/hid-core.c 2010-02-02 22:33:15.479259757 -0600 +1 -0
@@ -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) },
drivers/hid/hid-ids.h 2010-02-02 22:45:08.318770969 -0600 renamed from drivers/hid/hid-ids.h 2010-02-02 22:33:15.479259757 -0600 +1 -0
@@ -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
drivers/hid/hid-quanta.c 2010-02-02 22:45:42.482100482 -0600 renamed from drivers/hid/hid-quanta.c 2010-02-02 22:33:15.482592844 -0600 +2 -0
@@ -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);
Quoted 14 lines · Alex Neblett
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 <[email protected]>diff -uNr linux-next/drivers/hid/.directory linux-next-multitouch/drivers/hid/.directory
drivers/hid/.directory 2010-02-02 22:47:41.875840766 -0600 line 3
Quoted 3 lines
drivers/hid/.directory 2010-02-02 22:47:41.875840766 -0600 renamed from drivers/hid/.directory 1969-12-31 18:00:00.000000000 -0600 +3
-0@@ -0,0 +1,3 @@ +[Dolphin] +Timestamp=2010,2,2,22,47,41 +ViewMode=1
Hi Alex,
I guess you don't want this file to be added to the kernel tree, right? :)
drivers/hid/hid-core.c 2010-02-02 22:44:33.125442262 -0600 line 1346
Quoted 8 lines
diff -uNr
linux-next/drivers/hid/hid-core.clinux-next-multitouch/drivers/hid/hid-core.cdrivers/hid/hid-core.c 2010-02-02 22:44:33.125442262 -0600 renamed from drivers/hid/hid-core.c 2010-02-02 22:33:15.479259757 -0600 +1
-0@@ -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) },
Out of curiosity, where did the yahoo.com URL in the patch context come from?
Quoted 18 lines
drivers/hid/hid-core.c 2010-02-02 22:44:33.125442262 -0600 renamed from drivers/hid/hid-core.c 2010-02-02 22:33:15.479259757 -0600 +0
-0{ 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.hlinux-next-multitouch/drivers/hid/hid-ids.hdrivers/hid/hid-ids.h 2010-02-02 22:45:08.318770969 -0600 renamed from drivers/hid/hid-ids.h 2010-02-02 22:33:15.479259757 -0600 +1
-0@@ -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 0x0001diff -uNr
linux-next/drivers/hid/hid-quanta.clinux-next-multitouch/drivers/hid/hid-quanta.c
drivers/hid/hid-quanta.c 2010-02-02 22:45:42.482100482 -0600 line 231
Quoted 8 lines
drivers/hid/hid-quanta.c 2010-02-02 22:45:42.482100482 -0600 renamed from drivers/hid/hid-quanta.c 2010-02-02 22:33:15.482592844 -0600 +2
-0@@ -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);
Anyway I have fixed the above issues manually and applied your patch, but please be aware of this for any submissions in the future.
Thanks!
Signature · 2 lines
Jiri Kosina SUSE Labs, Novell Inc.