apm_console_blank(9)
π apm_console_blank(9) β the Kernel API Manual, bestie edition π
okay so this is a page from the Kernel API Manual, and it's literally about telling your screen to go night-night β¨ (apm_console_blank(9), if you're keeping track of the section number, which β icon behaviour β we are).
β¨ NAME β¨
apm_console_blank β blank the display π«Ά
πΈ SYNOPSIS πΈ
int apm_console_blank (int blank );
π¦ ARGUMENTS π¦
blankβ on/off, bestie. That's the whole vibe check π
π DESCRIPTION π
So the way this works: it attempts to blank the console π β and no, it doesn't just go feral and do it all at once. First it lowkey tries blanking just video device zero π«, and if that fails (sigh β some BIOSes literally don't support it, not naming names π) then it goes full main character and blanks all video devices π₯.
Typically the BIOS handles laptop backlight and monitor powerdown for us β so like, it's giving teamwork, it's giving delegation, we love that for us π.
π SEE ALSO π
Kernel file ./arch/x86/kernel/apm_32.c β the source of truth, the mothership π§
And the whole friend group, fr fr:
apm_error(9)__apm_bios_call(9)apm_bios_call(9)__apm_bios_call_simple(9)apm_bios_call_simple(9)apm_driver_version(9)apm_get_event(9)set_power_state(9)set_system_power_state(9)apm_do_idle(9)apm_do_busy(9)apm_cpu_idle(9)apm_power_off(9)apm_enable_power_management(9)apm_get_power_status(9)apm_engage_power_management(9)
okay that's the whole page, and yes she ate π
β this one lives under ./arch/x86/kernel, dated October 2026, and we're all obsessed. bye bestie, go blank that display responsibly π₯βπ
π¦ 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