[Patch 1/1] HID: Provide support for a new Asus Multitouch Controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

the following patch instructs usbhid/hid-mosart to handle a new Mutlitouch 
controller, built-in by some Asus EeePC T101MT models.



Signed-off-by: Roland Baum <rba@xxxxxxx>
Tested-by: Roland Baum <rba@xxxxxxx>
Acked-by: Stéphane Chatty <chatty@xxxxxxx>
CC: Stéphane Chatty <chatty@xxxxxxx>
CC: Jiri Kosina <jkosina@xxxxxxx>


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);

-----

-- 

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux