Temperature changes, but only if the temp is between MINTEMP and MAXTEMP.Īfter that, the new values are written to the PWM outputs.
#Man fancontrol driver
This function gets the temperatures andįanspeeds from kernel driver files and calculates new speeds depending on The assumption that the configuration file may be out-of-sync with theįancontrol first reads its configuration, writes it toĪrrays and loops its main function. Upon starting, fancontrol will make sure that all referencedĭevices do exist and match what they were at configuration time, and thatĪll referenced sysfs files do exist. SmallĬhanges can be made by editing the config file directly following the rules You have to play with the temperature values a bit to get happy.įor initial setup I recommend using the pwmconfig script. sys/bus/i2c/devices or /sys/class/hwmon depending on the kernel version).Įxample: MINTEMP=hwmon0/device/pwm1=40 hwmon0/device/pwm2=54 Pwm output for which the value is valid, equal sign followed by the valueĪnd are separated by a blank. The variable name is followed byĪn equal sign and the device=value pairs. The configuration file format is a bit strange: VARIABLE=chip/pwmdev=value chip/pwmdev2=value2Įach variable has its own line. If this value isn'tĭefined, it defaults to 1 (no averaging). ItĬan be used to smoothen short temperature peaks. AVERAGE How many last temperature readings are used to average the temperature. Isn't defined, it defaults to 255 (full speed). MAXPWM The PWM value to use when the temperature is over MAXTEMP. Isn't defined, it defaults to 0 (stopped fan). Value as MINSTOP if you don't want the fan to ever stop. This will be either 0 if it is OK for the fan to plain stop, or the same MINPWM The PWM value to use when the temperature is below MINTEMP. MINSTOP The minimum speed at which the fan still spins. Safe value to be sure it works, even when the fan gets old. MINSTART Sets the minimum speed at which the fan begins spinning. MAXTEMP The temperature over which the fan gets switched to maximum speed. MINTEMP The temperature below which the fan gets switched to minimum speed. Thenįancontrol can check the fan speed and restart it if it stops FCFANS Records the association between a PWM output and a fan input. Temperature sensors should be used for calculation of new values for theĬorresponding PWM outputs. FCTEMPS Maps PWM outputs to temperature sensors so fancontrol knows which The configuration file is still up-to-date. DEVNAME Records hwmon class device names. This lets fancontrolĬheck that the configuration file is still up-to-date. INTERVAL This variable defines at which interval in seconds the main loop ofįancontrol will be executed DEVPATH Maps hwmon class devices to physical devices. Various variables available for changing fancontrol's behaviour: Since most of you are going to use pwmconfig(8) script, theĬonfig file syntax will be discussed last. Alternatively you can write this file yourself using the Which lets you interactively write your configuration file forįancontrol. Slightly warmer, just be sure to have a temperature alarm and/or shutdownĬall, in case some fan fails, because you probably won't hear it anymoreįor easy configuration, there's a script named pwmconfig(8) In practice it doesn't seem to be a major issue, the fans will get Most fans aren't designed to be powered by a PWMed voltage. Maybe you shouldn't use fancontrol at all. So if you plan to use these components in 50 years, Temperatures there will be a higher wearout of your other hardwareĬomponents, too. Mainboard, in addition to the risk of burning your CPU, at higher Please be careful when using the fan control features of your Temperatures and sets the corresponding PWM outputs to the computed Reads its configuration from a file, then calculates fan speeds from
#Man fancontrol software
Fancontrol - automated software based fan speed regulationįancontrol is a shell script for use with lm_sensors.