Re: pwmconfig/fancontrol error (version 3.3.1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Charles,

On Sat, 03 Dec 2011 18:48:25 +0530, Charles wrote:
> A lmsensors3.conf generated by pwmconfig resulted in fancontrol message
> "Error: file hwmon0/device/fan4_input+hwmon0/device/fan1_input doesn't
> exist".
> 
> The motherboard was an ASUS P8H67-V fitted with an S-Flex SFF21E case
> exhaust fan (3 wire) connected to CHA_FAN2 and a stock Intel Core i3
> processor cooler fan (4 wire) connected to CHA_FAN.
> 
> pwmconfig detected that the Nuvoton NCT6776F controlled both CHA_FAN and
> CHA_FAN2 via pwm1 (pwm2 controls CPU_FAN; pwm3 seems not to be used).
> The sensors3.conf generated by pwmconfig included this line:
> 
> FCFANS= hwmon0/device/pwm1=hwmon0/device/fan4_input+hwmon0/device/fan1_input
> 
> The space after FCFANS= is irregular but did not seem to cause any
> problems for fancontrol.

This is a known issue. pwmconfig can detect if your board has several
fans connected to the same fan control output, but fancontrol can't
handle that yet. There's even this comment in pwmconfig:

		else
			fanactive="$j+${fanactive}" #not supported yet by fancontrol
			fanactive_min="$S+${fanactive_min}"
		fi

Workaround for the time being is to manually remove one of the two
fanX_input from the configuration statement. Until fancontrol knows
about the syntax. If you are familiar with bash shell, you could even
give it a try. Beware that fancontrol isn't the most friendly piece of
code out there though.

> 
> Both hwmon0/device/fan4_input and hwmon0/device/fan1_input do exist:
> 
> root@CW8:~# ls -l /sys/devices/platform/w83627ehf.656/fan[14]_input
> -r--r--r-- 1 root root 4096 2011-12-03 18:44
> /sys/devices/platform/w83627ehf.656/fan1_input
> -r--r--r-- 1 root root 4096 2011-12-03 18:26
> /sys/devices/platform/w83627ehf.656/fan4_inpu
> 
> Further information: the processor cooler fan was connected to CHA_FAN2
> instead of CPU_FAN because pwmconfig could not slow it below 1,100 RPM
> when it was on CPU_FAN.

This probably explains the behaviour. It is common from board makers to
use a single PWM output to control all chassis fans. As you use one of
the chassis fan headers for the CPU fan, I'm not surprised that you end
up with both fans controlled by the some PWM output. A workaround would
be to connect the case fan to the CPU fan header.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux