[lm-sensors] Controlling fans using hddtemp?

Jean Delvare khali at linux-fr.org
Sun Dec 6 14:52:16 CET 2009

Hi Timothy,

On Thu, 3 Dec 2009 11:39:40 -0500, Timothy Normand Miller wrote:
> Two of my case fans point at my hard drives.  It would be cool if I
> could use what's reported by hddtemp to control those fans (using
> fancontrol).  Even better if I could set the fan speed based on the
> max of settings computed from CPU temperature and hdd temperature.  Is
> any of this possible?

Our fancontrol script doesn't support this at the moment. Only hwmon
kernel drivers can be used as thermal sources for the speed regulation.

There have been discussions in the past to either improve fancontrol to
accept arbitrary temperature sources [1] or to integrate hardware
temperature monitoring in libsensors [2]. However, neither happened
yet. The former is unlikely to happen ever, as fancontrol started as a
hack and isn't really meant to become more flexible than it is today.
The latter will probably happen but it may take long (several months if
not years.)

[1] http://lists.lm-sensors.org/pipermail/lm-sensors/2009-January/025185.html
[2] http://lists.lm-sensors.org/pipermail/lm-sensors/2009-November/027255.html

Jean Delvare

More information about the lm-sensors mailing list