]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/acpi_video.4
disk(9): Fix a few mandoc related errors
[FreeBSD/FreeBSD.git] / share / man / man4 / acpi_video.4
1 .\"
2 .\" Copyright (c) 2004 Mark Santcroos <marks@ripe.net>
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 .\" SUCH DAMAGE.
25 .\"
26 .\" $FreeBSD$
27 .\"
28 .Dd November 8, 2004
29 .Dt ACPI_VIDEO 4
30 .Os
31 .Sh NAME
32 .Nm acpi_video
33 .Nd ACPI Video Extensions driver
34 .Sh SYNOPSIS
35 .Cd "device acpi_video"
36 .Sh DESCRIPTION
37 This driver uses the ACPI Video Extensions to control display switching and
38 backlight brightness.
39 The availability of the
40 .Xr sysctl 8
41 variables depends on the functions offered by the host's ACPI implementation.
42 .Sh SYSCTL VARIABLES
43 The following sysctls are currently implemented,
44 where
45 .Aq Ar device
46 is
47 .Va crt , lcd ,
48 or
49 .Va tv :
50 .Bl -tag -width indent
51 .It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .active
52 Current state of the output device.
53 .It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .levels
54 List of supported brightness levels.
55 .It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .brightness
56 Current brightness level of the device.
57 .It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .fullpower
58 Preset brightness level to be used in full power mode.
59 .It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .economy
60 Preset brightness level to be used in economy mode.
61 .El
62 .Pp
63 Defaults for these variables can be set in
64 .Xr sysctl.conf 5 ,
65 which is parsed at boot-time.
66 .Sh COMPATIBILITY
67 In order for
68 .Nm
69 to attach correctly,
70 .Nm
71 should be loaded after any of the DRM kernel modules.
72 This can be achieved by setting the correct order in
73 .Xr rc.conf 5
74 using the kld_list directive.
75 .Sh SEE ALSO
76 .Xr acpi 4 ,
77 .Xr loader.conf 5 ,
78 .Xr sysctl.conf 5 ,
79 .Xr sysctl 8
80 .Sh HISTORY
81 The
82 .Nm
83 driver first appeared in
84 .Fx 5.3 .
85 .Sh AUTHORS
86 .An -nosplit
87 The
88 .Nm
89 driver was written by
90 .An Taku YAMAMOTO Aq Mt taku@cent.saitama-u.ac.jp .
91 This manual page was written by
92 .An Mark Santcroos Aq Mt marks@ripe.net .
93 .Sh BUGS
94 Some systems only perform output switching via SMM even though they export
95 the proper information via ACPI.
96 On such systems, the proper hotkeys or OEM driver (for example,
97 .Xr acpi_toshiba 4 )
98 must be used instead.