Arch Linux package to compile the Linux kernel with patches designed to improve user experience on the Surface Pro 3.
This is based on the offical Linux kernel package provided by Arch Linux at: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/linux .
This AUR package adds the following patches to the official Linux kernel package:
- Camera patch from nuclearsandwich/surface3-archlinux#12 (patch from
colorprint
) - Buttons patch from http://bugzilla.kernel.org/show_bug.cgi?id=84651 (patches from Chen Yu, comment #56) [Included in Linux 4.3+]
- Multitouch patches* from https://gist.github.com/felipeota/afb5f510f5b315f8bed8 .
(an X11 configuration file is also placed in
/etc/X11/xorg.conf.d/
in order to enable right click). Using these patches prevents thecaps lock
indicator led from working properly. See the footnote below for how to disable these patches if this is prohibitive for you.
* The multitouch patches add two-finger scrolling support. Performance under Wayland seems to be poor; but I'm not sure if this
is just due to Wayland. If you want to disable this patch, change line 48 of PKGBUILD to: multitouch='n'
. If disabled, the Xorg
configuration will not be copied to /etc/X11/xorg.conf.d/
.
You will need to have imported gpg keys for the Linux kernel maintainers:
For Linus Torvalds (the major release key):
gpg --recv-keys 79BE3E4300411886
For Greg Kroah-Hartman's key (the stable patch release key):
gpg --recv-keys 38DBBDC86092693E
Then, to build the package, simply run (as usual):
makepkg