Set power working mode
更新时间: 2026/08/06
在Gitcode上查看源码Set power working mode
Change History
| openUBMC Version | Revision Date | Description | Revised By |
|---|---|---|---|
| 3.22.15.01 | 2026-06-10 | New API | Wang Han/30068863 |
Basic Information
Function Description
Set the power supply working mode.
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 32h |
| CMD | bch |
| 1:3 | fru_id: 0x000080 |
| 4 | device_id: 0x00 |
| 5 | sdr_type: 0x8c |
| 6 | Mode_mask. Bits 0-7 correspond to power supplies 0-7. [7:0]: The value 0 indicates that the corresponding power supply is standby, and the value 1 indicates that the corresponding power supply is active. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | Setting success/failure cause 00h: The active/standby power supply switchover is successful. 02h: The system power supply does not support active/standby power supply. 0Bh: The active and standby power supply configuration parameters are incorrect. |
Command Example
Set the working mode of the power supply. Power supply 0 is the standby power supply, and other power supplies are the active power supply.
Request:
bash
ipmitool raw 0x32 0xbc 0x00 0x00 0x80 0x00 0x8c 0x0eResponse:
text