Get Desired Speed
更新时间: 2026/08/06
在Gitcode上查看源码

Get Desired Speed

Change History

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

Basic Information

Function Description

Obtains the fan speed level.

Privilege

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=20h
5fan id, base 1
0xFF: speed levels of all fans
For a group of fans with two front fans and two rear fans, fanid 1, 2, 3, 4, ... indicate the front fan of fan 1, the rear fan of fan 1, the front fan of fan 2, and the rear fan of fan 1 respectively.If there is only one fan in a group, fanid 1, 2, 3, 4, and so on represent fan 1, fan 2, fan 2, and so on. NOTE: The base fan id parameter indicates the ID of a heat dissipation unit. For a cabinet-level server, heat dissipation units are classified into different fan trays and heat dissipation units.

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.
5:NData 1:N speed level value. If the fan ID is requested, one piece of data is returned. If 0xFF is requested, the speeds of all fans are returned.
0xFF: The value is invalid in automatic mode.

Command Example

Obtain the fan speed level.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index