hugegreenbug / xf86-input-cmt

X11 ChromiumOS touchpad driver ported to Linux
BSD 3-Clause "New" or "Revised" License
82 stars 15 forks source link

How to revert to Synaptics driver? #34

Open tonymurray opened 7 years ago

tonymurray commented 7 years ago

Hi Hugh,

Thanks for making the driver available. Unfortunately I was unable to install. This may be due to (1) I use KDE/SDDM (2) I'm on latest Ubuntu from April 2017 (Zesty) - or a combination

I think my issue relates to problem installing libgesture.
I am getting the following error when running (installAcer720CTouchPadDriver.sh)/installing libgesture/make:

include/gestures/include/finger_metrics.h:38:25: error: 'sqrtf' was not declared in this scope

For now I would like to revert to the Synaptics driver since my touchpad no longer works in KDE/Crouton. (Meanwhile an external mouse works OK)

Is there a straightforward way to do this? - revert to using Synaptics driver?


Update:

I added:

include

to the includes at the top of the file include/gestures/include/finger_metrics.h

(as suggested here https://stackoverflow.com/questions/16518210/sqrt-is-not-a-member-of-std)

.. then manually went through the steps/commands in installAcer720CTouchPadDriver.sh (from the point where where libgesture had failed)

This time everything worked.

Would still be interested to know the best way to switch back to the synaptics driver?