Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
X11 ChromiumOS touchpad driver ported to Linux
Shell Makefile C C++
Branch: master
Failed to load latest commit information.
conf Initial commit
include Added config file and others from the autoconfig process
man Added config file and others from the autoconfig process
patches Removed patch as it makes things worse, but explained in the README h…
src Removed last change and put it in a patch
xorg-conf Updated 20-mouse.conf to disable X11 acceleration and reduce the speed
LICENSE Initial commit
Makefile Added config file and others from the autoconfig process
Makefile.am Initial commit
Makefile.in Added config file and others from the autoconfig process
README Initial commit
README.md Removed patch as it makes things worse, but explained in the README h…
aclocal.m4 Added config file and others from the autoconfig process
apply_patches.sh Synced latest upstream code and placed changes in patches dir
autogen.sh Added +x for autogen.sh
compile Added config file and others from the autoconfig process
config.guess Added config file and others from the autoconfig process
config.h Added config file and others from the autoconfig process
config.h.in Added config file and others from the autoconfig process
config.log Added config file and others from the autoconfig process
config.status Added config file and others from the autoconfig process
config.sub Added config file and others from the autoconfig process
configure Added config file and others from the autoconfig process
configure.ac Initial commit
depcomp Added config file and others from the autoconfig process
install-sh Added config file and others from the autoconfig process
libtool Added config file and others from the autoconfig process
ltmain.sh Added config file and others from the autoconfig process
missing Added config file and others from the autoconfig process
stamp-h1 Added config file and others from the autoconfig process
xorg-cmt.pc Added config file and others from the autoconfig process
xorg-cmt.pc.in Initial commit

README.md

xf86-input-cmt

X11 ChromiumOS touchpad driver ported to Linux

This driver depends on libgestures: https://github.com/hugegreenbug/libgestures and libevdevc: https://github.com/hugegreenbug/libevdevc

Compiling

./apply_patches.sh ./configure --prefix=/usr make make install

Configuring

You will need to copy over the config files for the driver to the appropriate locations. The config files are in the xorg-conf directory in this repo. For a trackpad, copy over the 40-touchpad-cmt.conf, and a 50-touchpad-cmt file that matches your device to the xorg.conf.d directory for your system (/usr/share/X11/xorg.conf.d on Ubuntu). For all mice, copy 20-mouse.conf to /usr/share/X11/xorg.conf.d

If you use the Ubuntu package, the config files are installed in /usr/share/xf86-input-cmt.

You will also need to move your old config file out of the way or remove the previous driver. If you were using the synaptics driver, move the synaptics.conf (/usr/share/X11/xorg.conf.d/50-synaptics.conf on Ubuntu) to something other than .conf or remove the synaptics driver.

Options can be modified with xinput. You can list all the properties available to change:

xinput --list-props 12

Where 12 is the id of your trackpad. It may or may not be 12. You can list all of your devices to find which one is your trackpad:

xinput

Place the options you wish to change in the touchpad config file that you copied over to /usr/share/X11/xorg.conf.d.

My tweaks for the Acer C720 are:

Option "Two Finger Pressure Diff Thresh" "80.0"

Option "Tap Drag Enable" "1"

Option "Tap Drag Delay" "0.060000"

Option "AccelerationScheme" "none"

Option "AccelerationNumerator" "0"

Option "AccelerationDenominator" "1"

Option "AccelerationThreshold" "0"

Notes

Standard X acceleration settings will interfere with the driver settings and make the pointer less responsive. Disable them by putting the following in 40-touchpad-cmt.conf:

Option "AccelerationProfile" "-1" Option "AccelerationScheme" "none" Option "AccelerationNumerator" "0" Option "AccelerationDenominator" "1" Option "AccelerationThreshold" "0"

This driver works best if the X server is set to use 133 as the dpi. This can be done by start X with the -dpi 133. In Ubuntu, lightdm starts X with the command in /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf

Packages

There is an ubuntu ppa with the latest releases here: https://launchpad.net/~hugegreenbug/+archive/cmt2 . There is an ubuntu ppa with the old stack here: https://launchpad.net/~hugegreenbug/+archive/cmt .

Something went wrong with that request. Please try again.