Changeset View
Changeset View
Standalone View
Standalone View
head/usr.sbin/acpi/acpiconf/acpiconf.8
Show All 21 Lines | |||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd September 22, 2015 | .Dd October 27, 2018 | ||||
.Dt ACPICONF 8 | .Dt ACPICONF 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm acpiconf | .Nm acpiconf | ||||
.Nd control ACPI power management | .Nd control ACPI power management | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl h | .Op Fl h | ||||
Show All 28 Lines | |||||
(the CPU context is lost and memory context is stored to disk). | (the CPU context is lost and memory context is stored to disk). | ||||
Sleep states may also be given as S1, S2, etc. | Sleep states may also be given as S1, S2, etc. | ||||
The supported states depend on BIOS implementation, including ACPI | The supported states depend on BIOS implementation, including ACPI | ||||
byte code (AML). | byte code (AML). | ||||
If the | If the | ||||
.Pa /etc/rc.suspend | .Pa /etc/rc.suspend | ||||
and | and | ||||
.Pa /etc/rc.resume | .Pa /etc/rc.resume | ||||
scripts are executable, they will be run before and after entering | scripts are executable, they will be run by | ||||
the given sleep state. | .Xr devd 8 | ||||
or | |||||
.Xr apmd 8 | |||||
before and after entering the given sleep state. | |||||
.Pp | |||||
The | |||||
.Pa /etc/rc.resume | |||||
script uses the | |||||
.Xr rcorder 8 | |||||
utility to call scripts in | |||||
.Pa /etc/rc.d/ | |||||
and the | |||||
.Va $local_startup | |||||
directories that have a "resume" KEYWORD. | |||||
Called scripts are supplied with single "resume" | |||||
command line argument. See | |||||
.Xr rc.conf 5 | |||||
for more information about | |||||
.Va $local_startup . | |||||
.El | .El | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr acpi 4 , | .Xr acpi 4 , | ||||
.Xr acpidump 8 , | .Xr acpidump 8 , | ||||
.Xr apm 8 | .Xr apm 8 , | ||||
.Xr apmd 8 , | |||||
.Xr devd 8 , | |||||
.Xr rc.conf 5 , | |||||
.Xr rcorder 8 | |||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
.Nm | .Nm | ||||
utility appeared in | utility appeared in | ||||
.Fx 5.0 . | .Fx 5.0 . | ||||
.Sh AUTHORS | .Sh AUTHORS | ||||
.An -nosplit | .An -nosplit | ||||
The | The | ||||
.Nm | .Nm | ||||
utility was written by | utility was written by | ||||
.An Mitsuru Iwasaki Aq Mt iwasaki@FreeBSD.org . | .An Mitsuru Iwasaki Aq Mt iwasaki@FreeBSD.org . | ||||
This manual page was written by | This manual page was written by | ||||
.An Dag-Erling Sm\(/orgrav Aq Mt des@FreeBSD.org . | .An Dag-Erling Sm\(/orgrav Aq Mt des@FreeBSD.org . |