* [lm-sensors] MINSTART has no effect in fancontrol
@ 2009-07-05 1:09 Hámorszky Balázs
2009-07-05 11:41 ` Jean Delvare
2009-07-05 12:01 ` Hámorszky Balázs
0 siblings, 2 replies; 3+ messages in thread
From: Hámorszky Balázs @ 2009-07-05 1:09 UTC (permalink / raw)
To: lm-sensors
Hi!
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. At the
current state, pwmval can be lower than MINSTART (so on some
temperatures, greater than MINTEMP, the fan won't start).
Regards,
Balázs
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [lm-sensors] MINSTART has no effect in fancontrol
2009-07-05 1:09 [lm-sensors] MINSTART has no effect in fancontrol Hámorszky Balázs
@ 2009-07-05 11:41 ` Jean Delvare
2009-07-05 12:01 ` Hámorszky Balázs
1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2009-07-05 11:41 UTC (permalink / raw)
To: lm-sensors
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
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [lm-sensors] MINSTART has no effect in fancontrol
2009-07-05 1:09 [lm-sensors] MINSTART has no effect in fancontrol Hámorszky Balázs
2009-07-05 11:41 ` Jean Delvare
@ 2009-07-05 12:01 ` Hámorszky Balázs
1 sibling, 0 replies; 3+ messages in thread
From: Hámorszky Balázs @ 2009-07-05 12:01 UTC (permalink / raw)
To: lm-sensors
Jean Delvare wrote:
> 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.
You're right. My MINSTOP was 0. I've misunderstood the function of it.
> 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.
>
Thanks for the quick help!
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-05 12:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-05 1:09 [lm-sensors] MINSTART has no effect in fancontrol Hámorszky Balázs
2009-07-05 11:41 ` Jean Delvare
2009-07-05 12:01 ` Hámorszky Balázs
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.