Skip to content

robbi5/magictrackpad2-dkms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

A DKMS module to support the Apple Magic Trackpad 2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages