Set ACPI Power State
更新时间: 2026/08/06
在Gitcode上查看源码

Set ACPI Power State

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Sets the ACPI power status.

Privilege

PowerMgmt

Command Information

Request Information

ByteData Field
NetFnApp 06h
CMD06h
1ACPI System Power State to set
Power states are mutually exclusive. Only one state can be set at a time
[7] – 1b = set system power state
0b = don't change system power state
[6:0] - System Power State enumeration
00h set S0/G0 working
01h set S1 hardware context maintained, typically equates to processor/chip set clocks stopped
02h set S2 typicall equates to stopped clocks with processor/cache context lost
03h set S3 typically equates to "suspend-to-RAM"
04h set S4 typically equates to "suspend-to-disk"
05h set S5/G2 soft off
06h set S4/S5 sent when message source cannot differentiate between S4 and S5
07h set G3 mechanical off
08h sleeping sleeping – cannot differentiate between S1-S3
09h G1 sleeping sleeping – cannot differentiate between S1-S4
0Ah set override S5 entered by override
20h set Legacy On Legacy On (indicates On for system that don't support ACPI or have ACPI capabilities disabled)
21h set Legacy Off Legacy Soft-Off
2Ah set unknown system power state unknown
7Fh no change Use this value when communicating a change the
device power state without indicating a change to the system power state
2ACPI Device Power State to set
Power states are mutually exclusive. Only one state can be set at a time
[7] – 1b = set device power state
0b = don't change device power state
[6:0] - Device Power State enumeration
00h set D0
01h set D1
02h set D2
03h set D3
2Ah set unknown
7Fh no change Use this value when communicating a change the system power state without indicating a change to the device power state

Response Information

ByteData Field
1Completion Code
0x0: The command is executed successfully.
Other return codes: The command execution is abnormal.

Command Example

Set the ACPI power status.

Request:

bash
ipmitool raw 0x06 0x06 0x80 0x80

Response:

text

Back to Index