xref: /freebsd/share/man/man4/acpi_video.4 (revision 6c89995002b9c6d1a9c7365483c55c106fc752d5)
1e2a643eeSNate Lawson.\"
2e2a643eeSNate Lawson.\" Copyright (c) 2004 Mark Santcroos <marks@ripe.net>
3e2a643eeSNate Lawson.\" All rights reserved.
4e2a643eeSNate Lawson.\"
5e2a643eeSNate Lawson.\" Redistribution and use in source and binary forms, with or without
6e2a643eeSNate Lawson.\" modification, are permitted provided that the following conditions
7e2a643eeSNate Lawson.\" are met:
8e2a643eeSNate Lawson.\" 1. Redistributions of source code must retain the above copyright
9e2a643eeSNate Lawson.\"    notice, this list of conditions and the following disclaimer.
10e2a643eeSNate Lawson.\" 2. Redistributions in binary form must reproduce the above copyright
11e2a643eeSNate Lawson.\"    notice, this list of conditions and the following disclaimer in the
12e2a643eeSNate Lawson.\"    documentation and/or other materials provided with the distribution.
13e2a643eeSNate Lawson.\"
14e2a643eeSNate Lawson.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15e2a643eeSNate Lawson.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16e2a643eeSNate Lawson.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17e2a643eeSNate Lawson.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18e2a643eeSNate Lawson.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19e2a643eeSNate Lawson.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20e2a643eeSNate Lawson.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21e2a643eeSNate Lawson.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22e2a643eeSNate Lawson.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23e2a643eeSNate Lawson.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24e2a643eeSNate Lawson.\" SUCH DAMAGE.
25e2a643eeSNate Lawson.\"
26e2a643eeSNate Lawson.\" $FreeBSD$
27e2a643eeSNate Lawson.\"
2875478544SNate Lawson.Dd November 8, 2004
29e2a643eeSNate Lawson.Dt ACPI_VIDEO 4
30e2a643eeSNate Lawson.Os
31e2a643eeSNate Lawson.Sh NAME
32e2a643eeSNate Lawson.Nm acpi_video
33e2a643eeSNate Lawson.Nd ACPI Video Extensions driver
34e2a643eeSNate Lawson.Sh SYNOPSIS
35e2a643eeSNate Lawson.Cd "device acpi_video"
36e2a643eeSNate Lawson.Sh DESCRIPTION
37e2a643eeSNate LawsonThis driver uses the ACPI Video Extensions to control display switching and
38e2a643eeSNate Lawsonbacklight brightness.
39e2a643eeSNate LawsonThe availability of the
40e2a643eeSNate Lawson.Xr sysctl 8
4101ddd31fSRuslan Ermilovvariables depends on the functions offered by the host's ACPI implementation.
4244cb3ab0SHiroki Sato.Sh SYSCTL VARIABLES
43e2a643eeSNate LawsonThe following sysctls are currently implemented,
4401ddd31fSRuslan Ermilovwhere
4501ddd31fSRuslan Ermilov.Aq Ar device
4601ddd31fSRuslan Ermilovis
4701ddd31fSRuslan Ermilov.Va crt , lcd ,
4801ddd31fSRuslan Ermilovor
4901ddd31fSRuslan Ermilov.Va tv :
50e2a643eeSNate Lawson.Bl -tag -width indent
5101ddd31fSRuslan Ermilov.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .active
5275478544SNate LawsonCurrent state of the output device.
5301ddd31fSRuslan Ermilov.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .levels
54e2a643eeSNate LawsonList of supported brightness levels.
5501ddd31fSRuslan Ermilov.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .brightness
56e2a643eeSNate LawsonCurrent brightness level of the device.
5701ddd31fSRuslan Ermilov.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .fullpower
58e2a643eeSNate LawsonPreset brightness level to be used in full power mode.
5901ddd31fSRuslan Ermilov.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .economy
60e2a643eeSNate LawsonPreset brightness level to be used in economy mode.
61e2a643eeSNate Lawson.El
62e2a643eeSNate Lawson.Pp
63e2a643eeSNate LawsonDefaults for these variables can be set in
64e2a643eeSNate Lawson.Xr sysctl.conf 5 ,
65e2a643eeSNate Lawsonwhich is parsed at boot-time.
66e2a643eeSNate Lawson.Sh SEE ALSO
67e2a643eeSNate Lawson.Xr acpi 4 ,
68e2a643eeSNate Lawson.Xr loader.conf 5 ,
69e2a643eeSNate Lawson.Xr sysctl.conf 5 ,
70e2a643eeSNate Lawson.Xr sysctl 8
71e2a643eeSNate Lawson.Sh HISTORY
72e2a643eeSNate LawsonThe
73e2a643eeSNate Lawson.Nm
74e2a643eeSNate Lawsondriver first appeared in
75e2a643eeSNate Lawson.Fx 5.3 .
76e2a643eeSNate Lawson.Sh AUTHORS
77e2a643eeSNate Lawson.An -nosplit
78e2a643eeSNate LawsonThe
79e2a643eeSNate Lawson.Nm
80e2a643eeSNate Lawsondriver was written by
81*6c899950SBaptiste Daroussin.An Taku YAMAMOTO Aq Mt taku@cent.saitama-u.ac.jp .
82e2a643eeSNate LawsonThis manual page was written by
83*6c899950SBaptiste Daroussin.An Mark Santcroos Aq Mt marks@ripe.net .
8475478544SNate Lawson.Sh BUGS
8575478544SNate LawsonSome systems only perform output switching via SMM even though they export
8675478544SNate Lawsonthe proper information via ACPI.
8775478544SNate LawsonOn such systems, the proper hotkeys or OEM driver (for example,
8875478544SNate Lawson.Xr acpi_toshiba 4 )
8975478544SNate Lawsonmust be used instead.
90