Get ACPI Power State 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
标准命令,获取当前设备的 ACPI 状态。 The command can also be used to retrieve the present power state information that has been set into the controller. This is an independent setting from the system power state that may not necessarily match the actual power state of the system. Unspecified bits and codes are reserved and shall be returned as 0.
权限
ReadOnly
命令信息
请求信息
无请求参数
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 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 typically 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. |
命令样例
样例1:对当前设备BMC进行冷复位
- 请求:
ipmitool raw 0x06 0x07 - 响应: