Skip to content

Commit

Permalink
fix(hwe): match Bluefin's HWE for Surface devices (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
ledif authored Jan 11, 2025
1 parent 5b02032 commit b330cea
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions build_files/base/09-hwe-additions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit b330cea

Please sign in to comment.