xref: /dragonfly/usr.sbin/acpi/acpiconf/acpiconf.8 (revision ed5d5720)
1.\"-
2.\" Copyright (c) 2000 Dag-Erling Co�dan Sm�rgrav
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer
10.\"    in this position and unchanged.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. The name of the author may not be used to endorse or promote products
15.\"    derived from this software without specific prior written permission.
16.\"
17.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
28.\"      $FreeBSD: src/usr.sbin/acpi/acpiconf/acpiconf.8,v 1.13 2004/06/04 19:20:43 ru Exp $
29.\"      $DragonFly: src/usr.sbin/acpi/acpiconf/acpiconf.8,v 1.1 2004/07/05 00:22:43 dillon Exp $
30.\"
31.Dd January 12, 2001
32.Dt ACPICONF 8
33.Os
34.Sh NAME
35.Nm acpiconf
36.Nd control ACPI power management
37.Sh SYNOPSIS
38.Nm
39.Op Fl deh
40.Op Fl i Ar batt
41.Op Fl s Ar type
42.Sh DESCRIPTION
43The
44.Nm
45utility allows the user control of the ACPI power management
46functions.
47The following command-line options are recognized:
48.Bl -tag -width ".Fl s Ar type"
49.It Fl d
50Disables ACPI power management.
51.It Fl e
52Enables ACPI power management.
53.It Fl h
54Displays a summary of available options.
55.It Fl i Ar batt
56Get design information about the specified battery.
57.It Fl s Ar type
58Enters the specified sleep mode.
59Recognized types are
60.Cm 1
61(only the CPU clock is stopped),
62.Cm 2
63(not implemented on most systems but similar to S1),
64.Cm 3
65(the CPU context is lost and memory context is preserved),
66.Cm 4
67(the CPU context is lost and memory context is stored to disk)
68and
69.Cm 5
70(soft off).
71Sleep states may also be given as S1, S2, etc.
72The supported states depend on BIOS implementation, including ACPI
73byte code (AML).
74If the
75.Pa /etc/rc.suspend
76and
77.Pa /etc/rc.resume
78scripts are executable, they will be run before and after entering
79the given sleep state.
80.El
81.Sh SEE ALSO
82.Xr acpi 4 ,
83.Xr acpidump 8 ,
84.Xr apm 8
85.Sh HISTORY
86The
87.Nm
88utility appeared in
89.Fx 5.0 .
90.Sh AUTHORS
91.An -nosplit
92The
93.Nm
94utility was written by
95.An Mitsuru Iwasaki Aq iwasaki@FreeBSD.org .
96This manual page was written by
97.An Dag-Erling Sm\(/orgrav Aq des@FreeBSD.org .
98