Set ACPI Power State
更新时间: 2025/06/26
在Gitcode上查看源码06h-设置ACPI电源状态(Set-ACPI-Power-State)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
设置ACPI电源状态
权限
PowerMgmt
适用机型
V3所有机型
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | App 06h |
| CMD | 06h |
| 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 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 |
| 2 | ACPI 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 |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code 0x0:命令执行成功 其他返回码:命令执行异常情况 |
命令样例
设置ACPI电源状态
请求:
ipmitool raw 0x06 0x06 0x80 0x80响应: