Commit graph

1506 commits

Author SHA1 Message Date
Maximilian Luz 7a778734be
Bump Debian pkgrel 2021-10-27 22:53:03 +02:00
Maximilian Luz 1027645b8a
Update v5.14 patches
Changes:
 - Add Surface Aggregator Module support for Surface Pro 8.
   - Add keyboard-cover support (keyboard and touchpad)
   - Add battery status support
   - Add platform profile support

Links:
 - kernel: 43661b9f92
2021-10-27 22:49:00 +02:00
Maximilian Luz 36e910cf42
Enable config options required for Surface Go / Go 2 cameras 2021-10-27 22:29:27 +02:00
Maximilian Luz 68152aaff2
pkg/arch: Set name/email in local git config
We run the PKGBUILD as 'nobody', so we can't set global git config
options. So set local ones instead.
2021-10-27 15:22:27 +02:00
Maximilian Luz f57e4e537e
pkg/arch: Use git to apply commits
Applying patches with 'patch' creates problems when renaming files and
changing them later in a different change in the the same patch file,
causing patch to complain that the file does not exist. So use 'git am'
instead.
2021-10-27 15:06:26 +02:00
Maximilian Luz 6c21326de8
pkg/debian: Speed up cloning of kernel tree
Cloning the full branch takes quite a long time on the Ubuntu mainline
repo. The idea was that this would enable us to use `git am -3`, i.e.
3way merges, but that quite often didn't work in practice anyways. So go
back to a shallow clone.
2021-10-27 15:01:47 +02:00
Maximilian Luz 2c125dec2f
Update Fedora patch commit hash 2021-10-27 14:46:23 +02:00
Maximilian Luz fb1a1688bc
pkg/fedora: Use git to apply patches
Applying patches without git creates problems when renaming files and
changing them later in a different change in the the same patch file,
causing patch to complain that the file does not exist.
2021-10-27 14:44:12 +02:00
Maximilian Luz d5613c70ac
Bump Fedora pkgrel 2021-10-27 14:19:29 +02:00
Maximilian Luz 0c7f406ba9
Bump Debian pkgrel 2021-10-27 14:18:57 +02:00
Maximilian Luz 950a06cc15
Bump Arch pkgrel 2021-10-27 14:18:27 +02:00
Maximilian Luz 1542b2e0e4
Update v5.14 patches
Changes:
 - Add support for world-facing camera on Surface Go and Go 2. See
   https://github.com/linux-surface/kernel/pull/109 for more details.
 - Add wake-via-lid support for Surface Pro 8
2021-10-27 14:14:55 +02:00
Maximilian Luz b7d075c45d
fixup! Update Fedora kernels to 5.14.14 2021-10-23 19:27:41 +02:00
Maximilian Luz 233acb6835
fixup! Update v5.14 patches 2021-10-23 19:27:07 +02:00
Maximilian Luz 9b9abdbbe9
Update Fedora kernels to 5.14.14 2021-10-23 19:15:37 +02:00
Maximilian Luz d0b378658b
Update Debian kernel to 5.14.14 2021-10-23 19:14:38 +02:00
Maximilian Luz 91ec110969
Update Arch kernel to 5.14.14 2021-10-23 19:14:00 +02:00
Maximilian Luz dc24ffb26d
Update v5.14 patches
Changes:
 - Rebase to v5.14.14
2021-10-23 19:11:16 +02:00
Maximilian Luz 88ec4ee1cb
Update Fedora kernels to 5.14.13 2021-10-20 20:33:53 +02:00
Maximilian Luz bcbe1afe6c
Update Arch kernel to 5.14.13 2021-10-20 20:33:05 +02:00
Maximilian Luz edbfceeafa
Update Debian kernel to 5.14.13 2021-10-20 20:31:46 +02:00
Maximilian Luz 6096d8bbe2
Update v5.14 patches
Changes:
 - Rebase to v5.14.13
2021-10-20 20:29:25 +02:00
Maximilian Luz e3ed258e80
Update list of supported devices in README 2021-10-11 15:16:31 +02:00
Maximilian Luz f556c6e83b
Bump Fedora pkgrel 2021-10-10 19:57:41 +02:00
Maximilian Luz ce877c335b
Bump Debian pkgrel 2021-10-10 19:57:15 +02:00
Maximilian Luz c2dea51482
Bump Arch pkgrel 2021-10-10 19:56:43 +02:00
Maximilian Luz 11db9e952d
Update v5.14 patches
Changes:
 - Address issue preventing the Surface HID driver to load on the
   Surface Laptop Studio.
