platform/x86: asus: Import hardware features reverse-engineered from ASUS Armoury Crate - #4
Closed
scardracs wants to merge 4 commits into
Closed
platform/x86: asus: Import hardware features reverse-engineered from ASUS Armoury Crate#4scardracs wants to merge 4 commits into
scardracs wants to merge 4 commits into
Conversation
scardracs
force-pushed
the
aura-capabilities
branch
2 times, most recently
from
July 26, 2026 08:19
d53c94d to
6084bd6
Compare
scardracs
force-pushed
the
aura-capabilities
branch
2 times, most recently
from
July 29, 2026 15:07
ea39187 to
827a95a
Compare
scardracs
force-pushed
the
aura-capabilities
branch
from
July 29, 2026 15:27
827a95a to
bbf1d44
Compare
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.
Based on @NeuroMarshal 's work
Overview
This set of commits expands support for ASUS ROG and TUF laptops by incorporating reverse-engineered hardware protocols from ASUS Armoury Crate. It adds missing WMI device IDs, new sysfs firmware attributes in
asus-armoury, and SMBIOS Type 40 OEM platform identity parsing inasus-wmi.All 3 commits are atomic and have been verified to compile without errors or warnings across
drivers/platform/x86/.Commits in this branch
Commit 1: platform/x86: asus-wmi: add missing WMI device ID defines
Adds new WMI device ID definitions to
include/linux/platform_data/x86/asus-wmi.h:0x00130021)0x00060091), Touchscreen (0x00050036), Windows key lock (0x00130024), Pad mode (0x00060077)0x00090017), eDP mode (0x0009001B), GPU switch caps (0x0009001C), eGPU PCIe gen (0x0006005B)0x0010005C)0x001200D2), BIOS per-core (0x0012007B), OC rule (0x0012007D), PPT fPPT (0x001200A1), Fan ranges (0x00110022,0x00110023)Commit 2: platform/x86: asus-armoury: add input and GPU toggle attributes
Adds new sysfs firmware attributes under
/sys/class/firmware-attributes/asus-armoury/attributes/:ess_switch(RW): ESS DAC toggletouchscreen_toggle(RW): Touchscreen on/off switchwinkey_disable(RW): Windows key lockegpu_dock_state(RO): External GPU dock connection statusedp_mode(RO): Embedded DisplayPort panel modeproduct_type(RO): Firmware product type (ROG/TUF desktop/notebook)Commit 3: platform/x86: asus-wmi: expose SMBIOS Type 40 OEM platform identity
Implements parsing of the ASUS OEM SMBIOS Type 40 structure using
dmi_walk()inasus-wmi.c. Exposes the following read-only attributes under/sys/devices/platform/asus-nb-wmi/:oem_product_line: Platform type (Motherboard, Server, WS, AIO, Desktop, Notebook, Mini PC)oem_product_sku: Product SKU (PRIME, ROG, TUF, TUF-Gaming, ROG-Strix, XU, Pro, ProArt)oem_subbrand: Subbrand (ASUS, ROG, TUF, ProArt)oem_year: Hardware manufacture year