Module Name: src
Committed By: jruoho
Date: Thu Apr 8 10:06:25 UTC 2010
Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile
Added Files:
src/share/man/man4: acpiwmi.4
Log Message:
Add acpiwmi(4).
To generate a diff of this commit:
cvs rdiff -u -r1.1198 -r1.1199 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.512 -r1.513 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/acpiwmi.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/man/mi
diff -u src/distrib/sets/lists/man/mi:1.1198 src/distrib/sets/lists/man/mi:1.1199
--- src/distrib/sets/lists/man/mi:1.1198 Thu Mar 11 10:38:36 2010
+++ src/distrib/sets/lists/man/mi Thu Apr 8 10:06:25 2010
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1198 2010/03/11 10:38:36 enami Exp $
+# $NetBSD: mi,v 1.1199 2010/04/08 10:06:25 jruoho Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -627,6 +627,7 @@
./usr/share/man/cat4/acpilid.0 man-sys-catman .cat
./usr/share/man/cat4/acpismbus.0 man-sys-catman .cat
./usr/share/man/cat4/acpitz.0 man-sys-catman .cat
+./usr/share/man/cat4/acpiwmi.0 man-sys-catman .cat
./usr/share/man/cat4/adb.0 man-sys-catman .cat
./usr/share/man/cat4/adbbt.0 man-sys-catman .cat
./usr/share/man/cat4/adbkbd.0 man-sys-catman .cat
@@ -1697,6 +1698,7 @@
./usr/share/man/cat4/we.0 man-sys-catman .cat
./usr/share/man/cat4/wi.0 man-sys-catman .cat
./usr/share/man/cat4/wm.0 man-sys-catman .cat
+./usr/share/man/cat4/wmidell.0 man-sys-catman .cat
./usr/share/man/cat4/wpi.0 man-sys-catman .cat
./usr/share/man/cat4/wscons.0 man-sys-catman .cat
./usr/share/man/cat4/wsdisplay.0 man-sys-catman .cat
@@ -3317,6 +3319,7 @@
./usr/share/man/html4/acpilid.html man-sys-htmlman html
./usr/share/man/html4/acpismbus.html man-sys-htmlman html
./usr/share/man/html4/acpitz.html man-sys-htmlman html
+./usr/share/man/html4/acpiwmi.html man-sys-htmlman html
./usr/share/man/html4/adb.html man-sys-htmlman html
./usr/share/man/html4/adbbt.html man-sys-htmlman html
./usr/share/man/html4/adbkbd.html man-sys-htmlman html
@@ -4268,6 +4271,7 @@
./usr/share/man/html4/we.html man-sys-htmlman html
./usr/share/man/html4/wi.html man-sys-htmlman html
./usr/share/man/html4/wm.html man-sys-htmlman html
+./usr/share/man/html4/wmidell.html man-sys-htmlman html
./usr/share/man/html4/wpi.html man-sys-htmlman html
./usr/share/man/html4/wscons.html man-sys-htmlman html
./usr/share/man/html4/wsdisplay.html man-sys-htmlman html
@@ -5707,6 +5711,7 @@
./usr/share/man/man4/acpilid.4 man-sys-man .man
./usr/share/man/man4/acpismbus.4 man-sys-man .man
./usr/share/man/man4/acpitz.4 man-sys-man .man
+./usr/share/man/man4/acpiwmi.4 man-sys-man .man
./usr/share/man/man4/adb.4 man-sys-man .man
./usr/share/man/man4/adbbt.4 man-sys-man .man
./usr/share/man/man4/adbkbd.4 man-sys-man .man
@@ -6777,6 +6782,7 @@
./usr/share/man/man4/we.4 man-sys-man .man
./usr/share/man/man4/wi.4 man-sys-man .man
./usr/share/man/man4/wm.4 man-sys-man .man
+./usr/share/man/man4/wmidell.4 man-sys-man .man
./usr/share/man/man4/wpi.4 man-sys-man .man
./usr/share/man/man4/wscons.4 man-sys-man .man
./usr/share/man/man4/wsdisplay.4 man-sys-man .man
Index: src/share/man/man4/Makefile
diff -u src/share/man/man4/Makefile:1.512 src/share/man/man4/Makefile:1.513
--- src/share/man/man4/Makefile:1.512 Fri Mar 19 04:04:27 2010
+++ src/share/man/man4/Makefile Thu Apr 8 10:06:25 2010
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.512 2010/03/19 04:04:27 cnst Exp $
+# $NetBSD: Makefile,v 1.513 2010/04/08 10:06:25 jruoho Exp $
# @(#)Makefile 8.1 (Berkeley) 6/18/93
-MAN= aac.4 ac97.4 acardide.4 aceride.4 acphy.4 acpidalb.4 \
+MAN= aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
adbbt.4 adbkbd.4 adbms.4 \
adc.4 admtemp.4 adv.4 adw.4 age.4 agp.4 agr.4 ahb.4 ahc.4 \
ahcisata.4 ahd.4 \
@@ -79,8 +79,8 @@
# smccir.4
# ACPI devices
-MAN+= acpi.4 acpiacad.4 acpibat.4 acpibut.4 acpiec.4 acpilid.4 \
- acpismbus.4 acpitz.4
+MAN+= acpi.4 acpiacad.4 acpibat.4 acpibut.4 acpidalb.4 acpiec.4 acpilid.4 \
+ acpismbus.4 acpitz.4 acpiwmi.4
# Radio devices
MAN+= radio.4 az.4 mr.4 rt.4 rtii.4 sf2r.4
@@ -144,6 +144,7 @@
MLINKS+=drm.4 viadrm.4
MLINKS+=acpiec.4 acpiecdt.4
+MLINKS+=acpiwmi.4 wmidell.4
MLINKS+=aibs.4 aiboost.4
MLINKS+=ata.4 atabus.4
MLINKS+=audio.4 audioctl.4
Added files:
Index: src/share/man/man4/acpiwmi.4
diff -u /dev/null src/share/man/man4/acpiwmi.4:1.1
--- /dev/null Thu Apr 8 10:06:25 2010
+++ src/share/man/man4/acpiwmi.4 Thu Apr 8 10:06:25 2010
@@ -0,0 +1,98 @@
+.\" $NetBSD: acpiwmi.4,v 1.1 2010/04/08 10:06:25 jruoho Exp $
+.\"
+.\" Copyright (c) 2010 Jukka Ruohonen <[email protected]>
+.\" 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. Neither the name of the author nor the names of any
+.\" contributors may be used to endorse or promote products derived
+.\" from this software without specific prior written permission.
+.\"
+.\" 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 FOUNDATION 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.
+.\"
+.Dd March 23, 2010
+.Dt ACPIWMI 4
+.Os
+.Sh NAME
+.Nm acpiwmi
+.Nd Windows Management Instrumentation support for
+.Tn ACPI
+.Sh SYNOPSIS
+.Cd "acpiwmi* at acpi?"
+.Cd "acpiwmibus* at acpiwmi?"
+.Cd "wmidell* at acpiwmibus?"
+.\" .Cd "wmihp* at acpiwmibus?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides an
+.Tn ACPI
+interface for Windows Management Instrumentation
+.Pq Tn WMI .
+The
+.Tn ACPI
+.Tn WMI
+interface is typically used to support vendor
+specific features found in various laptops.
+.Pp
+The following
+.Tn WMI
+mappings are supported:
+.Bl -tag -width "wmidell " -offset indent
+.It Sy wmidell
+Dell laptops
+.\" .It Sy wmihp
+.\" Hewlett-Packard laptops
+.El
+.Pp
+The functionality varies from vendor to vendor.
+Typically the interface is used for function and hotkey handling,
+but additional features may be present.
+.Sh SEE ALSO
+.Xr acpi 4
+.Rs
+.%A Microsoft Corporation
+.%D December 4, 2001
+.%T Windows Instrumentation: WMI and ACPI
+.%U http://www.microsoft.com/whdc/system/pnppwr/wmi/wmi-acpi.mspx
+.Re
+.Sh HISTORY
+The
+.Nm
+device driver appeared in
+.Nx 6.0 .
+.Sh AUTHORS
+.An Jukka Ruohonen
+.Aq [email protected]
+wrote the actual
+.Nm
+as well as
+.Sy wmidell .
+.\" and .Sy wmihp .
+.\" The
+.\" .Sy wmihp
+.\" was based on the earlier work done by
+.\" Michael Gmelin
+.\" .Aq [email protected]
+.\" for
+.\" .Fx .
+.Sh CAVEATS
+While
+.Tn WMI
+should provide a certain degree of portability across laptop
+models from a particular vendor, there is no guarantee that the mappings
+are functional in all models.