Repository navigation
Add Surface Laptop 8 board setup - #16968
Conversation
On the Surface Laptop 8 (13.8-inch, Snapdragon X2 Elite), load the panel, keyboard and USB4 mux drivers before disk unlock, with the GPU and DSP firmware they request there, and install surface-laptop-8-support. Since linux-omarchy 7.3-5 the USB4 host router drivers are thunderbolt_qcom, which the panel waits for; thunderbolt stays listed for 7.3-4. Then copy the USB4 router firmware out of the Windows USB4 driver so docks work. The router driver requests it once, at probe in the initramfs; thunderbolt_qcom declares it, so mkinitcpio adds it. Without Windows on the disk it is not found and USB4 stays off. Other Snapdragon laptops are left alone.
[Medium impact] The PR appears safe to merge; no actionable new issues were established. SummaryAdds install-time support for both Surface Laptop 8 sizes.
No actionable new issues were established. The previous thread’s source-string checks are gone. This review used static checks; no tests were run. Reviews (5) · Last reviewed commit: "Set up the 15-inch Surface Laptop 8 too" · Reviewed by Greptile |
Drop the checks that grep all.sh and the package list for the lines this setup adds, and the list of modules the initramfs names. Leave one DSP image missing from the firmware fixture so the test checks that missing firmware is skipped, as its message says.
Qualcomm's v2 device tree names the board microsoft,surface-laptop-8-13p8, and linux-omarchy now uses that name.
|
Thanks, @jdvmi00. Omabot looked at this pull request at 2d17f15 to decide what kind of change it is. No code was run, and no labels were added. The two models classifying it disagreed. Claude Opus 5.5 called it an No other open pull request covers the Surface Laptop 8. Next step: the maintainer. |
|
@jdvmi00 omacom/omarchy-pkgs#2179 is published on edge (linux-omarchy 7.3-16 and surface-laptop-8-support 1-2), so the board check here matches now, and from the next edge nightly the live image picks the tree by itself. Could you run an install with it? That covers the renamed setup end to end, which the PR notes hasn't run yet. One more change is coming in omacom/omarchy-pkgs#2190. Your tree loads the ADSP and CDSP images from omacom/omarchy-pkgs#1905 can be closed, since omacom/omarchy-pkgs#2179 carries both of its commits. |
|
@jdvmi00 omacom/omarchy-pkgs#2190 is published on edge. From linux-omarchy 7.3-17 your tree loads the ADSP and CDSP images from Since The On your own laptop, an initramfs config from earlier testing still names the old folder, so rerun the setup and An install from the next edge nightly would then test the whole path. |
From linux-omarchy 7.3-17 the device tree loads the ADSP and CDSP images from qcom/glymur/microsoft/mahua, where microsoft-surface-laptop-8-firmware installs them.
|
@jdvmi00 some test fail? |
@birkskyum test check fails on background-intro-lifecycle-test.sh, which is also failing on unrelated PRs right now. |
|
@jdvmi00 The 15-inch model has its tree and hardware IDs from linux-omarchy 7.3-30 (omacom/omarchy-pkgs#2276), under |
|
@birkskyum Thanks. I merged |
|
@jdvmi00 thanks, this is merged. One follow-up: the setup only runs on a fresh install, so a Surface Laptop 8 installed before this doesn't get the early panel and keyboard modules, |
|
@birkskyum Added in #18435. Tested on my 13.8-inch Laptop 8; the 15-inch hasn't been run. |
Sets up the Surface Laptop 8 (Snapdragon X2 Elite; 13.8-inch
microsoft,surface-laptop-8-13p8and 15-inchmicrosoft,surface-laptop-8-15) the way the Surface Pro 11 is set up. The panel, keyboard and USB4 mux drivers, with the GPU and DSP firmware they request there, go into the initramfs so the disk can be unlocked on the built-in screen and keyboard. It installsmicrosoft-surface-laptop-8-supportand then runs that package's USB4 router firmware tool; without Windows on the disk the tool finds nothing, USB4 stays off and the install carries on. Other Snapdragon laptops are left alone. Needs omacom/omarchy-iso#406, which lists the renamed package as aarch64-only for the x86_64 image.Tested: a fresh encrypted install beside Windows on a 13.8-inch Surface Laptop 8, from an ISO built from
quattrowith this branch and edge's packages (linux-omarchy 7.3-18, surface-laptop-8-support 1-4), before the package rename and the 15-inch match. It reached the desktop with no failed units. The ADSP and CDSP run fromqcom/glymur/microsoft/mahua/, and the USB4 step ran in the installer and the dock works.test/shell.d/surface-laptop8-hardware-test.shfails if either model check, the package,thunderbolt_qcom, the preference for extracted firmware or the wiring is removed. The 15-inch model has not been run, and neither has an install without Windows on the disk.No visible change: this is board setup during install, with no change to any screen.