acpi_video
—
ACPI Video Extensions driver
This driver uses the ACPI Video Extensions to control display switching and
backlight brightness. The availability of the
sysctl(8)
variables depends on the functions offered by the host's ACPI implementation.
The following sysctls are currently implemented, where
⟨device⟩ is crt,
lcd, or tv:
- hw.acpi.video.⟨device⟩.active
- Current state of the output device.
- hw.acpi.video.⟨device⟩.levels
- List of supported brightness levels.
- hw.acpi.video.⟨device⟩.brightness
- Current brightness level of the device.
- hw.acpi.video.⟨device⟩.fullpower
- Preset brightness level to be used in full power mode.
- hw.acpi.video.⟨device⟩.economy
- Preset brightness level to be used in economy mode.
Defaults for these variables can be set in
sysctl.conf(5),
which is parsed at boot-time.
In order for acpi_video
to attach correctly,
acpi_video
should be loaded after any of the DRM
kernel modules. This can be achieved by setting the correct order in
rc.conf(5)
using the kld_list directive.
The acpi_video
driver first appeared in
FreeBSD 5.3.
Some systems only perform output switching via SMM even though they export the
proper information via ACPI. On such systems, the proper hotkeys or OEM driver
(for example,
acpi_toshiba(4))
must be used instead.