Skip to content

Add the Microsoft Surface Laptop 8 15-inch: device tree, hardware IDs and sound - #2276

Merged
ryanrhughes merged 3 commits into
omacom:masterfrom
birkskyum:surface-laptop-8-15
Nov 7, 2026
Merged

ryanrhughes merged 3 commits into
omacom:masterfrom
birkskyum:surface-laptop-8-15

Conversation

@birkskyum

@birkskyum birkskyum commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Adds the Microsoft Surface Laptop 8 with the 15-inch display (SKU 2037, Snapdragon X2 Elite X2E-78-100, Mahua), from an owner's hardware report (turbineBMW/omarchy-hardware-reports#19). Today Omarchy has no tree or hardware IDs for it.

linux-omarchy-aarch64 (pkgrel 30)

  • 2764 is the 15-inch tree, glymur-microsoft-surface-laptop8-15.dts. It includes the 13.8-inch tree and replaces what the 15-inch model's ACPI tables describe differently.
  • 2760-2763 add microsoft,surface-laptop-8-15 wherever the 13.8-inch model's microsoft,surface-laptop-8-13p8 is matched: the board binding, QSEECOM, the Surface Aggregator registry (keyboard, fan, platform profile) and 2390's platform profile workaround.
  • glymur-microsoft-surface-laptop8-15.json holds 10 hardware IDs, installed with the other laptops' entries.

surface-laptop-8-support (pkgrel 5)

  • Links the speaker and microphone profile under the 15-inch model's card long name too, and installs the qcom-firmware-extract board list under its compatible.

What the 15-inch model changes

Its DSDT and Surface SSDT are the 13.8-inch model's (aarch64-laptops/build#176), apart from firmware version changes. They switch on a board ID, which is 3 on this laptop. The GPU's _SUB returns CDPS28480 for it, and Windows loads qcdxkmext8480_ROT_CDPS2. The 13.8-inch model reads 5, 8, 9 or 12. The board ID changes three things.

13.8-inch 15-inch
Touchscreen MSHW0776, 0x41 on i2c8 MSHW0774, 0x34 on i2c8
Interrupt TLMM 43, level low TLMM 51, level low
HID descriptor 0x1 0x0 (its _DSM function 1 returns 0)
Power TLMM 38, reset TLMM 48 power resource TDPR on TLMM 49 (150 ms), TLMM 31 high in _PS0, low in _PS3
Panel configuration CDPS0 CDPS2

Windows enumerates only MSHW0774 on this laptop. TDPR is also a power resource of the panel (GPU0.MON0), so the tree makes TLMM 49 a fixed regulator that stays on. The panel configuration Windows loads differs from the 13.8-inch one in a power timing only, with the same PMIC PWM backlight, so the panel stays the 13.8-inch tree's edp-panel. panel-edp has no entry for its LG LP150UD2-SPA2 (LGD 0x07cc) and uses its conservative timings.

The touchpad (MSHW0756 on i2c10), speakers, microphones, USB, PCIe and Surface Aggregator Module are described identically for both sizes. The ADSP images Windows runs on this laptop are byte-identical to those microsoft-surface-laptop-8-firmware installs, so that package and the folder the 13.8-inch tree loads from serve this laptop too. Its CDSP pair is a newer build of Qualcomm's generic qcnspmcdm8480 from Windows Update.

Hardware IDs

