ACPIVGA(4)
β¨ ACPIVGA(4) β like, the ACPI Display Adapter & Output Devices page, but make it make sense β¨
okay bestie, so this one lives in the Kernel Interfaces Manual section, and it's genuinely one of those pages that sounds scary but is actually just "your laptop screen brightness + which screen stuff goes to" energy. let's get into it π
πΈ SYNOPSIS πΈ
acpivga* at acpi?
acpiout* at acpivga?
that's it. that's the whole configuration vibe. acpivga* attaches at acpi?, and acpiout* attaches at acpivga? β the outputs are literally the children of the adapter, iykyk π¦
π DESCRIPTION π
so the acpivga driver is the generic-support bestie for brightness control and output switching, and it does all of that through the ACPI video extensions. and here's the thing β the ACPI specification requires that systems with a built-in display adapter implement these extensions in their ACPI BIOS. so if your machine has a screen built in, the BIOS is supposed to have this. periodt β¨
the driver handles brightness hotkeys and display switch hotkeys β like when you smash the fn key with the sun icon, that's her π
on top of that, you get these sysctl(8) read/write variables, but only when hardware support is actually available (vibe check first, always):
hw.acpi.acpivga0.bios_switchβ the BIOS output switching policy. this is a boolean, and it controls how the BIOS behaves when a display switch hotkey gets pressed π1β the BIOS should automatically switch outputs, with no interaction fromacpivga. she handles it, you don't even have to ask.0β the BIOS should only notifyacpivgaof the desired output state changes. so it tells her, and she does the actual work.
hw.acpi.acpiout0.brightnessβ the brightness level, obviously π‘ this integer variable typically ranges from0to100, but honestly any integer value is accepted β the driver just uses the closest brightness level the device actually supports. so go off, put9999, she'll cope.
β οΈ ok important heads up bestie: future versions ofacpivgamay remove thesesysctl(8)variables without prior notice. no warning, no text, no nothing π so don't build your whole personality on them.
π¦ SEE ALSO π¦
also this reference, which is very "cited source realness":
Microsoft Corporation, Mobile System Displays and Windows, Version 1.2c, http://www.microsoft.com/whdc/archive/mobiledisplay.mspx, December 4, 2001.
π HISTORY π
the acpivga driver appeared in NetBSD 6.0. a legend was born β¨
π«Ά AUTHORS π«Ά
GrΓ©goire Sutre β¨gsutre@NetBSD.orgβ© β thank you for your service, icon π
π CAVEATS π
okay this is the part where we get real, no cap:
- the
acpivgadriver only supports PCI/PCI-X/PCI-E display adapters. that's the whole list. if yours isn't one of those, she can't help you π - many ACPI BIOSes implement only part of the ACPI video extensions. and in particular, display output switching via these extensions often does not work. yes, really. it's giving "we tried" π
- for that exact reason,
acpivgaenableshw.acpi.acpivga0.bios_switchby default. so if the display switch hotkey doesn't work with that default setting, try settinghw.acpi.acpivga0.bios_switchto0. that's your troubleshooting move, bestie π - brightness level should be controlled via
wsconsctl(8)instead ofsysctl(8)β like, that's the correct door to walk through, ok? don't do it the other way π
anyway that's the page!! written by the Debian crew and dated October 28, 2010 β a whole vintage moment β slay, bye π
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2010 The NetBSD Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms