]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - usr.sbin/acpi/acpiconf/acpiconf.8
MFC r339818: rcorder(8):
[FreeBSD/stable/10.git] / usr.sbin / acpi / acpiconf / acpiconf.8
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$
29 .\"
30 .Dd October 27, 2018
31 .Dt ACPICONF 8
32 .Os
33 .Sh NAME
34 .Nm acpiconf
35 .Nd control ACPI power management
36 .Sh SYNOPSIS
37 .Nm
38 .Op Fl h
39 .Op Fl i Ar batt
40 .Op Fl k Ar ack
41 .Op Fl s Ar type
42 .Sh DESCRIPTION
43 The
44 .Nm
45 utility allows the user control of the ACPI power management
46 functions.
47 The following command-line options are recognized:
48 .Bl -tag -width ".Fl s Ar type"
49 .It Fl h
50 Displays a summary of available options.
51 .It Fl i Ar batt
52 Get design information about the specified battery.
53 .It Fl k Ar ack
54 Ack or abort a pending suspend request using the argument provided.
55 .Sy Most users should not use this option directly.
56 .It Fl s Ar type
57 Enters the specified sleep mode.
58 Recognized types are
59 .Cm 1
60 (only the CPU clock is stopped),
61 .Cm 2
62 (not implemented on most systems but similar to S1),
63 .Cm 3
64 (the CPU context is lost and memory context is preserved),
65 and
66 .Cm 4
67 (the CPU context is lost and memory context is stored to disk).
68 Sleep states may also be given as S1, S2, etc.
69 The supported states depend on BIOS implementation, including ACPI
70 byte code (AML).
71 If the
72 .Pa /etc/rc.suspend
73 and
74 .Pa /etc/rc.resume
75 scripts are executable, they will be run by
76 .Xr devd 8
77 or
78 .Xr apmd 8
79 before and after entering the given sleep state.
80 .Pp
81 The
82 .Pa /etc/rc.resume
83 script uses the
84 .Xr rcorder 8
85 utility to call scripts in
86 .Pa /etc/rc.d/
87 and the
88 .Va $local_startup
89 directories that have a "resume" KEYWORD.
90 Called scripts are supplied with single "resume"
91 command line argument. See
92 .Xr rc.conf 5
93 for more information about
94 .Va $local_startup .
95 .El
96 .Sh SEE ALSO
97 .Xr acpi 4 ,
98 .Xr acpidump 8 ,
99 .Xr apm 8 ,
100 .Xr apmd 8 ,
101 .Xr devd 8 ,
102 .Xr rc.conf 5 ,
103 .Xr rcorder 8
104 .Sh HISTORY
105 The
106 .Nm
107 utility appeared in
108 .Fx 5.0 .
109 .Sh AUTHORS
110 .An -nosplit
111 The
112 .Nm
113 utility was written by
114 .An Mitsuru Iwasaki Aq iwasaki@FreeBSD.org .
115 This manual page was written by
116 .An Dag-Erling Sm\(/orgrav Aq des@FreeBSD.org .