Hello,
I am using a Mid-2012 Macbook Pro 9,2, and I am trying to get the trackpad working on my Arch Linux os. When I use evdev with my built-in trackpad, the mouse does not move at all - although click events still seem to work. Is there any way I can fix this myself? Or is there a way to control mouse movements from within touchegg? Right now I'm thinking being able to assign a 1-finger drag gesture to a mouse movement action. Is this possible to do in Xorg?
Comment #1
Posted on Apr 6, 2013 by Grumpy WombatI made a lot more progress today. Using instructions from: https://bbs.archlinux.org/viewtopic.php?id=150276 It's possible to run touchegg using driver "synaptics". And oh my goodness, it's working beautifully.
I updated the pkgbuild to support the current synaptics-1.7.0 in Arch Linux, I'll put it on the AUR asap. However, I believe this method of using touchegg against the synaptics driver should be documented officially since it appears to be the only way to have it running on more recent MacBooks.
Comment #2
Posted on Apr 6, 2013 by Grumpy WombatThis is what I managed to put together:
Instructions for MacbookPro Mid-2012 (9,2) running Arch Linux
Unlike other systems, evdev does not handle the mouse movement properly in newer Macbooks. This can be worked around by patching the synaptics driver to ignore certain gestures.
Those not using Arch Linux will have to download the source from http://xorg.freedesktop.org/releases/individual/driver/xf86-input-synaptics-1.6.2.tar.bz2 and apply jfeick's patch: https://raw.github.com/jfeick/xf86-input-synaptics-mtpatch/master/send_multitouch_events.patch . Then compile & install.
In Arch Linux, you can use the following AUR package: https://aur.archlinux.org/packages.php?ID=63416
As of April 6 2013 it's a little out of date, you'll need to replace PKGBUILD with http://pastebin.com/kb2Qq4kk if you run into compilation problems.
-- Configuration
Place the following into 10-synaptics.conf (or xorg.conf) Section "InputClass" Identifier "touchpad_catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "TapButton2" "0" #Allow touchegg to handle these functions Option "VertTwoFingerScroll" "0" Option "HorizTwoFingerScroll" "0" EndSection
Bells and Whistles:
To speed up the tap-click response, add Option SingleTapTimeout "50"
If you prefer using OSX's three-finger drag instead of tap-drag, do the following: Disable double-tap drag by adding in 10-synaptics.conf: Option MaxDoubleTapTime "0"
And add the following into touchegg.conf:
Comment #3
Posted on Apr 8, 2013 by Quick BearHi!
The driver to use is synaptics: http://code.google.com/p/touchegg/wiki/ConfigureDevices
Only in very old uTouch version, the driver evdev must be used. Thank you very much for your tutorial!
Comment #4
Posted on Apr 8, 2013 by Grumpy WombatMy concern is that I did not find any official documentation mention the use of Driver "synaptics" in X configuration. It took a lot of time to figure out and I believe mentioning it in the wiki will save a lot of future users a lot of trouble.
Comment #5
Posted on Apr 6, 2014 by Helpful WombatHello!
When I'm trying to compile synaptics driver 1.6.2 in elementary os luna I've get next errors while make:
fake-symbols.c:53:19: error: unknown type name ‘XF86OptionPtr’
all make log in attachement.
Anybody knows what a can do?
- make log 10.71KB
Status: Done
Labels:
Type-Configuration