MINSTART has no effect in fancontrol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bal?zs,

On Sun, 05 Jul 2009 03:09:51 +0200, H?morszky Bal?zs wrote:
> In fancontrol MINSTART has no effect (it has, but only for an INTERVAL 
> period of time).
> The line:
> pwmval="(${tval}-${mint})*(${maxpwm}-${minso})/(${maxt}-${mint})+${minso}"
> should be:
> pwmval="(${tval}-${mint})*(${maxpwm}-${minsa})/(${maxt}-${mint})+${minsa}"
> if I understand the configuration options of fancontrol right.

I guess you don't. The formula above is perfectly correct. With your
proposed change, MINSTART would be used instead of MINSTOP for the
speed computations, which is definitely not what we want.

> At the current state, pwmval can be lower than MINSTART

Of course it can, by design. But it can't be lower than MINPWM. I
suggest you read the fancontrol documentation:
  http://www.lm-sensors.org/browser/lm-sensors/trunk/doc/fancontrol.txt
and in particular the graph. You'll see that MINSTART is _not_ used to
compute the fan speed. MINSTART is only used for the initial pulse to
get a fan spinning.

> (so on some temperatures, greater than MINTEMP, the fan won't start).

It should, if your settings are correct. Maybe you have set either
MINSTART or MINSTOP too low for your fan.

That being said, it could be that the MINSTART pulse of 1 second is a
tad too short for some fans. If this is your case then you could
increase the sleep value from 1 to 2 or 3 and see if it helps.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux