Changeset 5855
- Timestamp:
- 08/22/10 18:07:22 (3 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/pwm/pwmconfig (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r5852 r5855 6 6 Map individual beep features 7 7 Change license to LGPL 8 pwmconfig: Sample all fan speeds before returning to full speed (#2380) 8 9 sensors.conf.default: W83667HG config is similar to W83627EHF/DHG 9 10 sensord: Fix support of multiple chips (#2377) -
lm-sensors/trunk/prog/pwm/pwmconfig
r5770 r5855 438 438 exit 1 439 439 fi 440 441 # Sample all current fan speeds at once, so that we can quickly 442 # disable PWM and return all fans to full speed 443 CURRENT_SPEEDS="`cat $GOODFAN`" 444 pwmdisable $i 445 440 446 let pwmactivecount=0 441 447 let count=1 … … 443 449 do 444 450 OS=`echo $SPEEDS | cut -d' ' -f$count` 445 # this will return the first field if there's only one (sysfs) 446 S=`cat $j | cut -d' ' -f2` 451 S=`echo $CURRENT_SPEEDS | cut -d' ' -f$count` 447 452 echo " $j ... speed was $OS now $S" 448 pwmdisable $i449 453 let threshold=2*$OS/3 450 454 if [ $S -lt $threshold ]
