From dc2bea8abd37a88eea40374f0bec531ba41bebd9 Mon Sep 17 00:00:00 2001 From: jmc Date: Wed, 3 Nov 2021 19:54:28 +0000 Subject: [PATCH] adjust for perfpolicy being auto by default; ok deraadt --- usr.sbin/apm/apm.8 | 12 +++++++----- usr.sbin/apmd/apmd.8 | 6 +++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/usr.sbin/apm/apm.8 b/usr.sbin/apm/apm.8 index 028d7bbee9d..675ac54ca5c 100644 --- a/usr.sbin/apm/apm.8 +++ b/usr.sbin/apm/apm.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apm.8,v 1.43 2015/08/04 09:22:19 jmc Exp $ +.\" $OpenBSD: apm.8,v 1.44 2021/11/03 19:54:28 jmc Exp $ .\" .\" Copyright (c) 1996 John T. Kohl .\" All rights reserved. @@ -26,7 +26,7 @@ .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: August 4 2015 $ +.Dd $Mdocdate: November 3 2021 $ .Dt APM 8 .Os .Sh NAME @@ -57,7 +57,7 @@ displays the current power management state in verbose form. The options are as follows: .Bl -tag -width Ds .It Fl A -Switch to automatic performance adjustment mode. +Switch to automatic performance adjustment mode (the default). .It Fl a Display the external charger (A/C status). 0 means disconnected, 1 @@ -72,11 +72,13 @@ Set the name of the socket via which to contact to .Ar sockname . .It Fl H -Set +Switch to manual performance adjustment mode, +setting .Va hw.setperf to 100. .It Fl L -Set +Switch to manual performance adjustment mode, +setting .Va hw.setperf to 0. .It Fl l diff --git a/usr.sbin/apmd/apmd.8 b/usr.sbin/apmd/apmd.8 index 79a5f7f0264..79c469f15ef 100644 --- a/usr.sbin/apmd/apmd.8 +++ b/usr.sbin/apmd/apmd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apmd.8,v 1.52 2020/03/13 09:08:58 jca Exp $ +.\" $OpenBSD: apmd.8,v 1.53 2021/11/03 19:54:28 jmc Exp $ .\" .\" Copyright (c) 1995 John T. Kohl .\" All rights reserved. @@ -26,7 +26,7 @@ .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 13 2020 $ +.Dd $Mdocdate: November 3 2021 $ .Dt APMD 8 .Os .Sh NAME @@ -70,7 +70,7 @@ The options are as follows: .It Fl A Start .Nm -in automatic performance adjustment mode. +in automatic performance adjustment mode (the default). .It Fl a BIOS-initiated suspend or standby requests are ignored if the system is connected to line current and not running from -- 2.20.1