代码仓
中
Get Fan Level
更新时间: 2026/08/06
在AtomGit上查看源码

Get Fan Level ​

Change History ​

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

Basic Information ​

Function Description ​

Obtains the fan speed level.

Privilege ​

ReadOnly

Command Information ​

Request Information ​

ByteData Field
NetFnPICMG
CMD16h
1PICMG Identifier. Indicates that this is a PICMG-defined group extension command. A value of 00h is used.
2FRU Device ID. Indicates an individual FRU device to query.

Response Information ​

ByteData Field
1Completion Code
2PICMG Identifier. Indicates that this is a PICMG-defined group extension command. A value of 00h is used.
3Override Fan Level. Indicates the fan level that the Shelf Manager has selected, which must be in the range Minimum Speed Level to Maximum Speed Level, or equal to FEh or FFh.
FEh=Fan has been placed in "Shut Down" by the Shelf Manager
FFh=Fan operating in Local Control mode
4Local Control Fan Level. This byte is optional if the Fan Tray does not support Local Control. When present, this byte always indicates the Local Control fan level as determined by the Fan Tray controller.
When Local Control is supported, the actual fan level is: 1) the value of this byte if Override Fan Level is FFh, or 2) the larger of this byte and Override Fan Level if Local Control Enable State is 01h, 3) the value of Override Fan Level if Local Control Enable State is 00h, or 4) Shut Down if either Override Fan Level or this byte has a value FEh.
5Local Control Enable State[1]. This byte is omitted if the Fan Tray does not support Local Control. When present, this byte indicates the Local Control State. A value of 0 indicates that Local Control mode is disabled and a value of 1 indicates Local Control mode is enabled.

Command Example ​

Obtain the fan speed level. ​

Request:

bash
ipmicmd -k "0f 00 2c 16 00 00" smi 0

Response:

text
0f 2d 00 16 00 00 * * *

Note: The response completion code is 00 (success). Query FRU 0, showing a fan tray that supports local control. Each of the three * values is one byte: override level, local-control level, and enable state. The last two bytes are omitted when local control is unsupported.

Back to Index ​