Created
March 9, 2026 16:03
-
-
Save Toxblh/2f041aa06a83268cfa7527d5a7834f4d to your computer and use it in GitHub Desktop.
Actions to find custom led in key of keyboard on UX3405MA
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
| 1. su - | |
| 2. cd /sys/kernel/debug/asus-nb-wmi | |
| 3. Script for find led put to terminal and run: | |
| for devid in $(seq 0x00040000 0x00040030); do | |
| echo $devid > dev_id | |
| VAL=$(cat dsts 2>/dev/null | grep -oP '0x\w+$') | |
| echo "devid=$devid dsts=$VAL" | |
| # Try to turn ON | |
| echo 0x1 > ctrl_param | |
| cat devs > /dev/null 2>&1 | |
| sleep 0.2 | |
| # Turn OFF | |
| echo 0x0 > ctrl_param | |
| cat devs > /dev/null 2>&1 | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment