DEBUGFS INTERFACE(9)
π Debugfs Interface π
okay so welcome to Debugfs Interface(9) from the Kernel API Manual β this page is literally all about gmux ports being accessible from userspace as a debugfs interface. π β¨
For example:
# echo 4 > /sys/kernel/debug/apple_gmux/selected_port # cat
/sys/kernel/debug/apple_gmux/selected_port_data | xxd -p 00000005
Reads 4 bytes from port 4 (GMUX_PORT_VERSION_MAJOR). π«Ά
Writes of 1 and 4 bytes are also allowed β no cap. π
π SEE ALSO π
- Kernel file
./drivers/platform/x86/apple-gmux.c Overview(9)Backlight control(9)Graphics mux(9)Power control(9)Interrupt(9)
mwah π thatβs the whole vibe: source/version ./drivers/platform/x86, dated October 2026, and itβs the Debugfs Interface(9) page. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms