HID: Provide support for a new Asus Multitouch Controller
PATCH 1/1 HID: Provide support for a new Asus Multitouch Controller
Hello,
the following patch instructs usbhid/hid-mosart to handle a new Mutlitouch controller, built-in by some Asus EeePC T101MT models.
Build against 2.6.32
-----
diff -rupN linux-source-2.6.32-orig/drivers/hid/hid-core.c linux-source-2.6.32- modified/drivers/hid/hid-core.c
--- linux-source-2.6.32-orig/drivers/hid/hid-core.c 2010-08-19
03:12:22.000000000 +0200
+++ linux-source-2.6.32-modified/drivers/hid/hid-core.c 2010-09-04 20:01:14.539265355 +0200
@@ -1294,6 +1294,7 @@ static const struct hid_device_id hid_bl
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE,USB_DEVICE_ID_APPLE_FOUNTAIN_TP_ONLY) },
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE,USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY) },
{ HID_USB_DEVICE(USB_VENDOR_ID_BELKIN, USB_DEVICE_ID_FLIP_KVM) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_ASUS,USB_DEVICE_ID_ASUSTEK_MULTITOUCH_YFO)},
{ HID_USB_DEVICE(USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION)
},
{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY,USB_DEVICE_ID_CHICONY_TACTICAL_PAD) },
{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS,USB_DEVICE_ID_CYPRESS_BARCODE_1) },
diff -rupN linux-source-2.6.32-orig/drivers/hid/hid-ids.h linux-source-2.6.32- modified/drivers/hid/hid-ids.h
--- linux-source-2.6.32-orig/drivers/hid/hid-ids.h 2010-08-19
03:12:22.000000000 +0200
+++ linux-source-2.6.32-modified/drivers/hid/hid-ids.h 2010-09-04 20:00:14.050826601 +0200
@@ -101,6 +101,7 @@
#define USB_VENDOR_ID_ASUS 0x0486
#define USB_DEVICE_ID_ASUS_T91MT 0x0185
+#define USB_DEVICE_ID_ASUSTEK_MULTITOUCH_YFO 0x0186
#define USB_VENDOR_ID_ASUSTEK 0x0b05
#define USB_DEVICE_ID_ASUSTEK_LCM 0x1726
diff -rupN linux-source-2.6.32-orig/drivers/hid/hid-mosart.c linux- source-2.6.32-modified/drivers/hid/hid-mosart.c
--- linux-source-2.6.32-orig/drivers/hid/hid-mosart.c 2010-08-19
03:12:22.000000000 +0200
+++ linux-source-2.6.32-modified/drivers/hid/hid-mosart.c 2010-09-04
20:01:54.523282460 +0200
@@ -238,6 +238,7 @@ static void mosart_remove(struct hid_dev
static const struct hid_device_id mosart_devices[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUS, USB_DEVICE_ID_ASUS_T91MT) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_ASUS,
USB_DEVICE_ID_ASUSTEK_MULTITOUCH_YFO)},
{ } };
MODULE_DEVICE_TABLE(hid, mosart_devices);
-----
Signature · 6 lines
Greetings from Frankfurt/Main, Germany. Roland Baum -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · Roland Baum
the following patch instructs usbhid/hid-mosart to handle a new Mutlitouch controller, built-in by some Asus EeePC T101MT models.
Roland,
your patch has been line-wrapped, so it can't be applied as-is. Could you please fix your mail client so that it doesn't damage the formatting of the patch, and resend?
(alternatively, you can send it as an attachment).
Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs, Novell Inc.
Am Mittwoch, 8. September 2010, um 12:07:00 schrieb Jiri Kosina:
Quoted 4 lines
your patch has been line-wrapped, so it can't be applied as-is. Could you please fix your mail client so that it doesn't damage the formatting of the patch, and resend?
(alternatively, you can send it as an attachment).
Sorry.
Better now ?
Quoted 4 lines
Thanks,
You're welcome.
-------------------------------------------------------
drivers/hid/hid-core.c 2010-09-04 20:01:14.539265355 +0200 renamed from drivers/hid/hid-core.c 2010-08-19 03:12:22.000000000 +0200 +1 -0
@@ -1294,6 +1294,7 @@ static const struct hid_device_id hid_bl { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_FOUNTAIN_TP_ONLY) }, { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY) }, { HID_USB_DEVICE(USB_VENDOR_ID_BELKIN, USB_DEVICE_ID_FLIP_KVM) }, + { HID_USB_DEVICE(USB_VENDOR_ID_ASUS, USB_DEVICE_ID_ASUSTEK_MULTITOUCH_YFO)}, { HID_USB_DEVICE(USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION) }, { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_TACTICAL_PAD) }, { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_1) },
drivers/hid/hid-ids.h 2010-09-04 20:00:14.050826601 +0200 renamed from drivers/hid/hid-ids.h 2010-08-19 03:12:22.000000000 +0200 +1 -0
@@ -101,6 +101,7 @@ #define USB_VENDOR_ID_ASUS 0x0486 #define USB_DEVICE_ID_ASUS_T91MT 0x0185 +#define USB_DEVICE_ID_ASUSTEK_MULTITOUCH_YFO 0x0186 #define USB_VENDOR_ID_ASUSTEK 0x0b05 #define USB_DEVICE_ID_ASUSTEK_LCM 0x1726
drivers/hid/hid-mosart.c 2010-09-04 20:01:54.523282460 +0200 renamed from drivers/hid/hid-mosart.c 2010-08-19 03:12:22.000000000 +0200 +1 -0
@@ -238,6 +238,7 @@ static void mosart_remove(struct hid_dev static const struct hid_device_id mosart_devices[] = { { HID_USB_DEVICE(USB_VENDOR_ID_ASUS, USB_DEVICE_ID_ASUS_T91MT) }, + { HID_USB_DEVICE(USB_VENDOR_ID_ASUS, USB_DEVICE_ID_ASUSTEK_MULTITOUCH_YFO)}, { } }; MODULE_DEVICE_TABLE(hid, mosart_devices);
-------------------------------------------------------
Signature · 3 lines
Greetings from Frankfurt/Main Roland Baum
Quoted 8 lines · Roland Baum
Quoted 4 lines
your patch has been line-wrapped, so it can't be applied as-is. Could you please fix your mail client so that it doesn't damage the formatting of the patch, and resend?
(alternatively, you can send it as an attachment).Sorry.
Better now ?
Yes, applied. Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs, Novell Inc.