Changeset 4589
- Timestamp:
- 07/08/07 12:04:48 (6 years ago)
- Location:
- lm-sensors/branches/lm-sensors-3.0.0
- Files:
-
- 4 modified
-
CHANGES (modified) (1 diff)
-
doc/fancontrol.txt (modified) (2 diffs)
-
prog/pwm/fancontrol (modified) (1 diff)
-
prog/pwm/fancontrol.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/CHANGES
r4562 r4589 30 30 Support optional min and max PWM values 31 31 Better integration with init scripts 32 Use linear control instead of quadratic 32 33 Program pwmconfig: Use smaller steps for low PWM values 33 34 Support optional min and max PWM values -
lm-sensors/branches/lm-sensors-3.0.0/doc/fancontrol.txt
r4442 r4589 121 121 kernel driver files and calculates new speeds depending on temperature 122 122 changes, but only if the temp is between MINTEMP and MAXTEMP. After that, the 123 new values are written to the pwm outputs. Currently the speed increases 124 quadratically with rising temperature. This way you won't hear your fans most 125 of the time at best. 123 new values are written to the pwm outputs. The pwm value increases 124 linearly with rising temperature. 126 125 127 126 … … 130 129 rc-scripts for some gnu/linux-distributions 131 130 smoother regulation (temp interpolation) 132 other curve styles (linear, exponential)133 131 gui for configuration 134 132 -
lm-sensors/branches/lm-sensors-3.0.0/prog/pwm/fancontrol
r4443 r4589 325 325 else 326 326 # calculate the new value from temperature and settings 327 let pwmval="( (${tval}-${mint})**2)*(${maxpwm}-${minso})/((${maxt}-${mint})**2)+${minso}"327 let pwmval="(${tval}-${mint})*(${maxpwm}-${minso})/(${maxt}-${mint})+${minso}" 328 328 if [ $pwmpval -eq 0 -o $fanval -eq 0 ] 329 329 then # if fan was stopped start it using a safe value -
lm-sensors/branches/lm-sensors-3.0.0/prog/pwm/fancontrol.pl
r4357 r4589 391 391 else 392 392 { 393 $pwmval = eval ( ($tval - $mint) / ($maxt - $mint) ) **2;393 $pwmval = eval ( ($tval - $mint) / ($maxt - $mint) ); 394 394 $pwmval *= (255 - $minso); 395 395 $pwmval += $minso;
