Skip to content

Instantly share code, notes, and snippets.

@wranders
Last active April 2, 2024 19:15
Show Gist options
  • Save wranders/4425094dcba40a4b71ef32d5b0d2f8e9 to your computer and use it in GitHub Desktop.
Save wranders/4425094dcba40a4b71ef32d5b0d2f8e9 to your computer and use it in GitHub Desktop.

Dell IPMI Fan Control

Third-Party PCIe Response

Disable:

ipmitool -I lanplus -H <IPADDRESS> -U <USERNAME> -P '<PASSWORD>' raw \
0x30 0xCE 0x00 0x16 0x05 0x00 0x00 0x00 0x05 0x00 0x01 0x00 0x00

Enable:

ipmitool -I lanplus -H <IPADDRESS> -U <USERNAME> -P '<PASSWORD>' raw \
0x30 0xCE 0x00 0x16 0x05 0x00 0x00 0x00 0x05 0x00 0x00 0x00 0x00

Get status:

ipmitool -I lanplus -H <IPADDRESS> -U <USERNAME> -P '<PASSWORD>' raw \
0x30 0xCE 0x01 0x16 0x05 0x00 0x00 0x00
Response Meaning
16 05 00 00 00 05 00 01 00 00 Disabled
16 05 00 00 00 05 00 00 00 00 Enabled

Manual Control

Enable:

ipmitool -I lanplus -H <IPADDRESS> -U <USERNAME> -P '<PASSWORD>' raw \
0x30 0x30 0x01 0x00

Disabled:

ipmitool -I lanplus -H <IPADDRESS> -U <USERNAME> -P '<PASSWORD>' raw \
0x30 0x30 0x01 0x01

Set fan speed:

ipmitool -I lanplus -H <IPADDRESS> -U <USERNAME> -P '<PASSWORD>' raw \
0x30 0x30 0x02 0x?? 0x%%

Where ?? is the zero-indexed ID of the fan (ex. fan #1 = 00, fan #2 = 01, etc.). FF targets all fans.

Where %% is the PWM percentage in hexadecimal:

Speed Hex Speed Hex Speed Hex Speed Hex Speed Hex
10% 0A 29% 1D 48% 30 67% 43 86% 56
11% 0B 30% 1E 49% 31 68% 44 87% 57
12% 0C 31% 1F 50% 32 69% 45 88% 58
13% 0D 32% 20 51% 33 70% 46 89% 59
14% 0E 33% 21 52% 34 71% 47 90% 5A
15% 0F 34% 22 53% 35 72% 48 91% 5B
16% 10 35% 23 54% 36 73% 49 92% 5C
17% 11 36% 24 55% 37 74% 4A 93% 5D
18% 12 37% 25 56% 38 75% 4B 94% 5E
19% 13 38% 26 57% 39 76% 4C 95% 5F
20% 14 39% 27 58% 3A 77% 4D 96% 60
21% 15 40% 28 59% 3B 78% 4E 97% 61
22% 16 41% 29 60% 3C 79% 4F 98% 62
23% 17 42% 2A 61% 3D 80% 50 99% 63
24% 18 43% 2B 62% 3E 81% 51 100% 64
25% 19 44% 2C 63% 3F 82% 52
26% 1A 45% 2D 64% 40 83% 53
27% 1B 46% 2E 65% 41 84% 54
28% 1C 47% 2F 66% 42 85% 55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment