All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch 1/1] HID: Provide support for a new Asus Multitouch Controller
@ 2010-09-06  9:21 Roland Baum
  2010-09-08 10:07 ` Jiri Kosina
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Baum @ 2010-09-06  9:21 UTC (permalink / raw)
  To: linux-input; +Cc: jkosina, Stéphane Chatty

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@tr33.de>
Tested-by: Roland Baum <rba@tr33.de>
Acked-by: Stéphane Chatty <chatty@enac.fr>
CC: Stéphane Chatty <chatty@enac.fr>
CC: Jiri Kosina <jkosina@suse.cz>


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Patch 1/1] HID: Provide support for a new Asus Multitouch Controller
  2010-09-06  9:21 [Patch 1/1] HID: Provide support for a new Asus Multitouch Controller Roland Baum
@ 2010-09-08 10:07 ` Jiri Kosina
  2010-09-08 11:55   ` Roland Baum
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Kosina @ 2010-09-08 10:07 UTC (permalink / raw)
  To: Roland Baum; +Cc: linux-input, Stéphane Chatty

On Mon, 6 Sep 2010, Roland Baum wrote:

> 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,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Patch 1/1] HID: Provide support for a new Asus Multitouch Controller
  2010-09-08 10:07 ` Jiri Kosina
@ 2010-09-08 11:55   ` Roland Baum
  2010-09-08 12:28     ` Jiri Kosina
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Baum @ 2010-09-08 11:55 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-input, Stéphane Chatty

Am Mittwoch, 8. September 2010, um 12:07:00 schrieb Jiri Kosina:
> 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 ?

> 
> Thanks,
> 
> 

You're welcome.

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

Roland Baum



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Patch 1/1] HID: Provide support for a new Asus Multitouch Controller
  2010-09-08 11:55   ` Roland Baum
@ 2010-09-08 12:28     ` Jiri Kosina
  0 siblings, 0 replies; 4+ messages in thread
From: Jiri Kosina @ 2010-09-08 12:28 UTC (permalink / raw)
  To: Roland Baum; +Cc: linux-input, Stéphane Chatty

On Wed, 8 Sep 2010, Roland Baum wrote:

> > 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,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-08 12:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-06  9:21 [Patch 1/1] HID: Provide support for a new Asus Multitouch Controller Roland Baum
2010-09-08 10:07 ` Jiri Kosina
2010-09-08 11:55   ` Roland Baum
2010-09-08 12:28     ` Jiri Kosina

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.