Revision: 64
          http://svn.sourceforge.net/mactel-linux/?rev=64&view=rev
Author:   nboichat
Date:     2006-11-26 06:42:31 -0800 (Sun, 26 Nov 2006)

Log Message:
-----------
Add Geyser 4 devices support to appletouch.

Added Paths:
-----------
    trunk/kernel/mactel-patches-2.6.18/appletouch-geyser4.patch

Added: trunk/kernel/mactel-patches-2.6.18/appletouch-geyser4.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.18/appletouch-geyser4.patch                 
        (rev 0)
+++ trunk/kernel/mactel-patches-2.6.18/appletouch-geyser4.patch 2006-11-26 
14:42:31 UTC (rev 64)
@@ -0,0 +1,36 @@
+--- linux/drivers/usb/input/appletouch.c.orig  2006-11-08 11:28:43.000000000 
-0600
++++ linux/drivers/usb/input/appletouch.c       2006-11-08 10:10:21.000000000 
-0600
+@@ -47,6 +47,10 @@
+ #define GEYSER3_ISO_PRODUCT_ID        0x0218
+ #define GEYSER3_JIS_PRODUCT_ID        0x0219
+ 
++#define GEYSER4_ANSI_PRODUCT_ID 0x021A
++#define GEYSER4_ISO_PRODUCT_ID        0x021B
++#define GEYSER4_JIS_PRODUCT_ID        0x021C
++
+ #define ATP_DEVICE(prod)                                      \
+       .match_flags = USB_DEVICE_ID_MATCH_DEVICE |             \
+                      USB_DEVICE_ID_MATCH_INT_CLASS |          \
+@@ -72,6 +76,10 @@
+       { ATP_DEVICE(GEYSER3_ISO_PRODUCT_ID) },
+       { ATP_DEVICE(GEYSER3_JIS_PRODUCT_ID) },
+ 
++      { ATP_DEVICE(GEYSER4_ANSI_PRODUCT_ID) },
++      { ATP_DEVICE(GEYSER4_ISO_PRODUCT_ID) },
++      { ATP_DEVICE(GEYSER4_JIS_PRODUCT_ID) },
++
+       /* Terminating entry */
+       { }
+ };
+@@ -174,7 +182,10 @@
+ 
+       return (productId == GEYSER3_ANSI_PRODUCT_ID) ||
+               (productId == GEYSER3_ISO_PRODUCT_ID) ||
+-              (productId == GEYSER3_JIS_PRODUCT_ID);
++              (productId == GEYSER3_JIS_PRODUCT_ID) ||
++              (productId == GEYSER4_ANSI_PRODUCT_ID) ||
++              (productId == GEYSER4_ISO_PRODUCT_ID) ||
++              (productId == GEYSER4_JIS_PRODUCT_ID);
+ }
+ 
+ static int atp_calculate_abs(int *xy_sensors, int nb_sensors, int fact,


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mactel-linux-devel mailing list
Mactel-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel

Reply via email to