2021-10-10 19:54:54 +02:00
Maximilian Luz 53c6722399
Revert Fedora back to v5.14.10
There is no v5.14.11 source available yet.
2021-10-10 15:51:15 +02:00
Maximilian Luz 6a8236a6af
Update Fedora kernels to 5.14.11 2021-10-10 15:45:59 +02:00
Maximilian Luz f69d2d78b0
Update Debian kernel to 5.14.11 2021-10-10 15:45:12 +02:00
Maximilian Luz 00d66d43e6
Update Arch kernel to 5.14.11 2021-10-10 15:44:29 +02:00
Maximilian Luz 8a14d64a94
Update v4.15 patches
Changes:
 - Fix timeout issue when loading Surface HID driver on Surface Laptop
   Studio.
 - Rebase onto v4.15.11
2021-10-10 15:39:38 +02:00
Maximilian Luz 5ea45b56a8
scripts/diagnostic: Add support for collecting USB information 2021-10-10 02:15:12 +02:00
Maximilian Luz 0ea139d365
scripts/diagnostic: Fix log line 2021-10-10 02:12:31 +02:00
Maximilian Luz f7a40b266d
fixup! Bump Fedora pkgrel 2021-10-10 01:59:49 +02:00
Maximilian Luz df188ae65e
Bump Fedora pkgrel 2021-10-10 01:52:58 +02:00
Maximilian Luz a0c4ab6214
Bump Debian pkgrel 2021-10-10 01:52:21 +02:00
Maximilian Luz d2ed4727f1
Bump Arch pkgrel 2021-10-10 01:51:54 +02:00
Maximilian Luz bd0321e349
Update v5.14 patches
Changes:
  - Add support for Surface Aggregator devices on the Surface Laptop
    Studio. This includes support for battery status information,
    keyboard, touchpad, as well as other HID devices, and performance /
    platform profiles.
  - Add support for wake via lid on the Surface Laptop Studio.
2021-10-10 01:47:36 +02:00
Maximilian Luz a0da469887
scripts/diagnostic: Add support for collecting PCI device information 2021-10-09 15:56:56 +02:00
Maximilian Luz 4051a53f7e
Bump Debian package release version 2021-10-09 13:19:54 +02:00
Maximilian Luz 1f9fdf4427
pkg/debian: Disable CONFIG_UBSAN in kernel config
Recent Ubuntu mainline versions have enabled UBSAN. UBSAN has a runtime
cost and should only be enabled for debugging and testing.

Furthermore, UBSAN actively causes problems on the Surface Pro 4 and
Surface Book 1, preventing them from waking from suspend in some
instances. Disabling UBSAN should work around issue #585.
2021-10-09 13:16:28 +02:00
Maximilian Luz 0d1b0e0057
pkg/debian: Disable CONFIG_DEBUG_MISC in kernel config
This should only be used for debugging.
2021-10-09 13:15:36 +02:00
Maximilian Luz 3eee52ae6a
Update Fedora kernels to 5.14.10 2021-10-09 01:07:34 +02:00
Maximilian Luz e86bc032f3
Update Debian kernel to 5.14.10 2021-10-09 01:06:48 +02:00
Maximilian Luz 1dd5818965
Update Arch kernel to 5.14.10 2021-10-09 01:05:56 +02:00
Maximilian Luz 0858e1ebf5
Update v5.14 patches
Changes
 - Fix power button on AMD Surface Laptop 4. For details see
   https://github.com/linux-surface/kernel/pull/108

 - Rebase onto v5.14.10
2021-10-09 01:00:50 +02:00
Maximilian Luz becb93c2bf
scripts/diagnostic: Add support for collecting kernel configs 2021-10-05 23:16:01 +02:00
Maximilian Luz eaa607d019
Add script to simplify getting diagnostic information 2021-10-05 22:43:39 +02:00
Maximilian Luz e11a595103
Remove setup script
This script is essentially useless and was only kept to help transition
users from the old JakeDay repository. All it does now is, if asked, set
the hardware clock to local time (which is also described in the wiki)
and print some (partially outdated) instructions.

Since the instructions are referencing outdated kernel versions, just
remove the script entirely instead of bothering to update them.
2021-10-05 19:42:36 +02:00