Get Power Supply Type
更新时间: 2026/08/06
在Gitcode上查看源码Get Power Supply Type
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtain the power supply type.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 32h |
| CMD | 2fh |
| 1 | slotNum |
| 2:3 | 0x1000 |
| 4 | DeviceId. Set it to 0x00. |
| 5 | SdrType. Set it to 0x00. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | 00h: DC power supply 01h: AC power supply |
Command Example
Obtain the type of the power module in slot 1.
Request:
bash
ipmitool raw 0x32 0x2f 0x01 0x10 0x00 0x00 0x00Response:
text
01