The appletouch patch is a hack. ;) It is just forcing the driver to use the Geyer 3 settings. It works okay, but I think it will need more work to be truely supported.

The hid-core patch just makes the function keys work and allows the appletouch driver to get to the touchpad.

I will keep researching the Geyser 4 and I will see if I can put it what it needs to be fully supported.

Thanks!

Scott  =)

--
Electrical Engineering/Web Development
Dragonfly Technologies, Inc.                 http://www.dflytech.com
Hunt Utilities Group LLC                     http://www.hugllc.com
Hopkins, MN                                  (952) 935-2418

--- appletouch.c.orig   2006-11-08 11:28:43.000000000 -0600
+++ 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,
--- hid-core.c.orig     2006-11-08 10:11:58.000000000 -0600
+++ hid-core.c  2006-11-08 10:12:58.000000000 -0600
@@ -1591,6 +1591,9 @@
 #define USB_DEVICE_ID_APPLE_GEYSER3_ANSI       0x0217
 #define USB_DEVICE_ID_APPLE_GEYSER3_ISO                0x0218
 #define USB_DEVICE_ID_APPLE_GEYSER3_JIS                0x0219
+#define USB_DEVICE_ID_APPLE_GEYSER4_ANSI       0x021A
+#define USB_DEVICE_ID_APPLE_GEYSER4_ISO                0x021B
+#define USB_DEVICE_ID_APPLE_GEYSER4_JIS                0x021C
 #define USB_DEVICE_ID_APPLE_IR  0x8240
 
 #define USB_VENDOR_ID_CHERRY           0x046a
@@ -1744,6 +1747,9 @@
        { USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_ANSI, 
HID_QUIRK_POWERBOOK_HAS_FN | HID_QUIRK_IGNORE_MOUSE},
        { USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_ISO, 
HID_QUIRK_POWERBOOK_HAS_FN | HID_QUIRK_IGNORE_MOUSE},
        { USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_JIS, 
HID_QUIRK_POWERBOOK_HAS_FN | HID_QUIRK_IGNORE_MOUSE},
+       { USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_ANSI, 
HID_QUIRK_POWERBOOK_HAS_FN | HID_QUIRK_IGNORE_MOUSE},
+       { USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_ISO, 
HID_QUIRK_POWERBOOK_HAS_FN | HID_QUIRK_IGNORE_MOUSE},
+       { USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_JIS, 
HID_QUIRK_POWERBOOK_HAS_FN | HID_QUIRK_IGNORE_MOUSE},
        { USB_VENDOR_ID_APPLE, 0x020E, HID_QUIRK_POWERBOOK_HAS_FN | 
HID_QUIRK_IGNORE_MOUSE},
        { USB_VENDOR_ID_APPLE, 0x020F, HID_QUIRK_POWERBOOK_HAS_FN | 
HID_QUIRK_IGNORE_MOUSE},
        { USB_VENDOR_ID_APPLE, 0x030A, HID_QUIRK_POWERBOOK_HAS_FN | 
HID_QUIRK_IGNORE_MOUSE},
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mactel-linux-devel mailing list
Mactel-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel

Reply via email to