The report has no CHIDs. The installer's SMBIOS parser lost its place on this laptop's table (fixed in turbineBMW/omarchy-arm-installer#16). The report also carries Windows' own copy of the table, and computing the CHIDs from its strings gives all 10 that Windows lists. The JSON holds the types systemd-stub tries, minus the one from the maker and family alone and the one from the maker, family and panel, which other Surface laptops can share. None of the 10 equals any of the 751 in systemd v262's list or this package.

Checks

  • All 494 local sources match both checksum arrays, and the 465 patches apply to 7.3 in order with --fuzz=0.
  • Both Surface Laptop 8 trees build with W=1 and no warnings. CHECK_DTBS=y gives the 15-inch tree the 13.8-inch tree's 63 messages, with its own touchscreen node in place of the 13.8-inch one. qcom_scm.o, surface_aggregator_registry.o and surface_platform_profile.o build.
  • The compiled tree has the MSHW0774 node and no trace of the 13.8-inch touchscreen or its power switch.
  • surface-laptop-8-support's test.sh runs package() on stand-ins and checks that both sizes' card long names link to the shipped profile and that the board list is installed under both compatibles. It passes, and fails on master's recipe. The 15-inch long name comes from the same computation that reproduces the package's 13.8-inch link.

Nobody has booted this laptop on Omarchy yet.

Left for later

  • Omarchy's setup for the Surface Laptop 8 (Add Surface Laptop 8 board setup omarchy#16968) matches microsoft,surface-laptop-8-13p8 only, and needs the 15-inch compatible too.
  • surface-laptop-8-support's touchpad quirk stays on the 13.8-inch model's ELAN 3370. Windows names this laptop's touchpad only by its ACPI ID and ELAN's vendor ID.

2764 adds a device tree for the Surface Laptop 8 with the 15-inch
display, from an owner's hardware report (turbineBMW/omarchy-hardware-
reports#19). Its ACPI tables are the 13.8-inch model's, switched by a
board ID that is 3 on this laptop, so the tree includes the 13.8-inch
one and replaces what that board ID changes: the touchscreen (MSHW0774
at 0x34 on i2c8, interrupt TLMM 51, TLMM 31 in its power states) and
its power switch on TLMM 49, which the panel depends on too and which
stays on.

2760-2763 add microsoft,surface-laptop-8-15 wherever the 13.8-inch
model's compatible is matched: the board binding, QSEECOM, the Surface
Aggregator registry and 2390's platform profile workaround.

glymur-microsoft-surface-laptop8-15.json holds 10 hardware IDs computed
from the SMBIOS strings Windows keeps for this laptop, the same strings
that give the 10 IDs Windows lists for it. None of them is in systemd's
list or another entry of this package.

All 465 patches apply with --fuzz=0. Both Surface Laptop 8 trees build
with W=1 and no warnings, and CHECK_DTBS gives the 15-inch tree the
13.8-inch tree's messages. pkgrel 30.
The 15-inch model has the 13.8-inch model's speakers, microphones,
SOCCP and Wi-Fi module, so it takes the same profile, board list and
board data. UCM finds the profile by the card's long name, which the
kernel builds from DMI, so link it under the 15-inch model's long name
too (MicrosoftCorporation-SurfaceLaptop15in8thEdSnapdragon-
124I00137T000M0000000F, from its SMBIOS strings the way
snd_soc_set_dmi_name builds it, which gives the 13.8-inch link this
package already has from that model's). Install the qcom-firmware-
extract board list under microsoft,surface-laptop-8-15 as well.

The touchpad quirk stays on the 13.8-inch model: Windows names the
15-inch model's touchpad only by its ACPI ID and ELAN's vendor ID.
test.sh checks both sizes' link and list, and fails on the old recipe.
@birkskyum

Copy link
Copy Markdown
Contributor Author

@greptileai

@greptile-apps

greptile-apps Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new blocking issue was found.

Summary

Adds the Surface Laptop 8 15-inch device tree, hardware IDs, kernel matches, and shared audio support.

  • The 15-inch Surface Laptop 8 gets its own hardware match and device tree.
  • The 15-inch model gets the same secure firmware and Surface controls.
  • Both screen sizes use the same speaker and microphone profile.

Reviews (3) · Last reviewed commit: "surface-laptop-8-support: test the insta..." · Reviewed by Greptile

… recipe text

The checks for the 15-inch model only searched the PKGBUILD for names, so
a missing link, a broken link target or a wrong install path would still
pass. Run package() on stand-ins for what the build makes and for the
licences it takes from installed packages, then check that each size's
card long name links to the shipped profile and that the board list is
installed under each size's board name. It fails on master's recipe.
@birkskyum

Copy link
Copy Markdown
Contributor Author

@greptileai

@birkskyum
birkskyum marked this pull request as ready for review November 7, 2026 16:35
@ryanrhughes
ryanrhughes enabled auto-merge (squash) November 7, 2026 16:35
@ryanrhughes
ryanrhughes merged commit 3b04e8e into omacom:master Nov 7, 2026
12 checks passed
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Packages: linux-omarchy-aarch64 (aarch64, PR artifact); surface-laptop-8-support (aarch64, PR artifact)

  • edge/aarch64: linux-omarchy-7.3-30-aarch64, linux-omarchy-headers-7.3-30-aarch64, linux-omarchy-nvidia-open-7.3-30-aarch64, surface-laptop-8-support-1-5-aarch64

Some planned slots did not run because an earlier slot failed.

Commit 3b04e8e · run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants