ACPI_VIDEO(4)

πŸ’– ACPI_VIDEO(4) πŸ’–

okay bestie, welcome to the Kernel Interfaces Manual page for acpi_video β€” yes, a whole section 4 manual, we're being ✨official✨ today.


✨ NAME ✨

acpi_video β€” the ACPI Video Extensions driver, aka the thing that handles your screen switching and your brightness sliders πŸŽ€


🌸 SYNOPSIS 🌸

device acpi_video

that's it. that's the whole synopsis. iconic, honestly πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so this driver uses the ACPI Video Extensions to control two very main-character things:

  • display switching πŸ”€
  • backlight brightness β˜€οΈ

but β€” and this is the important part, no cap β€” whether you actually get the sysctl(8) variables depends entirely on what functions your host's ACPI implementation decided to offer. so like. it's giving "results may vary" energy πŸ™ˆ. your laptop's ACPI said what it said.


πŸ’… SYSCTL VARIABLES πŸ’…

here's what's currently implemented, and where you see ⟨device⟩, that's your placeholder for one of these three queens: crt, lcd, or tv πŸ‘‘

  • hw.acpi.video.⟨device⟩.active β€” the current state of the output device. is it on? is it off? vibe check πŸ”
  • hw.acpi.video.⟨device⟩.levels β€” a whole list of the brightness levels that are supported. the menu, basically πŸ“
  • hw.acpi.video.⟨device⟩.brightness β€” the current brightness level of the device. right now. as we speak ✨
  • hw.acpi.video.⟨device⟩.fullpower β€” the preset brightness level that gets used in full power mode πŸ”₯
  • hw.acpi.video.⟨device⟩.economy β€” the preset brightness level that gets used in economy mode 🌱 (saving that battery, we love to see it)
πŸ’‘ and listen β€” the defaults for all of these variables can be set in sysctl.conf(5), which gets parsed at boot-time. so set them once, forget them, slay 🫢

🌈 SEE ALSO 🌈

go read them, they're the supporting cast and they ate πŸ’œ


πŸ“œ HISTORY πŸ“œ

the acpi_video driver first appeared in FreeBSD 5.3. a true veteran, a legacy icon, born to be on this list ⭐


πŸ‘‘ AUTHORS πŸ‘‘

the acpi_video driver was written by Taku YAMAMOTO <taku@cent.saitama-u.ac.jp> β€” thank you for your service, king 🫑

and this manual page was written by Mark Santcroos <marks@ripe.net> β€” the wordsmith, the pen, the moment πŸŽ€


πŸ’€ BUGS πŸ’€

okay so here's the tea, and it's a little annoying: some systems only do output switching via SMM, even though they do export the proper information via ACPI. like, you gave us the info and then you don't even use it?? make it make sense 😭

on systems like that, you have to use the proper hotkeys instead, or the OEM driver β€” for example, acpi_toshiba(4) β€” and there is literally no other option. it's not a vibe, it's a workaround πŸ™ƒ


and that's the whole page bestie!! this one came from the Debian crew, dated November 8, 2004 β€” yeah, 2004, we were all babies 😭 β€” and it lives at ACPI_VIDEO(4) in the Kernel Interfaces Manual. mwah, go forth and manage your brightness πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from