From 04803e876050cc700f23ca09a794eab7b5e8f787 Mon Sep 17 00:00:00 2001 From: Hasso Tepper Date: Thu, 28 Aug 2008 09:47:04 +0000 Subject: [PATCH] Add acpi_video(4) manpage and move acpi_toshiba(4) manpage out from man4.i386. --- share/man/man4/Makefile | 4 +- share/man/man4/{man4.i386 => }/acpi_toshiba.4 | 2 +- share/man/man4/acpi_video.4 | 92 +++++++++++++++++++ share/man/man4/man4.i386/Makefile | 4 +- 4 files changed, 98 insertions(+), 4 deletions(-) rename share/man/man4/{man4.i386 => }/acpi_toshiba.4 (97%) create mode 100644 share/man/man4/acpi_video.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 9e5a19f267..36bd584726 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,10 +1,12 @@ # @(#)Makefile 8.1 (Berkeley) 6/18/93 # $FreeBSD: src/share/man/man4/Makefile,v 1.83.2.66 2003/06/04 17:10:30 sam Exp $ -# $DragonFly: src/share/man/man4/Makefile,v 1.85 2008/07/27 18:42:15 thomas Exp $ +# $DragonFly: src/share/man/man4/Makefile,v 1.86 2008/08/28 09:47:04 hasso Exp $ MAN= aac.4 \ acpi.4 \ acpi_thermal.4 \ + acpi_toshiba.4 \ + acpi_video.4 \ acx.4 \ adv.4 \ adw.4 \ diff --git a/share/man/man4/man4.i386/acpi_toshiba.4 b/share/man/man4/acpi_toshiba.4 similarity index 97% rename from share/man/man4/man4.i386/acpi_toshiba.4 rename to share/man/man4/acpi_toshiba.4 index 3afa823dd7..58ff610c48 100644 --- a/share/man/man4/man4.i386/acpi_toshiba.4 +++ b/share/man/man4/acpi_toshiba.4 @@ -24,7 +24,7 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD: src/share/man/man4/man4.i386/acpi_toshiba.4,v 1.5 2004/04/14 00:23:58 njl Exp $ -.\" $DragonFly: src/share/man/man4/man4.i386/Attic/acpi_toshiba.4,v 1.1 2005/04/06 03:25:46 y0netan1 Exp $ +.\" $DragonFly: src/share/man/man4/acpi_toshiba.4,v 1.1 2008/08/28 09:47:04 hasso Exp $ .\" .Dd February 19, 2004 .Dt ACPI_TOSHIBA 4 i386 diff --git a/share/man/man4/acpi_video.4 b/share/man/man4/acpi_video.4 new file mode 100644 index 0000000000..cc470d35e7 --- /dev/null +++ b/share/man/man4/acpi_video.4 @@ -0,0 +1,92 @@ +.\" +.\" Copyright (c) 2004 Mark Santcroos +.\" 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: src/share/man/man4/acpi_video.4,v 1.4 2005/07/15 17:35:25 hrs Exp $ +.\" $DragonFly: src/share/man/man4/acpi_video.4,v 1.1 2008/08/28 09:47:04 hasso Exp $ +.\" +.Dd November 8, 2004 +.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 +variables depends on the functions offered by the host's ACPI implementation. +.Sh SYSCTL VARIABLES +The following sysctls are currently implemented, +where +.Aq Ar device +is +.Va crt , lcd , +or +.Va tv : +.Bl -tag -width indent +.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .active +Current state of the output device. +.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .levels +List of supported brightness levels. +.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .brightness +Current brightness level of the device. +.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .fullpower +Preset brightness level to be used in full power mode. +.It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .economy +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 +and was imported into +.Dx 2.1 . +.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 . +.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. diff --git a/share/man/man4/man4.i386/Makefile b/share/man/man4/man4.i386/Makefile index 2ec410fa4d..553d6d1b2f 100644 --- a/share/man/man4/man4.i386/Makefile +++ b/share/man/man4/man4.i386/Makefile @@ -1,7 +1,7 @@ # $FreeBSD: src/share/man/man4/man4.i386/Makefile,v 1.122.2.12 2003/04/15 17:23:32 fjoe Exp $ -# $DragonFly: src/share/man/man4/man4.i386/Makefile,v 1.14 2008/07/27 18:37:30 thomas Exp $ +# $DragonFly: src/share/man/man4/man4.i386/Makefile,v 1.15 2008/08/28 09:47:04 hasso Exp $ -MAN= acpi_toshiba.4 aic.4 alpm.4 amdpm.4 apm.4 ar.4 asc.4 asr.4 \ +MAN= aic.4 alpm.4 amdpm.4 apm.4 ar.4 asc.4 asr.4 \ cs.4 cx.4 cy.4 \ dgb.4 digi.4 el.4 en.4 ep.4 est.4 ex.4 fe.4 gsc.4 \ ie.4 io.4 labpc.4 le.4 linux.4 lnc.4 longrun.4 \ -- 2.41.0