Set ACPI Power State 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
标准命令,设置当前设备的 ACPI 状态。 This command is provided to allow system software to tell a controller the present ACPI power state of the system. The Set ACPI Power State command can also be used as a mechanism for setting elements of the platform management subsystem to a particular power state. This is an independent setting that may not necessarily match the actual power state of the system. This command is used to enable the reporting of the power state, it does not control or change the power state.
权限
PowerMgmt
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | ACPI 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 typically 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. |
| 2 | ACPI Device Power State to set. Power states are mutually exclusive. Only one state can be set at a time. [7] 1 = set device power state 0 = 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 changeUse this value when communicating a change the system power state without indicating a change to the device power state. |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code The BMC is allowed to return an error completion code if an attempt is made to set states it knows the system doesn’t support. |
命令样例
样例1:对当前设备BMC进行冷复位
- 请求:
ipmitool raw 0x06 0x06 - 响应: