Get ACPI Power State
更新时间: 2025/06/26
在Gitcode上查看源码07h-查询ACPI电源状态(Get-ACPI-Power-State)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
查询ACPI电源状态
权限
ReadOnly
适用机型
V3所有机型
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | 06h |
| CMD | 07h |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code 0x0:命令执行成功 其他返回码:命令执行异常情况 |
| 2 | ACPI System Power State [7] - reserved [6:0] - System Power State enumeration 00h S0/G0 working 01h S1 hardware context maintained, typically equates to processor/chip set clocks stopped 02h S2 typicall equates to stopped clocks with processor/cache context lost 03h S3 typically equates to “suspend-to-RAM” 04h S4 typically equates to “suspend-to-disk” 05h S5/G2 soft off 06h S4/S5 soft off, cannot differentiate between S4 and S5 07h G3 mechanical off 08h sleeping sleeping – cannot differentiate between S1-S3 09h G1 sleeping sleeping – cannot differentiate between S1-S4 0Ah override S5 entered by override 20h Legacy On Legacy On (indicates On for system that don’t support ACPI or have ACPI capabilities disabled) 21h Legacy Off Legacy Soft-Off 2Ah unknown power state has not been initialized, or device lost track of power state |
| 3 | ACPI Device Power State [7] reserved [6:0] Device Power State enumeration 00h D0 01h D1 02h D2 03h D3 2Ah unknown – power state has not been initialized, or device lost track of power state |
命令样例
查询ACPI电源状态
请求:
ipmitool raw 0x06 0x07响应:
0x00 0x00