robbi5 / magictrackpad2-dkms

A DKMS module to support the Apple Magic Trackpad 2
GNU General Public License v2.0
104 stars 11 forks source link

magictrackpad2-dkms

A DKMS module for patching the bcm5974 and hid drivers to support the Apple Magic Trackpad 2.

Tested with Kernel 4.4.0-57-generic on Ubuntu 16.04 LTS.

How to install

It should be enough to install the package. If it still doesn't work, you may have to copy the kernel modules from /lib/modules/4.4.0-57-generic/updates/dkms/ to /lib/modules/4.4.0-57-generic/kernel/drivers/hid/

How to configure

Configuration happens in xorg.conf at /usr/share/X11/xorg.conf.d/49-synaptics-bcm5974.conf and with xinput.

If your mouse only moves when you press hard, modify the thresholds:

xinput set-prop "bcm5974" "Synaptics Finger" 0 10 0

How to update

Install the current kernel sources: sudo apt-get install linux-source

The sources are then available at /usr/src/linux-source-4.4.0/linux-source-4.4.0.tar.bz2.

Extract following files to src/bcm5974...:

Extract following files to src/hid...:

Apply the patches in the same folders.

Build a package with make

Thanks: