Changeset 4588
- Timestamp:
- 07/08/07 12:01:50 (1 year ago)
- Files:
-
- lm-sensors/trunk/CHANGES (modified) (1 diff)
- lm-sensors/trunk/doc/fancontrol.txt (modified) (2 diffs)
- lm-sensors/trunk/prog/pwm/fancontrol (modified) (1 diff)
- lm-sensors/trunk/prog/pwm/fancontrol.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/CHANGES
r4579 r4588 32 32 Support optional min and max PWM values 33 33 Better integration with init scripts 34 Use linear control instead of quadratic 34 35 Program pwmconfig: Use smaller steps for low PWM values 35 36 Support optional min and max PWM values lm-sensors/trunk/doc/fancontrol.txt
r4438 r4588 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/trunk/prog/pwm/fancontrol
r4439 r4588 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/trunk/prog/pwm/fancontrol.pl
r4341 r4588 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;
