summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2001-01-28 19:48:45 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2001-01-28 19:48:45 +0000
commit5f5938b7a6f8939702d75088e5edc87b21530025 (patch)
tree2f1d49f90a0496918b0d93268ae9d1e159500cfa /share
parent20b46180bc742f3850de362018712c14e5666062 (diff)
machdep.apmhalt docu goes here (and soon in apm.8).
Someone with better english skills than mine may want to edit the wording.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/man4.i386/apm.430
1 files changed, 28 insertions, 2 deletions
diff --git a/share/man/man4/man4.i386/apm.4 b/share/man/man4/man4.i386/apm.4
index 145a69d87bb..f2e47580180 100644
--- a/share/man/man4/man4.i386/apm.4
+++ b/share/man/man4/man4.i386/apm.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: apm.4,v 1.12 2000/10/18 21:11:11 mickey Exp $
+.\" $OpenBSD: apm.4,v 1.13 2001/01/28 19:48:44 marc Exp $
.\"
.\" Copyright (c) 1998 Marco S. Hyman
.\"
@@ -225,6 +225,29 @@ to zero disables all warnings regardless of the
.Dv APM_IOC_PRN_CTL
setting.
.El
+.Pp
+As noted above, the operation of the
+.Tn APM
+driver can be modified using the
+.Dv machdep.apmwarn
+.Xr sysctl 8
+variable. Another driver modifier is the
+.Dv machdep.apmhalt
+variable. When
+.Dv machdep.apmhalt
+is set to 1 the
+.Tn APM
+power down code is modified in a way necessary for correct operation on
+some systems, mainly
+.Tn IBM
+laptops. If your system does not power down when given the command
+.Li "halt -p"
+try setting
+.Dv machdep.apmhalt
+to 1 using
+.Xr sysctl(8) .
+The variable can be set at boot time in
+.Xr sysctl.conf(5) .
.Sh FILES
.Bl -tag -width /dev/apmctl -compat
.It Pa /dev/apm
@@ -241,8 +264,11 @@ An attempt to open the file when in use will fail, returning
.Er EBUSY .
.El
.Sh SEE ALSO
+.Xr sysctl.conf 5 ,
.Xr apm 8 ,
-.Xr apmd 8
+.Xr apmd 8 ,
+.Xr halt 8 ,
+.Xr sysctl 8
.Pp
http://developer.intel.com/ial/powermgm/apmv12.pdf
.Sh HISTORY