Setup Guide

fantool --short-test (or)
fantool -S
Execute repeatedly command by count:=
fantool --iteration=max/<count> [option1] [option2]... (or)
fantool -I max/<count> [option1] [option2]...
Read the Register from the fan controller:=
fantool --read --fan=<fan | all> --reg=<register | all> (or)
fantool -r -F <fan | all> -R <register | all>
Write the Register in the Fan Controller:=
fantool --write --fan=<fan | all> --reg=<register> --val=<value> (or)
fantool -w -F <fan | all> -R <register> -V <value>
Set the FPGA into normal mode:=
fantool --reset-fpga-mode (or)
fantool -Y -M
Usage:=
-h, --h Show the help text
-i, --init Initilize to default
-t, --test Test using the pre-programmed configuration or use supplied config
-g, --get Get operation
-s, --set Set operation
-r, --read Read operation
-w, --write Write operation
-I, --iteration= Iteration command execution
-F, --fan= Fan Id
-R, --reg= Register
-V, --val= Value to be set
-p, --speed= Speed of the fan
-S, --short-test Run the short test
-Y, --reset-fpga-mode Set FPGA to normal mode
*Fans are from 1 to Max System Fans.
root@dellemc-diag-os:~#
The fantool uses long options which requires two hyphens in front of the options. Options are required, optional, or none. If you require
a parameter, specify it and include an equal sign. If a parameter is optional, enclose it with square brackets to show that it is optional, but
do not type the brackets at the CLI. For example, --fan is optional and enter it as --fan=1 or --fan=all, and so forth. Parameters
with angle brackets are required but have multiple options for the input. Do not type the angle brackets or the vertical line character in the
CLI. Only use one option per command; for example, --fan=1 or --fan=all.
test—Runs through the speeds for the fan, from highest to lowest, and checks that the fan can run at the speeds of the test. If a
single fan is listed on the CLI, that fan is tested. If you use the all option, all fans are tested. The number in the parentheses during
the test is the speed the system tries to reach during the test. If a fan cannot reach the desired speed within an acceptable range
after 10 checks, the fan fails for that speed and the system moves on to the next fan.
get—Gets the speed of the fan and returns it in the rate process module (RPM).
set—Sets the speed of the fan in the RPM.
NOTE:
Commonly, fan speeds are in two registers and must be written in a specific order. The write command cannot
change the fan speeds; use the set command.
Output
Test output
root@dellemc-diag-os:~# fantool --test
Fan Controller Test .......................................
Setting speed for Fan 1 to 12000
Setting speed for Fan 2 to 12000
Setting speed for Fan 3 to 12000
Checking Fan Speeds
Fan 1 Speed: 18814 (12000)
Fan 1 Speed: 15855 (12000)
Fan 1 Speed: 12443 (12000)
Fan 2 Speed: 14672 (12000)
Fan 2 Speed: 11599 (12000)
Fan 3 Speed: 13195 (12000)
Setting speed for Fan 1 to 28000
32
Dell EMC DIAG-OS tools