Changeset 5324
- Timestamp:
- 09/08/08 15:51:22 (5 years ago)
- Location:
- lm-sensors/branches/lm-sensors-3.0.0
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/pwm/pwmconfig (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/CHANGES
r5323 r5324 8 8 Fix MINSTOP and MINSTART test functions 9 9 Test MINSTOP before MINSTART 10 Use better step values for MINSTOP test 10 11 sensors-detect: Add Intel SCH (bus) support 11 12 Add SMSC EMC6D103 support -
lm-sensors/branches/lm-sensors-3.0.0/prog/pwm/pwmconfig
r5323 r5324 607 607 { 608 608 echo 609 echo 'Now we decrease the PWM value in 10-unit-steps.' 610 echo 'Let the fan reach full speed, then press return until the' 611 echo "fan stops spinning. Then enter 'y'." 612 echo 'We will use this value +20 as the minimum speed.' 609 echo 'Now we decrease the PWM value to figure out the lowest usable value.' 610 echo 'Press return as long as the fan spins. When the fan stops spinning,' 611 echo "enter 'y'. We will use a slightly greater value as the minimum speed." 613 612 let fanok=0 614 613 let fanval=$MAX … … 617 616 until [ "$fanok" = "1" ] 618 617 do 619 let fanval=fanval-10 618 if [ $fanval -lt $STEP2_BELOW ] 619 then 620 let fanval=$fanval-$STEP2 621 else 622 let fanval=$fanval-$STEP 623 fi 620 624 if [ $fanval -lt 0 ] ; then let fanval=0 ; let fanok=1 ; fi 621 625 echo -n "Setting $pwms to $fanval..." … … 626 630 pwmdisable $pwms 627 631 628 let fanval=fanval+20 629 if [ $fanval -gt $MAX ] ; then let fanval=$MAX ; fi 632 if [ $fanval -lt $STEP2_BELOW ] 633 then 634 let 'fanval=fanval+2*STEP2' 635 else 636 let 'fanval=fanval+STEP' 637 fi 630 638 echo "OK, using $fanval" 631 639 }
