Open jrussell88 opened 7 years ago
10-evdev.conf contains the section which Xorg appears to be using:
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
As Xorg processes config files in ascending alphabetical order, I moved the Mtrack section from 50-synaptics.conf to a 55-mtrack.conf file:
# Match Apple bcm5974 touchpad
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Apple touchpad"
MatchVendor "05ac"
MatchProduct "Apple|bcm5974"
Driver "mtrack"
# 30-12-2016 Mtrack settings from http://yarenty.blogspot.com/2014/08/how-to-fix-macbook-pro-touchpad-on.html
Option "Sensitivity" "0.65"
Option "FingerHigh" "12"
Option "FingerLow" "4"
Option "IgnoreThumb" "true"
Option "IgnorePalm" "true"
Option "TapButton1" "0"
Option "TapButton2" "0"
Option "TapButton3" "0"
Option "TapButton4" "0"
Option "ClickFinger1" "3"
Option "ClickFinger2" "2"
Option "ClickFinger3" "3"
Option "ButtonMoveEmulate" "true"
Option "ButtonIntegrated" "true"
Option "ClickTime" "25"
Option "BottomEdge" "40"
Option "SwipeLeftButton" "8"
Option "SwipeRightButton" "9"
Option "SwipeUpButton" "0"
Option "SwipeDownButton" "0"
Option "ScrollDistance" "75"
Option "ScrollUpButton" "4"
Option "ScrollDownButton" "5"
Option "ThumbSize" "35"
Option "PalmSize" "55"
Option "DisableOnThumb" "false"
Option "DisableOnPalm" "true"
Option "SwipeDistance" "1000"
Option "ScrollLeftButton" "7"
Option "ScrollRightButton" "6"
Option "AccelerationProfile" "2"
Option "ConstantDeceleration" "2.0" # Decelerate endspeed
Option "AdaptiveDeceleration" "2.0" # Decelerate slow movements
EndSection
I took the vendor id from lsusb:
Bus 001 Device 006: ID 05ac:0263 Apple, Inc. Apple Internal Keyboard / Trackpad (MacBook Retina)
However Xorg.0.log still refers to the libinput driver for the touchpad rather than Mtrack.
I had an error in my mtrack.conf and it was falling back to libinput. I copied pasted from a blog and the line endings were messed up.
Try grepping the log with | grep ouchpad
.
I installed the xserver-xorg-input-mtrack_0.4.1_amd64.deb package on my Ubuntu 16.10 x64 Macbook Retina Pro (MacBookPro11,2) and added a section to /usr/share/X11/xorg.conf.d/50-synaptics.conf.
This didn't change the behaviour of the touchpad.
As Xorg is running in rootless mode I added myself to the Input group.
/var/log/Xorg.0.log refers to InputClass evdev rather than Mtrack:
/usr/share/X11/xorg.conf.d/11-evdev-trackpoint.conf reads:
What should I do to ensure that Mtrack settings are used rather than the generic evdev settings?