You are not logged in.

#1 2008-03-31 03:41:39

miguimon
Member
From: Sydney
Registered: 2008-02-28
Posts: 37
Website

MacBook touchpad and latest kernel

Hi everybody,


My first post! I'm having some problems with the latest release of the kernel (kernel26-2.6.24.4-1). After rebooting the system the touchpad doesn't work anymore (But yes with usb mouse). I been trying to reinstall the kernel26 package and synaptic but nothing, still same. My MacBook (white) is a Core 2 Duo 2.20GHz bought in December 2007. 


xorg.conf (Synaptics section)

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option          "SendCoreEvents"        "true"
Option          "Device"                "/dev/psaux"
Option          "Protocol"              "auto-dev
# not using edge scrolling
Option          "HorizEdgeScroll"       "0"
Option          "VertEdgeScroll"        "0"
# use two finger scrolling
Option          "VertTwoFingerScroll"   "1"
Option          "HorizTwoFingerScroll"  "0" # set to 0 if you don't want horizontal scrolling
# scroll speed, lower is faster
Option          "HorizScrollDelta"      "10"
Option          "VertScrollDelta"       "10"
# minimum pressure motion factor
Option          "PressureMotionMinZ"    "10"
# touch and untouch thresholds, higher numbers if you like to push hard
Option          "FingerLow"             "10"
Option          "FingerHigh"            "20" # change to 30 or 40 if you like
# borders based on output from synclient
Option          "LeftEdge"              "20"
Option          "RightEdge"             "1200"
Option          "TopEdge"               "20
Option          "BottomEdge"            "370"
# speeds, smaller number for a slower mouse
Option          "MinSpeed"              "0.8" # 0.5 is very slow, 1.5 is very fast
Option          "MaxSpeed"              "1.2" # up to 1.5 works ok
Option          "AccelFactor"           "0.10"
# tap times, change to suit your tapping habits
Option          "MaxTapMove"            "100
Option          "MaxTapTime"            "100"
Option          "MaxDoubleTapTime"      "200"
# don't change these or two finger tap stops working
Option          "TapButton2"            "3"
Option          "TapButton3"            "2"
# must be commented out or normal tapping wont work
Option         "TapButton1"            "0"
# needed for disabled while typing fix
Option          "SHMConfig"             "true"
EndSection

mkinitcpio.conf

#     MODULES="piix ide_disk reiserfs"
MODULES="ata_generic ata_piix"


#    HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev autodetect pata scsi sata keymap filesystems"

Any tip or help?
Thanks smile

Offline

#2 2008-03-31 06:43:07

crc32
Member
Registered: 2007-05-13
Posts: 23

Re: MacBook touchpad and latest kernel

Do you have the appletouch module loaded?
It should be autoloaded but this would be the first thing I'd check.

Offline

#3 2008-03-31 08:04:51

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: MacBook touchpad and latest kernel

Here's my rc.conf and touchpad is working all the time.

MODULES=(applesmc appletouch pcspkr cpufreq_conservative acpi \  
         usbhid ath_pci acpi-cpufreq battery ac button thermal \
         uvcvideo
        )

Offline

#4 2008-03-31 21:54:11

tizoc
Member
Registered: 2006-07-28
Posts: 57

Re: MacBook touchpad and latest kernel

I have a macbook with the same specs as yours and I'm not having any problems with the touchpad.

Do you have this in your ServerLayout section??

        InputDevice    "TouchPad" "SendCoreEvents"

also, I'm using /dev/input/mouse1 as the device instead of /dev/psaux

Section "InputDevice"
        Identifier      "TouchPad"
        Driver          "synaptics"
        Option          "SendCoreEvents"
       #Option          "Device"                "/dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-mouse"
        Option          "Device"                "/dev/input/mouse1"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
        Option          "SHMConfig"             "true"

        # How fast the two-finger scrolling scrolls. The lower, the faster.
        Option          "VertScrollDelta"       "25"
        Option          "HorizScrollDelta"      "25"

        # Location of the touchpad edges, somewhat sane values
        # that I found by testing. Xmin=0, Xmax=1216, Ymin=0,Ymax=387
        Option          "LeftEdge"              "100"
        Option          "RightEdge"             "1116"
        Option          "TopEdge"               "50"
        Option          "BottomEdge"            "337"
        
        # Touch and "untouch" thresholds
        Option          "FingerLow"             "25"
        Option          "FingerHigh"            "50"
        
        # We DO NOT want palm triggering middle/right mouse
        # button events, so a tap has to be quite fast
        Option          "MaxTapTime"            "400"
        Option          "MaxTapMove"            "200"
        Option          "MaxDoubleTapTime"      "600"

        # Enable circular scrolling
        Option          "CircularScrolling"     "on"
        Option          "CircScrollTrigger"     "3"

        # Enable vertical (right) edge scrolling with one finger
        Option          "VertEdgeScroll"        "1"
        # Enable horizontal (bottom) edge scrolling with one finger
        Option          "HorizEdgeScroll"       "0"

        # Disable two finger scrolling, as we have the edge scrolling enabled already
        Option          "VertTwoFingerScroll"   "0"
        Option          "HorizTwoFingerScroll"  "0"

        # Left top corner of the touchpad shall be the middle mouse button
        # Bottom buttons tend to get triggered accidentally.
        Option          "LTCornerButton"        "2"

        # Right top corner of the touchpad shall be the right mouse button
        Option          "RTCornerButton"        "3"

        # Disable bottom corners
        Option          "LBCornerButton"        "0"
        Option          "RBCornerButton"        "0"

        # Fast taps
        Option          "FastTaps"              "0"

        # Disable tapping of the touchpad (excluding the corners, of course)
        Option          "TapButton1"            "0"
        Option          "TapButton2"            "0"
        Option          "TapButton3"            "0"

        # Movement speed settings
        Option          "MinSpeed"              "0.2"
        Option          "MaxSpeed"              "0.6"
        Option          "AccelFactor"           "0.35"

        # Palm detection. Does not seem to work on Macbook
        Option          "PalmDetect"            "1"
        Option          "PalmMinWidth"          "10"    #1-15
        Option          "PalmMinZ"              "200"   #1-255

        # Various other variables
        Option          "UpDownScrolling"       "0"
        Option          "LeftRightScrolling"    "0"
EndSection

Offline

#5 2008-04-01 04:58:35

miguimon
Member
From: Sydney
Registered: 2008-02-28
Posts: 37
Website

Re: MacBook touchpad and latest kernel

Solved! The problem was in the ServerLayout because I had a different InputDevice for the TouchPad that for some reason was not working with the latest kernel.

tizoc, do you also have right click working on your macbook?


thanks everybody

Offline

#6 2008-04-01 16:40:35

tizoc
Member
Registered: 2006-07-28
Posts: 57

Re: MacBook touchpad and latest kernel

miguimon, yes, if I tap the upper right corner of the touchpad that works as the right click, and the upper left corner works as te middle click (LTCornerButton and RTCornerButton options).

Offline

Board footer

Powered by FluxBB