handle multiple fans controlled by a single PWM

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2048 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2003-11-09 02:32:08 +00:00
1 parent d0497c3452
commit bdebe88c28
2 files changed
+9 -2

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ ask CVS about it:
Module i2c-sis630: Sync with 2.6.0-X driver version
Module it87: Add pwm and "smart guardian" support
Module lm90: Add ADM1032 support
Program pwmconfig: Handle multiple fans controlled by a single pwm
Program sensors: Add ADM1032 support
Program sensors-detect: Prefer Super I/O drivers;
Fix W83627HF and W83791D detection; detect CSB6;
+8 -2
View File
@@ -228,8 +228,14 @@ do
then
echo " It appears that fan $j"
echo " is controlled by pwm $i"
let pwmactivecount=1
pwmactive="$i ${pwmactive}"
#
# a PWM can control more than one fan....
#
if [ $pwmactivecount -eq 0 ]
then
let pwmactivecount=1
pwmactive="$i ${pwmactive}"
fi
sleep $DELAY
if [ $? -ne 0 ]
then