Get Desired Speed
更新时间: 2026/08/06
在Gitcode上查看源码Get Desired Speed
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtains the fan speed level.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer 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. |
| 4 | Sub command, sub command=20h |
| 5 | fan 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
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer 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:N | Data 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 0Response:
text
0f MM NN