prog/pwm/fancontrol
PATCH 1/1 prog/pwm/fancontrol
Attached is a patch for prog/pwm/fancontrol to remove the use of awk, cut and cat from the main loop.
Attached also is a replacement for prog/pwm/fancontrol written in c. It uses a lot less memory and processor resources while still using the same /etc/fancontrol file.
Four additional options for the /etc/fancontrol file:
- VERBOSE=1 to display current values
- KEEPON=1 always keep fans moving at least MINSTOP
- SMOOTH=0-4 temperature filtering of +/- SMOOTH for noisy readings
- WORKKICK=0-100,0-255 if cpu working more that 1-100% of the time
interval add 0-255 to pwm
Paul
Signature · 14 lines
-------------- next part -------------- A non-text attachment was scrubbed... Name: fancontrol.patch Type: text/x-diff Size: 3433 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060512/4aa32fbb/fancontrol-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: fancontroller.c Type: text/x-csrc Size: 22334 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060512/4aa32fbb/fancontroller-0001.bin