errorenelmirror / touchegg

Automatically exported from code.google.com/p/touchegg
1 stars 0 forks source link

evdev does not allow normal mouse movement? #203

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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?

Original issue reported on code.google.com by theoboen...@gmail.com on 6 Apr 2013 at 7:09

GoogleCodeExporter commented 8 years ago
I 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.

Original comment by theoboen...@gmail.com on 6 Apr 2013 at 8:30

GoogleCodeExporter commented 8 years ago
This 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_multitouc
h_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:
        <gesture type="DRAG" fingers="3" direction="ALL">
            <action type="DRAG_AND_DROP"></action>
        </gesture>

Original comment by theoboen...@gmail.com on 6 Apr 2013 at 9:23

GoogleCodeExporter commented 8 years ago
Hi!

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!

Original comment by jose.exposito89@gmail.com on 8 Apr 2013 at 3:00

GoogleCodeExporter commented 8 years ago
My 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.

Original comment by theoboen...@gmail.com on 8 Apr 2013 at 3:49

GoogleCodeExporter commented 8 years ago
Hello!

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?

Original comment by e.ak...@gmail.com on 6 Apr 2014 at 4:53

Attachments: