Use linear interpolation instead of quadratic to choose PWM values.

This is simpler and will work better in most cases. For example this
should address at least part of ticket #2224. It seems that quadratic
was used to lower the average noise level, but I don't think this is a
valid reason. The new MINPWM and MAXPWM parameters will also let the
user control the noise level if really needed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4588 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-07-08 10:01:50 +00:00
1 parent f51cffe559
commit fd9077bd03
4 files changed
+5 -6

No files matched your search

+2 -4
View File
@@ -120,16 +120,14 @@ fancontrol first reads its configuration, writes it to arrays and loops its
main function. This function gets the temperatures and fanspeeds from
kernel driver files and calculates new speeds depending on temperature
changes, but only if the temp is between MINTEMP and MAXTEMP. After that, the
new values are written to the pwm outputs. Currently the speed increases
quadratically with rising temperature. This way you won't hear your fans most
of the time at best.
new values are written to the pwm outputs. The pwm value increases
linearly with rising temperature.
Planned features
rc-scripts for some gnu/linux-distributions
smoother regulation (temp interpolation)
other curve styles (linear, exponential)
gui for configuration
If you have other wishes or want to contribute something, please let me know: