Set Power Restore Policy 命令详情
更新时间:2025/06/26
在Gitcode上查看源码

修订记录

openUBMC版本号修订日期修订人修订内容
25.062025/06/26pengqiang-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

响应信息

字节顺序域取值说明
1Completion Code

A non-zero completion code should be returned if an attempt is made to set a policy option that is not supported.
2power 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

返回到索引