From 8290b73811f5b32184ea989fe4c519d54ce36870 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer <bernhard@manjaro.org> Date: Thu, 23 Apr 2020 22:54:03 +0200 Subject: [PATCH] add lenovo dual fan patch; https://gitlab.manjaro.org/packages/core/linux56/-/issues/5 --- PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index c982490..f6e8c80 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -54,7 +54,8 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x '0001-nonupstream-navi10-vfio-reset.patch' '0001-i2c-nuvoton-nc677x-hwmon-driver.patch' 'add-nvme-hwmon-temp.patch' - #"prepatch-${_basekernel}.patch" + # Lenovo P50 multiple fans + '0005-thinkpad_acpi_dual_fan_control.patch::https://github.com/dvhart/linux-pdx86/commit/26c16f9d956f269bbc32e034e3ec11c4831137de.patch' # Bootsplash '0001-bootsplash.patch' '0002-bootsplash.patch' @@ -100,6 +101,7 @@ sha256sums=('bf338980b1670bca287f9994b7441c2361907635879169c64ae78364efc5f491' '7a2758f86dd1339f0f1801de2dbea059b55bf3648e240878b11e6d6890d3089c' '0556859a8168c8f7da9af8e2059d33216d9e5378d2cac70ca54c5ff843fa5add' 'fa57b3d150ec741870fd67633b83084bb9947ed1efb11229217e0a4fd3d5669d' + 'f93707e75ec6be5f289605f913e59d4f3514524a1aab3368f49bf6789723d443' 'a504f6cf84094e08eaa3cc5b28440261797bf4f06f04993ee46a20628ff2b53c' 'e096b127a5208f56d368d2cb938933454d7200d70c86b763aa22c38e0ddb8717' '8c1c880f2caa9c7ae43281a35410203887ea8eae750fe8d360d0c8bf80fcc6e0' @@ -166,7 +168,11 @@ prepare() { # https://forum.level1techs.com/t/145666/86 # https://forum.manjaro.org/t/107820/11 patch -Np1 -i "${srcdir}/0001-nonupstream-navi10-vfio-reset.patch" - + + # handling of multiple fans on Lenovo P50 + # https://github.com/vmatare/thinkfan/issues/58 + patch -Np1 -i "${srcdir}/0005-thinkpad_acpi_dual_fan_control.patch" + # Add bootsplash - http://lkml.iu.edu/hypermail/linux/kernel/1710.3/01542.html patch -Np1 -i "${srcdir}/0001-bootsplash.patch" patch -Np1 -i "${srcdir}/0002-bootsplash.patch" -- GitLab