Repository navigation
Add the Microsoft Surface Laptop 8 15-inch: device tree, hardware IDs and sound - #2276
Merged
Merged
Conversation
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.
Contributor
Author
[Medium impact] The PR appears safe to merge; no new blocking issue was found. SummaryAdds the Surface Laptop 8 15-inch device tree, hardware IDs, kernel matches, and shared audio support.
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.
Contributor
Author
birkskyum
marked this pull request as ready for review
November 7, 2026 16:35
ryanrhughes
enabled auto-merge (squash)
November 7, 2026 16:35
Contributor
Publish succeeded → livePackages: linux-omarchy-aarch64 (aarch64, PR artifact); surface-laptop-8-support (aarch64, PR artifact)
Some planned slots did not run because an earlier slot failed. |
This was referenced Nov 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 (
pkgrel30)2764is 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-2763addmicrosoft,surface-laptop-8-15wherever the 13.8-inch model'smicrosoft,surface-laptop-8-13p8is matched: the board binding, QSEECOM, the Surface Aggregator registry (keyboard, fan, platform profile) and2390's platform profile workaround.glymur-microsoft-surface-laptop8-15.jsonholds 10 hardware IDs, installed with the other laptops' entries.surface-laptop-8-support (
pkgrel5)qcom-firmware-extractboard 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
_SUBreturnsCDPS28480for it, and Windows loadsqcdxkmext8480_ROT_CDPS2. The 13.8-inch model reads 5, 8, 9 or 12. The board ID changes three things._DSMfunction 1 returns 0)TDPRon TLMM 49 (150 ms), TLMM 31 high in_PS0, low in_PS3CDPS0CDPS2Windows enumerates only MSHW0774 on this laptop.
TDPRis 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'sedp-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-firmwareinstalls, 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 genericqcnspmcdm8480from 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
--fuzz=0.W=1and no warnings.CHECK_DTBS=ygives 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.oandsurface_platform_profile.obuild.surface-laptop-8-support'stest.shrunspackage()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
microsoft,surface-laptop-8-13p8only, 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.