Skip to content

platform/x86: asus: Import hardware features reverse-engineered from ASUS Armoury Crate - #4

Closed
scardracs wants to merge 4 commits into
NeroReflex:masterfrom
scardracs:aura-capabilities
Closed

platform/x86: asus: Import hardware features reverse-engineered from ASUS Armoury Crate#4
scardracs wants to merge 4 commits into
NeroReflex:masterfrom
scardracs:aura-capabilities

Conversation

@scardracs

@scardracs scardracs commented Jul 26, 2026

Copy link
Copy Markdown

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 in asus-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:

  • Product Type (0x00130021)
  • Input toggles: ESS switch (0x00060091), Touchscreen (0x00050036), Windows key lock (0x00130024), Pad mode (0x00060077)
  • GPU & eGPU extras: eGPU dock state (0x00090017), eDP mode (0x0009001B), GPU switch caps (0x0009001C), eGPU PCIe gen (0x0006005B)
  • TUF status: TUF RGB WDL (0x0010005C)
  • Tuning: P/E cores (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 toggle
  • touchscreen_toggle (RW): Touchscreen on/off switch
  • winkey_disable (RW): Windows key lock
  • egpu_dock_state (RO): External GPU dock connection status
  • edp_mode (RO): Embedded DisplayPort panel mode
  • product_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() in asus-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

@scardracs
scardracs force-pushed the aura-capabilities branch 2 times, most recently from d53c94d to 6084bd6 Compare July 26, 2026 08:19
@scardracs scardracs changed the title HID: asus: discover laptop Aura firmware capabilities HID: asus: Import hardware features reverse-engineered from ASUS Armoury Crate Jul 26, 2026
@scardracs
scardracs force-pushed the aura-capabilities branch 2 times, most recently from ea39187 to 827a95a Compare July 29, 2026 15:07
@scardracs scardracs changed the title HID: asus: Import hardware features reverse-engineered from ASUS Armoury Crate platform/x86: asus: Import hardware features reverse-engineered from ASUS Armoury Crate Jul 29, 2026
@scardracs
scardracs force-pushed the aura-capabilities branch from 827a95a to bbf1d44 Compare July 29, 2026 15:27
@scardracs scardracs closed this Jul 29, 2026
@scardracs
scardracs deleted the aura-capabilities branch July 29, 2026 21:21
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.

1 participant