Set Power Restore Policy 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
设置机框的各项属性。 This command is used to set the values that will be returned for the Get Chassis Capabilities command into nonvolatile storage associated with the Chassis Device.
权限
BasicSetting
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | [7:3] - reserved [2:0] - power restore policy 011b = no change (just get present policy support) 010b = chassis always powers up after AC/mains is applied or returns 001b = after AC/mains is applied or returns, power is restored to the state that was in effect when AC/mains was removed or lost 000b = chassis always stays powered off after AC/mains is applied, power pushbutton or command required to power on system all other = reserved |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code A non-zero completion code should be returned if an attempt is made to set a policy option that is not supported. |
| 2 | power restore policy support (bitfield) [7:3] - reserved [2] - 1b = chassis supports always powering up after AC/mains returns [1] - 1b = chassis supports restoring power to state that was in effect when AC/mains was lost [0] - 1b = chassis supports staying powered off after AC/mains returns |
命令样例
样例1:
- 请求:
- 响应:
00