Get Power Saving Configuration
更新时间: 2026/08/06
在Gitcode上查看源码

Get Power Saving Configuration

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Obtains energy saving configuration parameters.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
4Sub command, sub command=0x25h
5Power saving parameter. For details, see Table 1.
6Read offset, starting from 0.
7Length: read length.

Response Information

ByteData Field
1Completion Code
2:4Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
5End of list, indicating whether the data reading is complete. Long data may need to be read multiple times. This field is used to check whether data is completely read.
[7:1]-reserved
[0]: End of list
0=last data.
1=middle data
6:NIndicates the data. The returned data may be less than or equal to the read length.

Reference Information

Table 1 Power Saving Parameter

Parameter-Parameter DataNo. (Decimal)
Number Of P-States/T-Statesread-onlydata1- Get Number Of P-States
data2- Get Number Of T-States
Get the maximum number of P-/T-states supported by the current CPU.
1
Max Allowed
CPU P-state/T-
state
read-writedata1-Get Max Allowed P-States
data2-Get Max Allowed T-States
The maximum P/T state supported by the current CPU is read and set. P0 and T0 are the largest.
2
Current PS Work Moderead-onlydata1-Get Power Supply Actual Work Mode
0: load sharing
1: active/standby mode (output voltage reduction of the standby PSU)
2: unknown
3
Expected PS Work Moderead-writedata1-Get/Set Power Supply Expected Work Mode
0: load sharing
1: active/standby mode (output voltage reduction of the standby PSU)
4
Active-standby maximum/minmum percentageread-writeQueries or sets the upper or lower threshold for the percentage of the system power to the rated power of active PSUs in active/standby mode.
When [System power/Total rated power of active PSUs] is greater than the upper limit of the percentage, the system automatically switches to the load sharing mode.When [System power/Total rated power of active PSUs] is lower than the lower threshold, the system automatically switches to the active/standby mode.
data1: upper limit of the percentage
Value range: [Lower limit of the percentage]–100. The value 255 indicates that the lower limit is not changed.
data2: lower limit of the percentage
The value ranges from 0 to the upper limit of the percentage. The value 255 indicates that the upper limit is not changed.
5
Expected PS Work Mode with PS Listread-writedata1-Get/Set Power Supply Expected Work Mode
0: load sharing
1: active/standby mode (standby power supply output voltage reduction)
Data2:5-Active power supply list
bit0~bit31-PS1~PS32, LS-byte first
The value of each digit is as follows:
0: master
1: slave
6

Command Example

Obtain energy saving parameters.

Request:

bash
ipmicmd -k "0f 00 30 93 db 07 00 25 02 00 02" smi 0

Response:

text
0f 31 00 93 00 db 07 00 00 00 00

Back to Index