Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/powerd Describe AC adapter events.



details:   https://anonhg.NetBSD.org/src/rev/adb43a57fde6
branches:  trunk
changeset: 566280:adb43a57fde6
user:      kochi <kochi%NetBSD.org@localhost>
date:      Mon May 03 07:54:59 2004 +0000

description:
Describe AC adapter events.

diffstat:

 usr.sbin/powerd/powerd.8 |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r 38815fc22e51 -r adb43a57fde6 usr.sbin/powerd/powerd.8
--- a/usr.sbin/powerd/powerd.8  Mon May 03 07:45:37 2004 +0000
+++ b/usr.sbin/powerd/powerd.8  Mon May 03 07:54:59 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: powerd.8,v 1.6 2004/04/25 03:13:00 kochi Exp $
+.\"    $NetBSD: powerd.8,v 1.7 2004/05/03 07:54:59 kochi Exp $
 .\"
 .\" Copyright (c) 2003 Wasabi Systems, Inc.
 .\" All rights reserved.
@@ -33,7 +33,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 25, 2004
+.Dd May 3, 2004
 .Dt POWERD 8
 .Os
 .Sh NAME
@@ -107,14 +107,16 @@
 This script is called when an event occurs on a sleep button device.
 .It lid_switch
 This script is called when an event occurs on a lid switch device.
+.It acadapter
+This script is called when an online or offline event occurs on an AC adapter device.
 .El
 .Pp
 The following events are defined for power switch devices:
 .Bl -tag -width "released"
 .It pressed
-The button was pressed or the lid closed.
+The button was pressed, the lid closed or the AC adapter connected.
 .It released
-The button was released or the lid opened.
+The button was released, the lid opened or the AC adapter disconnected.
 Note that power and sleep button devices usually do not
 post this type of event.
 .El
@@ -126,6 +128,7 @@
 .Ed
 .Sh SEE ALSO
 .Xr acpi 4 ,
+.Xr acpiacad 4 ,
 .Xr acpibut 4 ,
 .Xr acpilid 4 ,
 .Xr apm 4



Home | Main Index | Thread Index | Old Index