MINSTART has no effect in fancontrol
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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Balázs,
Quoted 7 lines · Hámorszky Balázs
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.
Quoted 1 line
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.
Quoted 1 line
(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.
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 24 lines · Jean Delvare
Hi Balázs,
Quoted 7 lines · Hámorszky Balázs
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.
Quoted 1 line
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.
Quoted 4 lines
Quoted 1 line
(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.
Quoted 4 lines
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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors