2004-03-03 16:34:03 +00:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2004 Mark Santcroos <marks@ripe.net>
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2004-11-09 04:42:14 +00:00
|
|
|
.Dd November 8, 2004
|
2004-03-03 16:34:03 +00:00
|
|
|
.Dt ACPI_VIDEO 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm acpi_video
|
|
|
|
.Nd ACPI Video Extensions driver
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Cd "device acpi_video"
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
This driver uses the ACPI Video Extensions to control display switching and
|
|
|
|
backlight brightness.
|
|
|
|
The availability of the
|
|
|
|
.Xr sysctl 8
|
2004-06-17 19:51:17 +00:00
|
|
|
variables depends on the functions offered by the host's ACPI implementation.
|
2005-07-15 17:35:26 +00:00
|
|
|
.Sh SYSCTL VARIABLES
|
2004-03-03 16:34:03 +00:00
|
|
|
The following sysctls are currently implemented,
|
2004-06-17 19:51:17 +00:00
|
|
|
where
|
|
|
|
.Aq Ar device
|
|
|
|
is
|
|
|
|
.Va crt , lcd ,
|
|
|
|
or
|
|
|
|
.Va tv :
|
2004-03-03 16:34:03 +00:00
|
|
|
.Bl -tag -width indent
|
2004-06-17 19:51:17 +00:00
|
|
|
.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .active
|
2004-11-09 04:42:14 +00:00
|
|
|
Current state of the output device.
|
2004-06-17 19:51:17 +00:00
|
|
|
.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .levels
|
2004-03-03 16:34:03 +00:00
|
|
|
List of supported brightness levels.
|
2004-06-17 19:51:17 +00:00
|
|
|
.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .brightness
|
2004-03-03 16:34:03 +00:00
|
|
|
Current brightness level of the device.
|
2004-06-17 19:51:17 +00:00
|
|
|
.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .fullpower
|
2004-03-03 16:34:03 +00:00
|
|
|
Preset brightness level to be used in full power mode.
|
2004-06-17 19:51:17 +00:00
|
|
|
.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .economy
|
2004-03-03 16:34:03 +00:00
|
|
|
Preset brightness level to be used in economy mode.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
Defaults for these variables can be set in
|
|
|
|
.Xr sysctl.conf 5 ,
|
|
|
|
which is parsed at boot-time.
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr acpi 4 ,
|
|
|
|
.Xr loader.conf 5 ,
|
|
|
|
.Xr sysctl.conf 5 ,
|
|
|
|
.Xr sysctl 8
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver first appeared in
|
|
|
|
.Fx 5.3 .
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An -nosplit
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
|
|
|
.An Taku YAMAMOTO Aq taku@cent.saitama-u.ac.jp .
|
|
|
|
This manual page was written by
|
|
|
|
.An Mark Santcroos Aq marks@ripe.net .
|
2004-11-09 04:42:14 +00:00
|
|
|
.Sh BUGS
|
|
|
|
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,
|
|
|
|
.Xr acpi_toshiba 4 )
|
|
|
|
must be used instead.
|