Skip to content
A DKMS module to support the Apple Magic Trackpad 2
C Other
  1. C 99.1%
  2. Other 0.9%
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
usr
.gitignore
CHANGELOG
LICENSE
Makefile
README.md

README.md

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...:

  • /linux-source-4.4.0/drivers/input/mouse/bcm5974.c

Extract following files to src/hid...:

  • /linux-source-4.4.0/drivers/hid/hid-apple.c
  • /linux-source-4.4.0/drivers/hid/hid-core.c
  • /linux-source-4.4.0/drivers/hid/hid-debug.c
  • /linux-source-4.4.0/drivers/hid/hid-ids.h
  • /linux-source-4.4.0/drivers/hid/hid-input.c
  • /linux-source-4.4.0/drivers/hid/hidraw.c

Apply the patches in the same folders.

Build a package with make

Thanks:

You can’t perform that action at this time.