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.Dd November 8, 2004 27.Dt ACPI_VIDEO 4 28.Os 29.Sh NAME 30.Nm acpi_video 31.Nd ACPI Video Extensions driver 32.Sh SYNOPSIS 33.Cd "device acpi_video" 34.Sh DESCRIPTION 35This driver uses the ACPI Video Extensions to control display switching and 36backlight brightness. 37The availability of the 38.Xr sysctl 8 39variables depends on the functions offered by the host's ACPI implementation. 40.Sh SYSCTL VARIABLES 41The following sysctls are currently implemented, 42where 43.Aq Ar device 44is 45.Va crt , lcd , 46or 47.Va tv : 48.Bl -tag -width indent 49.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .active 50Current state of the output device. 51.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .levels 52List of supported brightness levels. 53.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .brightness 54Current brightness level of the device. 55.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .fullpower 56Preset brightness level to be used in full power mode. 57.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .economy 58Preset brightness level to be used in economy mode. 59.El 60.Pp 61Defaults for these variables can be set in 62.Xr sysctl.conf 5 , 63which is parsed at boot-time. 64.Sh COMPATIBILITY 65In order for 66.Nm 67to attach correctly, 68.Nm 69should be loaded after any of the DRM kernel modules. 70This can be achieved by setting the correct order in 71.Xr rc.conf 5 72using the kld_list directive. 73.Sh SEE ALSO 74.Xr acpi 4 , 75.Xr loader.conf 5 , 76.Xr sysctl.conf 5 , 77.Xr sysctl 8 78.Sh HISTORY 79The 80.Nm 81driver first appeared in 82.Fx 5.3 . 83.Sh AUTHORS 84.An -nosplit 85The 86.Nm 87driver was written by 88.An Taku YAMAMOTO Aq Mt taku@cent.saitama-u.ac.jp . 89This manual page was written by 90.An Mark Santcroos Aq Mt marks@ripe.net . 91.Sh BUGS 92Some systems only perform output switching via SMM even though they export 93the proper information via ACPI. 94On such systems, the proper hotkeys or OEM driver (for example, 95.Xr acpi_toshiba 4 ) 96must be used instead. 97