Skip to contentSkip to conversation

ASUS P4P800/W83627THF Fan Problems

DISCUSSION Michael Pflüger 2 participants 4 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hello,
I'm using Kernel 2.6.1-rc2(2.6.0 gave the same results..) and the included i2c modules etc (w83781d driver).
The Temperature and Voltage Readings work, yet i cant read nor set the Fan speed of my CPUFan.
cat /sys/bus/i2c/devices/0-0290/fan_input[123] shows always 0, and
changing pwm[12] doesn't chnage the fan speed, pwm_enable2 is set to 1 (there is no other pwm_enable).
I have disabled Asus QFan in the BIOS so it shouldn't interfere with this.. Is this a known problem and will/can it be solved somehow?

regards,
Michael

#1 lore raw
Quoted 5 lines

I'm using Kernel 2.6.1-rc2(2.6.0 gave the same results..) and the included i2c modules etc (w83781d driver).
The Temperature and Voltage Readings work, yet i cant read nor set the the Fan speed of my CPUFan.
cat /sys/bus/i2c/devices/0-0290/fan_input[123] shows always 0,

See FAQ 4.1.1.
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.html#Section%204.1

Quoted 4 lines

and changing pwm[12] doesn't change the fan speed, pwm_enable2 is set to 1 (there is no other pwm_enable).
I have disabled Asus QFan in the BIOS so it shouldn't interfere with this.. Is this a known problem and will/can it be solved somehow?

PWM doesn't work on all systems, depends on how the chipset is wired by the motherboard manufacturer. You should read this document:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/fancontrol.txt
And then try user-space tools from the prog/pwm directory. But in any case you want to fix the fan speed readings before, or you won't go anywhere.

Note that we have another driver for the W83627THF but it hasn't been ported to Linux 2.6 yet... When it will be, you should get better results using it than the w83781d driver. If you're interested in porting it yourself, let me know and I'll tell you everything you need to know.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Michael Pflüger
Quoted 3 lines

OK after changing the fan divisor from 2 to 4 it seems to work now, sorry, I guess I thought that dividing 0 is pointless and thus the divisor isnt the problem..

"Fan divisor" is an obviously misleading term, but well, that's how chipset makers call it so we stick to it.

Quoted 3 lines

Well, the changing of the Fan's speed works in Windows with Speedfan on that Board, so its supported by the hardware.. About the user space tools, do they do anything different than changing the pwms?

First they help you figure out which fans are controled by the PWM pins (pwmconfig) and which temperature channels are associated with these fans, then they regulate the fan speed automatically according to the temperature measurements. Much similar to what Speedfan does I guess, except that this is through shell scripts, without a GUI.

Quoted 10 lines
Quoted 5 lines

Note that we have another driver for the W83627THF but it hasn't been ported to Linux 2.6 yet... When it will be, you should get better results using it than the w83781d driver. If you're interested in porting it yourself, let me know and I'll tell you everything you need to know.

Well I've read about that, but i guess im not suited for that job, i hardly know c++, i don't know anything about the internals of a kernel and drivers etc... and i hardly have the the next few months, I'll graduate from school..

FYI the kernel is written in C, not C++. But if you don't know C at all, I agree that you can't possibly port the driver. In this case, you'll have to be patient until someone else does.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
author
#3 lore raw
In reply to Michael Pflüger
Quoted 8 lines · Jean Delvare
Quoted 7 lines

I'm using Kernel 2.6.1-rc2(2.6.0 gave the same results..) and the included i2c modules etc (w83781d driver).
The Temperature and Voltage Readings work, yet i cant read nor set the the Fan speed of my CPUFan.
cat /sys/bus/i2c/devices/0-0290/fan_input[123] shows always 0,

Quoted 4 lines

See FAQ 4.1.1.
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.html#Section%204.1

OK after changing the fan divisor from 2 to 4 it seems to work now, sorry, I guess I thought that dividing 0 is pointless and thus the divisor isnt the problem..

Quoted 7 lines
Quoted 6 lines

and changing pwm[12] doesn't change the fan speed, pwm_enable2 is set to 1 (there is no other pwm_enable).
I have disabled Asus QFan in the BIOS so it shouldn't interfere with this.. Is this a known problem and will/can it be solved somehow?

Quoted 8 lines

PWM doesn't work on all systems, depends on how the chipset is wired by the motherboard manufacturer. You should read this document:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/fancontrol.txt
And then try user-space tools from the prog/pwm directory. But in any case you want to fix the fan speed readings before, or you won't go anywhere.

Well, the changing of the Fan's speed works in Windows with Speedfan on that Board, so its supported by the hardware.. About the user space tools, do they do anything different than changing the pwms?

Quoted 7 lines

Note that we have another driver for the W83627THF but it hasn't been ported to Linux 2.6 yet... When it will be, you should get better results using it than the w83781d driver. If you're interested in porting it yourself, let me know and I'll tell you everything you need to know.

Well I've read about that, but i guess im not suited for that job, i hardly know c++, i don't know anything about the internals of a lernel and drivers etc... and i hardly have the the next few months, I'll graduate from school..

Michael