From b330cead590c51276c72e2e72c844e52685846f1 Mon Sep 17 00:00:00 2001 From: Adam Fidel Date: Sat, 11 Jan 2025 01:08:34 -0600 Subject: [PATCH] fix(hwe): match Bluefin's HWE for Surface devices (#98) --- build_files/base/09-hwe-additions.sh | 35 +++++++++++++++++----------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/build_files/base/09-hwe-additions.sh b/build_files/base/09-hwe-additions.sh index 638c2e8c..5bcd9c79 100755 --- a/build_files/base/09-hwe-additions.sh +++ b/build_files/base/09-hwe-additions.sh @@ -40,6 +40,28 @@ rpm-ostree install \ "${SURFACE_PACKAGES[@]}" tee /usr/lib/modules-load.d/ublue-surface.conf << EOF +# Only on AMD models +pinctrl_amd + +# Surface Book 2 +pinctrl_sunrisepoint + +# For Surface Laptop 3/Surface Book 3 +pinctrl_icelake + +# For Surface Laptop 4/Surface Laptop Studio +pinctrl_tigerlake + +# For Surface Pro 9/Surface Laptop 5 +pinctrl_alderlake + +# For Surface Pro 10/Surface Laptop 6 +pinctrl_meteorlake + +# Only on Intel models +intel_lpss +intel_lpss_pci + # Add modules necessary for Disk Encryption via keyboard surface_aggregator surface_aggregator_registry @@ -50,18 +72,5 @@ surface_hid_core # Surface Laptop 3/Surface Book 3 and later surface_hid surface_kbd - -# Only on AMD models -pinctrl_amd - -# Only on Intel models -intel_lpss -intel_lpss_pci - -# For Surface Laptop 3/Surface Book 3 -pinctrl_icelake - -# For Surface Laptop 4/Surface Laptop Studio -pinctrl_tigerlake EOF