From 8e5348d09fbbbf4b60c116d4e03be5557000a973 Mon Sep 17 00:00:00 2001 From: m2 <69128853+m2Giles@users.noreply.github.com> Date: Sun, 10 Nov 2024 06:06:02 -0500 Subject: [PATCH] chore(hwe): 09-hwe-additions.sh (#1917) --- build_files/base/09-hwe-additions.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/build_files/base/09-hwe-additions.sh b/build_files/base/09-hwe-additions.sh index 3bbd4e1e774..7553206132b 100755 --- a/build_files/base/09-hwe-additions.sh +++ b/build_files/base/09-hwe-additions.sh @@ -38,3 +38,30 @@ SURFACE_PACKAGES=( rpm-ostree install \ "${ASUS_PACKAGES[@]}" \ "${SURFACE_PACKAGES[@]}" + +tee /usr/lib/modules-load.d/ublue-surface.conf << EOF +# Add modules necessary for Disk Encryption via keyboard +surface_aggregator +surface_aggregator_registry +surface_aggregator_hub +surface_hid_core +8250_dw + +# 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 +