pwmconfig: Raise the detection threshold to 3/4

Detection threshold of 2/3 of the maximum speed is too low, some fans
will slow down to about that speed so controlled fans may be missed.
Use 3/4 as the threshold to avoid these false negatives.
This commit is contained in:
Jean Delvare committed 2013-05-01 10:29:57 +00:00
1 parent 2096d14c18
commit 58ec80bf54
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ SVN HEAD
sensors.conf.5: Mention "sensors -u" to get the raw feature names
sensors: Clarify what option -u is good for
pwmconfig: Print the initial PWM values
Raise the detection threshold to 3/4
sensors-detect: Add detection of AMD family 16h power sensors
Map IT8771E, IT8772E, IT8782F and IT8783F to it87
Use /sys/module instead of /proc/modules where available
+1 -1
View File
@@ -449,7 +449,7 @@ do
OS=`echo $SPEEDS | cut -d' ' -f$count`
S=`echo $CURRENT_SPEEDS | cut -d' ' -f$count`
echo " $j ... speed was $OS now $S"
let threshold=2*$OS/3
let threshold=3*$OS/4
if [ $S -lt $threshold ]
then
echo " It appears that fan $j"