Set Fan Mode
更新时间: 2026/08/06
在Gitcode上查看源码Set Fan Mode
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Sets the fan mode (not applicable to servers without fans).
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 91h |
| 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=01h |
| 5 | Mode 0: automatic speed adjustment. Bytes 6-9 do not exist. 1: manual speed adjustment. The 6th to 9th bytes indicate the timeout duration (in minutes) for manual speed adjustment. After the timeout duration expires, automatic speed adjustment is used. The maximum value is 0x7fffffff. If the value is greater than 0x7fffffff, the value is set to 0x7fffffff. 2: hybrid speed adjustment. In this mode, bytes 6 to 9 do not exist. This mode is supported in the controlled speed adjustment scenario. |
| 6 | Timeout0-7 bits |
| 7 | Timeout8-15 bits |
| 8 | Timeout16-23 bits |
| 9 | Timeout24-31 bits |
| 10* | Cooling unit, cooling unit 1 base |
| Note: Some items marked with * are optional. The default mode takes effect on all heat dissipation units. If this parameter is set, the set mode takes effect only on the specified heat dissipation unit. If the automatic mode is used, the time does not need to be set, and the heat dissipation unit is 6 x the sixth byte of the request. |
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. |
Command Example
Set the fan mode.
Request:
bash
ipmitool raw 0x30 0x91 0xdb 0x07 0x00 0x01 0x00Response:
text
db 07 00