This looks relevant:

-commit d5ff9d8b0b186cf39695df84a10984eac559b746
+    Turn down the default sensitivity for unibody MacBook touchpads
+    
+    The touchpads are too sensitive by default. A touch is activated when a
+    finger hovers a millimeter off the device. This change turns down the
+    default sensitivity so that accidental touchpad interactions are
+    lessened and pointer interaction accuracy is increased.
+    
+    Signed-off-by: Chase Douglas <chase.doug...@canonical.com>
+    Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net>
+    Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
+
+commit 4fa880d2b1e1805e90827af5bbb483e268ac68a3
+Author: Chase Douglas <chase.doug...@canonical.com>
+Date:   Fri Jun 8 13:53:37 2012 -0700
+
+    Add MODEL_UNIBODY_MACBOOK touchpad model for bcm5974 devices
+    
+    Initially, treat them the same as MODEL_APPLETOUCH devices, as that is
+    what they were recognized as before.
+    
+    Signed-off-by: Chase Douglas <chase.doug...@canonical.com>
+    Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
+

...

 static void
 calculate_edge_widths(SynapticsPrivate * priv, int *l, int *r, int *t, int *b)
 {
@@ -372,7 +299,8 @@
         ewidth = width * .15;
         eheight = height * .15;
     }
-    else if (priv->model == MODEL_APPLETOUCH) {
+    else if (priv->model == MODEL_APPLETOUCH ||
+             priv->model == MODEL_UNIBODY_MACBOOK) {
         ewidth = width * .085;
         eheight = height * .085;
     }
@@ -389,22 +317,26 @@
 
 static void
 calculate_tap_hysteresis(SynapticsPrivate * priv, int range,
-                         int *fingerLow, int *fingerHigh, int *fingerPress)
+                         int *fingerLow, int *fingerHigh)
 {
-    if (priv->model == MODEL_ELANTECH) {
+    switch (priv->model) {
+    case MODEL_ELANTECH:
         /* All Elantech touchpads don't need the Z filtering to get the
          * number of fingers correctly. See Documentation/elantech.txt
          * in the kernel.
          */
         *fingerLow = priv->minp + 1;
         *fingerHigh = priv->minp + 1;
-    }
-    else {
+        break;
+    case MODEL_UNIBODY_MACBOOK:
+        *fingerLow = 70;
+        *fingerHigh = 75;
+        break;
+    default:
         *fingerLow = priv->minp + range * (25.0 / 256);
         *fingerHigh = priv->minp + range * (30.0 / 256);
+        break;
     }
-
-    *fingerPress = priv->minp + range * 1.000;
 }

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-synaptics in Ubuntu.
https://bugs.launchpad.net/bugs/1246215

Title:
  Ubuntu 13.10, wrong settings for Apple (mouse) touchpad in Macbook 4,1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/1246215/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to