[relug] Re: [ppc] adbmouse && synaptics

  • From: Luca Bigliardi - shammash <shammash@xxxxxxxxx>
  • To: relug@xxxxxxxxxxxxx
  • Date: Sun, 7 Aug 2005 15:33:12 +0200

On Sun, Aug 07, 2005 at 02:27 AM, Daniele Menozzi wrote:

> Ma sicuramente una chiaccherata con matthias potra' aprirti la mente :)

Ho dato un'occhiata ai sorci di pbbuttonsd e ho provato a fare una
patch (che pero' non ho ancora avuto il tempo di provare.. ).
Fatemi sapere se funziona o se fammerda.


grazie
        Luca

-- 
Beware of programmers who carry screwdrivers.
                        -- Leonard Brandwein

http://shammash.homelinux.org/ - http://www.artha.org/shammash/
--- module_pmac.c_ORIG  2005-08-07 14:58:48.000000000 +0200
+++ module_pmac.c       2005-08-07 15:00:00.000000000 +0200
@@ -1069,7 +1069,8 @@
                        if ((ADBBuffer[2] == 0x74) &&
                             (ADBBuffer[3] == 0x70) &&          /* 'tpad' */
                             (ADBBuffer[4] == 0x61) &&
-                            (ADBBuffer[5] == 0x64)) {
+                            (ADBBuffer[5] == 0x64) &&
+                            (ADBBuffer[8] == 0x03)) {
                                return n;
                        }
                }

Other related posts: