The fan tool ( fantool) reports information about fan availability and fan speed. fantool also allows control of the fan speeds.
Syntax: ./fantool <option> -h := show this help test [[all] | fan controller] := test using the Fan Controller config file init := Initialize the fans to the default state set <fan | all> [speed in RPM | low | mid | high] := sets the fan(s) to the speed get <fan | all> := gets the speed of the specified fan or all fans in RPM
In the fantool configuration output, the first six rows describe the six fans in your system and the devices that control the fans. The second portion lists the speeds for the fans: low, medium, high, and default.
The first portion of the output lists the fan IDs, name, the device that controls the fan, the fan address on the I2C bus, and the instance of the fan control within the chip. Also included is a description of which fan tray the fan is located in. The last two values in the configuration file output are the speed resolution and the number of pulses per second.
0 | Fan 1 | MAX6620 | 0x2a | 0 | Fan Tray 0 | 4 | 2 1 | Fan 2 | MAX6620 | 0x2a | 1 | Fan Tray 0 | 4 | 2 2 | Fan 3 | MAX6620 | 0x29 | 0 | Fan Tray 1 | 4 | 2 3 | Fan 4 | MAX6620 | 0x29 | 1 | Fan Tray 1 | 4 | 2 4 | Fan 5 | MAX6620 | 0x29 | 2 | Fan Tray 2 | 4 | 2 5 | Fan 6 | MAX6620 | 0x29 | 3 | Fan Tray 2 | 4 | 2 ===== 0 | 5 | 2000 | 9000 | 19000 | 18000