Skip to content

Commit

Permalink
fix(hwe): Fix keyboards on Surface devices (#2123)
Browse files Browse the repository at this point in the history
Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev>
  • Loading branch information
EyeCantCU authored Jan 9, 2025
1 parent d5218cf commit 327c885
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions build_files/base/09-hwe-additions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,9 @@ rpm-ostree install \
"${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
# Surface Book 2
pinctrl_sunrisepoint
Expand All @@ -74,6 +59,21 @@ 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
surface_aggregator_hub
surface_hid_core
8250_dw
# Surface Laptop 3/Surface Book 3 and later
surface_hid
surface_kbd
EOF

echo "::endgroup::"

0 comments on commit 327c885

Please sign in to comment.