omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

ASUS TUF laptops: asusctl not installed and keyboard RGB color not applied on theme change

Open ki11e6 opened this issue 8 months ago • 1 comments

Problem

Omarchy's ASUS hardware detection (omarchy-hw-asus-rog) only checks for ROG in /sys/class/dmi/id/product_family. ASUS TUF Gaming laptops (e.g. FX505GT) report TUF Gaming as their product family, so asusctl is never installed automatically during setup (skipped in install/packaging/asus-rog.sh).

TUF keyboards with asus::kbd_backlight and kbd_rgb_mode sysfs support work fine with asusctl once installed — the existing omarchy-theme-set-keyboard-asus-rog script works as-is.

Environment

  • Device: ASUS TUF Gaming FX505GT
  • Product family: TUF Gaming
  • Vendor: ASUSTeK COMPUTER INC.
  • asusctl: v6.3.4
  • Keyboard LED: asus::kbd_backlight with kbd_rgb_mode sysfs support

Steps to reproduce

  1. Install Omarchy on an ASUS TUF laptop
  2. asusctl is not installed automatically
  3. Keyboard RGB theming via omarchy-theme-set has no effect

Workaround

Manually install asusctl:

omarchy-pkg-add asusctl

ki11e6 avatar Mar 15 '26 06:03 ki11e6

Confirmed in source on quattro at 902fd8a. bin/omarchy-hw-asus-rog requires ROG in product_family, so a machine reporting TUF Gaming fails it, install/hardware/asus-rog.sh skips asusctl, and omarchy-theme-set-keyboard-asus-rog then does nothing, because it only acts when asusctl is present. Nothing on quattro changes this yet. Simply widening omarchy-hw-asus-rog to accept TUF would be the wrong fix, because that gate also turns on the ROG audio-mixer and mic fixes in install/user/hardware/asus/. The installer needs its own TUF check.

That is exactly what #5020 does, and it is already linked to close this issue. It adds omarchy-hw-asus-tuf, installs asusctl when either check matches, and includes a migration for machines installed before the change. It targets dev, and on quattro the installer has moved from install/packaging/ to install/hardware/, so it has to be brought across before it can land. That work happens on #5020 itself. This could not be reproduced here, since no worker is a TUF laptop; the hardware evidence is @ki11e6's own test on an FX505GT, posted on #5020.

#14450 and #8329 are about the same detector but a different cause: ROG machines that report sys_vendor as ASUS. They don't overlap with this fix.

Checked by Claude Opus 5.5 and, as a second opinion, Codex Medium, which agreed on the mechanism and found #5020 and #8329. This waits on the maintainer's decision on #5020.

omarchybot avatar Oct 08 '26 00:10 omarchybot