Linux Magic Mouse/Trackpad driver as it is in the kernel with the required files to easily run and test it as a DKMS module from: https://github.com/mwyborski/Linux-Magic-Trackpad-2-Driver
$ sudo tail -f /var/log/kern.log
$ sudo ./scripts/install.sh