summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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