Skip to contentSkip to conversation

About fancontrol: I could not control the CPU fan speed

lm-sensors Yongkui Han 3 participants 11 messages Oct 31, 2006 – Nov 14, 2006

lore
Share & tools
lore
#0 lore raw

Hi All,

I am trying to control the speed of the CPU fan. I would like to set constant CPU fan speed.

My CPU fan is Intel Fan & Heatsink A65061-001, with 3 wires, green, yellow, and black.

I run pwmconfig to see /sys/bus/i2c/devices/9191-0800/pwm1 is controling fan1_input, which is the CPU fan, and saved the default configuration into /etc/fancontrol file. The pwmconfig command didn't report any errors but I noticed that when it reports the CPU fan speed of 0, the CPU fan is actually still running. Also, the GNUPLOT graph of the correlation between PWM and Fan Speed is very strange. The fan speed are 3233 for all PWM values 2--255, and the fan speed is 0 for PWM=0. This is very weird. The pdf file pwmtest.pdf is enclosed for your reference.

Then I run fancontrol command. the command is running correctly without reporting errors. Now the sensors command will only report a fan speed of 0 RPM. But the problem is the CPU fan is still running, it never stops at all.

I also tried not to use fancontrol. I use the command: echo 64 > /sys/bus/i2c/devices/9191-0800/pwm1, but still this had no effect on the CPU fan speed.

Could some one help me with the CPU fan speed control?

Thanks!

BTW,
I have an Intel D850MV motherboard. There is an ADM1025A sensor chip on the
motherboard. Also there is an LPC47M142-NC Super I/O chip on the motherboard. My CPU is a Pentium 4 CPU, 1.7GHz.

The following is a sample output for my lm-sensors software.
---------------------------------

$ sensors
adm1025-i2c-0-2d
Adapter: SMBus I801 adapter at efa0
+2.5V:     +2.49 V  (min =  +2.25 V, max =  +2.75 V)
VCore:     +1.68 V  (min =  +1.66 V, max =  +1.84 V)
+3.3V:     +3.30 V  (min =  +2.97 V, max =  +3.63 V)
+5V:       +5.13 V  (min =  +4.50 V, max =  +5.50 V)
VCC:       +3.30 V  (min =  +2.97 V, max =  +3.63 V)
CPU Temp:  +35.0?C  (low  =   +10?C, high =   +60?C)
M/B Temp:  +34.0?C  (low  =   +10?C, high =   +45?C)
vid:      +1.750 V  (VRM Version 9.0)

smsc47m1-isa-0800

Adapter: ISA adapter
fan1:     3233 RPM  (min =  640 RPM, div = 8)
fan2:        0 RPM  (min =  640 RPM, div = 8)

--------------------------------------------------------------

Regards,
Yongkui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061030/e3f35016/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pwmtest.pdf
Type: application/pdf
Size: 2015 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061030/e3f35016/attachment.pdf

#1 lore raw

[lm-sensors] About fancontrol: I could not control the CPU fan

Hi All,

I just found the following information on page 43 of the motherboard manual. ftp://download.intel.com/design/motherbd/mv/A6514501.pdf

--------------------------
1.14.2.2 Fan Connectors
The D850MD and D850MV boards have two fan connectors with thermal control signals (fan 1
and fan 2) that are used to switch the fans on and off as determined by the thermal sensors.
The ambient temperature of a D850MD- or D850MV-based system is thermally monitored by
separate temperature sensors that control voltage to the fan 1 and fan 2 connectors. If the fans
attached to these connectors provide a tachometer signal, the sensor reports the fan speed to the hardware monitor component.
The temperature sensors that control the fans are initialized by the BIOS at power-up to turn on only when the sensor reaches 36 oC (96.8 oF). The fans switch off when their respective sensors cool down to 31 oC (87.8 oF). This prevents the fans from turning off and on when the ambient air around the sensor fluctuates around 35?36 oC. When the fans switch on, they may appear to rotate slowly because the fan's duty cycle starts at 70 percent and rises to 100 percent when the sensor reaches 46 oC (114.8 oF).
Table 12 summarizes the functions of the four fan connectors. Table 12. Fan Connector Descriptions

Feature Processor Fan Fan 1
Fan 2 Fan 3
+12 V DC connection Yes Yes

Yes                         Yes
Tachometer output           Yes                      No
Yes                         No

Controllable No
Yes Yes Yes
----------------------------

In the Table 12, It says the Processor Fan is not controllable, although the other fans are controllable.

So this means that I cannot control the CPU fan speed. But it seems that we could do some tricks to make the system think the thermal sensor is higher than 46C. Then the CPU fan speed should run at full speed. Then this is what I want, a fixed CPU fan speed.

Any suggestions?

Thanks!
Yongkui

Quoted 52 lines · Yongkui Han

Hi All,

I am trying to control the speed of the CPU fan. I would like to set constant CPU fan speed.

My CPU fan is Intel Fan & Heatsink A65061-001, with 3 wires, green, yellow, and black.

I run pwmconfig to see /sys/bus/i2c/devices/9191-0800/pwm1 is controling fan1_input, which is the CPU fan, and saved the default configuration into /etc/fancontrol file. The pwmconfig command didn't report any errors but I noticed that when it reports the CPU fan speed of 0, the CPU fan is actually still running. Also, the GNUPLOT graph of the correlation between PWM and Fan Speed is very strange. The fan speed are 3233 for all PWM values 2--255, and the fan speed is 0 for PWM=0. This is very weird. The pdf file pwmtest.pdf is enclosed for your reference.

Then I run fancontrol command. the command is running correctly without reporting errors. Now the sensors command will only report a fan speed of 0 RPM. But the problem is the CPU fan is still running, it never stops at all.

I also tried not to use fancontrol. I use the command: echo 64 > /sys/bus/i2c/devices/9191-0800/pwm1, but still this had no effect on the CPU fan speed.

Could some one help me with the CPU fan speed control?

Thanks!

BTW,
I have an Intel D850MV motherboard. There is an ADM1025A sensor chip on the motherboard. Also there is an LPC47M142-NC Super I/O chip on the motherboard. My CPU is a Pentium 4 CPU, 1.7GHz.

The following is a sample output for my lm-sensors software.
---------------------------------

$ sensors
adm1025-i2c-0-2d
Adapter: SMBus I801 adapter at efa0
+2.5V:     +2.49 V  (min =  +2.25 V, max =  +2.75 V)
VCore:     +1.68 V  (min =  +1.66 V, max =  +1.84 V)
+3.3V:     +3.30 V  (min =  +2.97 V, max =  +3.63 V)
+5V:       +5.13 V  (min =  +4.50 V, max =  +5.50 V)
VCC:       +3.30 V  (min =  +2.97 V, max =  +3.63 V)
CPU Temp:  +35.0?C  (low  =   +10?C, high =   +60?C)
M/B Temp:  +34.0?C  (low  =   +10?C, high =   +45?C)
vid:      +1.750 V  (VRM Version 9.0)

smsc47m1-isa-0800

Quoted 15 lines
Adapter: ISA adapter
fan1:     3233 RPM  (min =  640 RPM, div = 8)
fan2:        0 RPM  (min =  640 RPM, div = 8)

--------------------------------------------------------------

Regards,
Yongkui

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061030/f5ba186f/attachment-0001.html

#2 lore raw

[lm-sensors] About fancontrol: I could not control the CPU fan

In reply to Yongkui Han

HI,

Could anybody help me with this, or point me to somewhere?

Thanks!

Thanks.
Yongkui

Quoted 46 lines · Yongkui Han

Hi All,

I just found the following information on page 43 of the motherboard manual. ftp://download.intel.com/design/motherbd/mv/A6514501.pdf

--------------------------
1.14.2.2 Fan Connectors
The D850MD and D850MV boards have two fan connectors with thermal control
signals (fan 1
and fan 2) that are used to switch the fans on and off as determined by
the thermal sensors.
The ambient temperature of a D850MD- or D850MV-based system is thermally
monitored by
separate temperature sensors that control voltage to the fan 1 and fan 2
connectors. If the fans
attached to these connectors provide a tachometer signal, the sensor
reports the fan speed to the hardware monitor component.
The temperature sensors that control the fans are initialized by the BIOS
at power-up to turn on only when the sensor reaches 36 oC (96.8 oF). The
fans switch off when their respective sensors cool down to 31 oC (87.8oF). This prevents the fans from turning off and on when the ambient air around the sensor fluctuates around 35?36 oC. When the fans switch on, they
may appear to rotate slowly because the fan's duty cycle starts at 70
percent and rises to 100 percent when the sensor reaches 46 oC ( 114.8oF).
Table 12 summarizes the functions of the four fan connectors.
Table 12. Fan Connector Descriptions

Feature Processor Fan Fan 1
Fan 2 Fan 3
+12 V DC connection Yes Yes
Yes Yes
Tachometer output Yes
No Yes No
Controllable No
Yes Yes Yes
----------------------------

In the Table 12, It says the Processor Fan is not controllable, although the other fans are controllable.

So this means that I cannot control the CPU fan speed. But it seems that we could do some tricks to make the system think the thermal sensor is higher than 46C. Then the CPU fan speed should run at full speed. Then this is what I want, a fixed CPU fan speed.

Quoted 76 lines

Any suggestions?

Thanks!
Yongkui

Quoted 67 lines · Yongkui Han

Hi All,

I am trying to control the speed of the CPU fan. I would like to set constant CPU fan spee d.

My CPU fan is Intel Fan & Heatsink A65061-001, with 3 wires, green, yellow, and black.

I run pwmconfig to see /sys/bus/i2c/devices/9191-0800/pwm1 is controling fan1_input, which is the CPU fan, and saved the default configuration into /etc/fancontrol file. The pwmconfig command didn't report any errors but I noticed that when it reports the CPU fan speed of 0, the CPU fan is actually still running. Also, the GNUPLOT graph of the correlation between PWM and Fan Speed is very strange. The fan speed are 3233 for all PWM values 2--255, and the fan speed is 0 for PWM=0. This is very weird. The pdf file pwmtest.pdf is enclosed for your reference.

Then I run fancontrol command. the command is running correctly without reporting errors. Now the sensors command will only report a fan speed of 0 RPM. But the problem is the CPU fan is still running, it never stops at all.

I also tried not to use fancontrol. I use the command: echo 64 > /sys/bus/i2c/devices/9191-0800/pwm1, but still this had no effect on the CPU fan speed.

Could some one help me with the CPU fan speed control?

Thanks!

BTW,
I have an Intel D850MV motherboard. There is an ADM1025A sensor chip on the motherboard. Also there is an LPC47M142-NC Super I/O chip on the motherboard. My CPU is a Pentium 4 CPU, 1.7GHz.

The following is a sample output for my lm-sensors software.
---------------------------------

$ sensors
adm1025-i2c-0-2d
Adapter: SMBus I801 adapter at efa0
+2.5V:     +2.49 V  (min =  +2.25 V, max =  +2.75 V)
VCore:     +1.68 V  (min =  +1.66 V, max =  +1.84 V)
+3.3V:     +3.30 V  (min =  +2.97 V, max =  +3.63 V)
+5V:       +5.13 V  (min =  +4.50 V, max =  +5.50 V)
VCC:       +3.30 V  (min =  +2.97 V, max =  +3.63 V)
CPU Temp:  +35.0?C  (low  =   +10?C, high =   +60?C)
M/B Temp:  +34.0?C  (low  =   +10?C, high =   +45?C)
vid:      +1.750 V  (VRM Version 9.0)

smsc47m1-isa-0800

Adapter: ISA adapter
fan1:     3233 RPM  (min =  640 RPM, div = 8)
fan2:        0 RPM  (min =  640 RPM, div = 8)

--------------------------------------------------------------

Regards,
Yongkui

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061103/9875db8a/attachment-0001.html

#3 lore raw

[lm-sensors] About fancontrol: I could not control the CPU fan

In reply to Yongkui Han

Hi Yonkui,

-is this a 3 or 4 pin fan?
-is this a 3 or 4 pin connector on MB?

when you operate pwm1 manually,
- can you see the value with cat pwm1 you did write ther before?
- are you sure to be in manual mode pwm_enable=1 ?
- what do the other pwm1* register read?

Christian

Am Samstag, 4. November 2006 04:34 schrieb Yongkui Han:

Quoted 123 lines

HI,

Could anybody help me with this, or point me to somewhere?

Thanks!

Thanks.
Yongkui

Quoted 113 lines · Yongkui Han

Hi All,

I just found the following information on page 43 of the motherboard manual. ftp://download.intel.com/design/motherbd/mv/A6514501.pdf

--------------------------
1.14.2.2 Fan Connectors
The D850MD and D850MV boards have two fan connectors with thermal control signals (fan 1
and fan 2) that are used to switch the fans on and off as determined by the thermal sensors.
The ambient temperature of a D850MD- or D850MV-based system is thermally monitored by
separate temperature sensors that control voltage to the fan 1 and fan 2 connectors. If the fans
attached to these connectors provide a tachometer signal, the sensor reports the fan speed to the hardware monitor component.
The temperature sensors that control the fans are initialized by the BIOS at power-up to turn on only when the sensor reaches 36 oC (96.8 oF). The fans switch off when their respective sensors cool down to 31 oC (87.8oF). This prevents the fans from turning off and on when the ambient air around the sensor fluctuates around 35???36 oC. When the fans switch on, they may appear to rotate slowly because the fan's duty cycle starts at 70 percent and rises to 100 percent when the sensor reaches 46 oC ( 114.8oF). Table 12 summarizes the functions of the four fan connectors. Table 12. Fan Connector Descriptions

Feature Processor Fan Fan 1
Fan 2 Fan 3
+12 V DC connection Yes Yes
Yes Yes
Tachometer output Yes
No Yes No
Controllable No
Yes Yes Yes
----------------------------

In the Table 12, It says the Processor Fan is not controllable, although the other fans are controllable.

So this means that I cannot control the CPU fan speed. But it seems that we could do some tricks to make the system think the thermal sensor is higher than 46C. Then the CPU fan speed should run at full speed. Then this is what I want, a fixed CPU fan speed.

Any suggestions?

Thanks!
Yongkui

Quoted 61 lines · Yongkui Han

Hi All,

I am trying to control the speed of the CPU fan. I would like to set constant CPU fan spee d.

My CPU fan is Intel Fan & Heatsink A65061-001, with 3 wires, green, yellow, and black.

I run pwmconfig to see /sys/bus/i2c/devices/9191-0800/pwm1 is controling fan1_input, which is the CPU fan, and saved the default configuration into /etc/fancontrol file. The pwmconfig command didn't report any errors but I noticed that when it reports the CPU fan speed of 0, the CPU fan is actually still running. Also, the GNUPLOT graph of the correlation between PWM and Fan Speed is very strange. The fan speed are 3233 for all PWM values 2--255, and the fan speed is 0 for PWM=0. This is very weird. The pdf file pwmtest.pdf is enclosed for your reference.

Then I run fancontrol command. the command is running correctly without reporting errors. Now the sensors command will only report a fan speed of 0 RPM. But the problem is the CPU fan is still running, it never stops at all.

I also tried not to use fancontrol. I use the command: echo 64 > /sys/bus/i2c/devices/9191-0800/pwm1, but still this had no effect on the CPU fan speed.

Could some one help me with the CPU fan speed control?

Thanks!

BTW,
I have an Intel D850MV motherboard. There is an ADM1025A sensor chip on the motherboard. Also there is an LPC47M142-NC Super I/O chip on the motherboard. My CPU is a Pentium 4 CPU, 1.7GHz.

The following is a sample output for my lm-sensors software.
---------------------------------

$ sensors
adm1025-i2c-0-2d
Adapter: SMBus I801 adapter at efa0
+2.5V:     +2.49 V  (min =  +2.25 V, max =  +2.75 V)
VCore:     +1.68 V  (min =  +1.66 V, max =  +1.84 V)
+3.3V:     +3.30 V  (min =  +2.97 V, max =  +3.63 V)
+5V:       +5.13 V  (min =  +4.50 V, max =  +5.50 V)
VCC:       +3.30 V  (min =  +2.97 V, max =  +3.63 V)
CPU Temp:  +35.0??C  (low  =   +10??C, high =   +60??C)
M/B Temp:  +34.0??C  (low  =   +10??C, high =   +45??C)

vid: +1.750 V (VRM Version 9.0)

smsc47m1-isa-0800

Adapter: ISA adapter
fan1:     3233 RPM  (min =  640 RPM, div = 8)
fan2:        0 RPM  (min =  640 RPM, div = 8)

--------------------------------------------------------------

Regards,
Yongkui

___________________________________________________________
Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

#4 lore raw

[lm-sensors] About fancontrol: I could not control the CPU fan

In reply to Yongkui Han

Hi all,

Sorry for delay I was quite busy last week,

Quoted 1 line

-is this a 3 or 4 pin fan?

3 pin

Quoted 1 line

-is this a 3 or 4 pin connector on MB?

3pin

Quoted 2 lines

when you operate pwm1 manually,
- can you see the value with cat pwm1 you did write ther before?

Yes good question

Quoted 1 line

- are you sure to be in manual mode pwm_enable=1 ?

And another one.

Quoted 1 line

- what do the other pwm1* register read?

I studied the documentation update and I think the problem can be caused by two things:

1) the CPU fan is driven by unknown, now obsolete Intel technology Wfm
2) the CPU fan is connected to the superio chip but the base frequency is not correct

if the 1) is issue maybe you could connect the fan to another socket, fan2 looks promising.

if 2) then you need to check page 118 printed in datasheet Datasheet is here http://www.datasheets.org.uk/datasheet.php?article 40255

CHeck the register 58 bits D0-D3.

You may dump the chip with the following command:
isadump -f 0x800

Check the address 0x858, please post the dump here. If you need to change the register 0x58 bits 0-3 then use:
isaset -f 0x858 newval (or you might use the mask) do that when the module is unloaded.

If you may try the combinations from the table Table 57 ? Different Modes for Fan Or better just send the dump here, and I will tell you what to write to chip.

Regards
Rudolf

#5 lore raw

[lm-sensors] About fancontrol: I could not control the CPU fan

In reply to Yongkui Han

Hi Rudolf,

Thank you. The following is the dump from isadump command:

---------------------------------------------
[root]# /usr/local/sbin/isadump -f 0x800
WARNING! Running this program can cause system crashes, data loss and worse! I will probe address range 0x800 to 0x8ff.
Continue? [Y/n]
0 1 2 3 4 5 6 7 8 9 a b c d e f
0800: 00 00 00 00 38 f7 77 bf a0 00 00 00 00 00 00 00
0810: 02 00 77 df ca 00 00 00 00 00 00 00 00 00 02 00
0820: 00 00 00 81 81 81 81 80 01 01 80 80 80 80 00 80
0830: 80 80 84 05 05 04 04 05 04 84 84 04 04 84 80 05
0840: 05 05 04 05 04 05 04 81 80 00 00 f7 77 1d 08 57
0850: 02 00 00 00 ff ff 10 7f f0 26 ff 00 00 00 00 00
0860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0870: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0880: ff ff ff ff 01 01 ff ff ff ff ff ff ff ff ff ff
0890: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
08a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
08b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
08c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
08d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
08e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
08f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
---------------------------------------------------

So, the register 0x58 is f0, which is 11110000. But I am not sure whether the Bit 0 is from left or right. I assume it is from right. So Bit 0 to Bit 3 = 0, and Bit 4 to Bit 7 = 1.

Accoring to Table 57 on page 118 of the manual, this means the Fout is 15.625 kHz?

I am not sure what to write to the device, could you help me with that.

Thank you very much!
Yongkui

Quoted 52 lines · Rudolf Marek

Hi all,

Sorry for delay I was quite busy last week,

Quoted 1 line

-is this a 3 or 4 pin fan?

3 pin

Quoted 1 line

-is this a 3 or 4 pin connector on MB?

3pin

Quoted 2 lines

when you operate pwm1 manually,
- can you see the value with cat pwm1 you did write ther before?

Yes good question

Quoted 1 line

- are you sure to be in manual mode pwm_enable=1 ?

And another one.

Quoted 1 line

- what do the other pwm1* register read?

I studied the documentation update and I think the problem can be caused by two
things:

1) the CPU fan is driven by unknown, now obsolete Intel technology Wfm
2) the CPU fan is connected to the superio chip but the base frequency is not
correct

if the 1) is issue maybe you could connect the fan to another socket, fan2 looks
promising.

if 2) then you need to check page 118 printed in datasheet Datasheet is here
http://www.datasheets.org.uk/datasheet.php?article 40255

CHeck the register 58 bits D0-D3.

You may dump the chip with the following command:
isadump -f 0x800

Check the address 0x858, please post the dump here. If you need to change the register 0x58 bits 0-3 then use:
isaset -f 0x858 newval (or you might use the mask) do that when the module is unloaded.

Quoted 8 lines

If you may try the combinations from the table Table 57 ? Different Modes for Fan
Or better just send the dump here, and I will tell you what to write to chip.

Regards
Rudolf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061106/d9478185/attachment.html

#6 lore raw

[lm-sensors] About fancontrol: I could not control the CPU fan

In reply to Yongkui Han

Hi Yongkui,

sorry for my late answering - I was out for a few days.

Since I do not have full insigight to neither the driver nor the internal connections of the board I need to guess. maybe the drivers author can give some more advice.

Please see table 12 in your motherboard spec.

It says Processor fan and fan 2 can be monitored. The LPC47M142-NC does not have more than 2 inputs to observe more fans. I guess you may see Processor fan speed on fan1_input and Fan2??s speed on fan2_input or vice versa. Please confirm.

The LPC47M142-NC seem to have also only 2 pwm control outputs, pwm1 2nd 2.
As to table 12 you should be able to control fan 1 and fan2/3 where fan 2 and 3 receive the same voltage. So I gues you may be able to control Fan1 by pwm1 and Fan2/3 by pwm2 in manual mode - maybe vice versa.

Please confirm if you can control both Fan1 and Fan2 independently by pwm1 and pwm2 in manual mode.

Table 12 clearly says that the processor fan is not controllable. So I am surprised that you can at least switch it by setting pwm1 to zero. This might be some extra logic or some extra pin which is just a on/off control. You need to study the data sheet and the driver to proceed here.

My Suggestions:
How many fans you want to control in total indendently?
Maybe you change the CPU fan to MB-Fan2-pin because Fan2 is observable and controllable and use Fan1 or fan3 for a case fan?

If you do so please be careful to observe the fan to run when the cpu heats up so you don??t damage anything.

Best regards
Christian

Am Sonntag, 5. November 2006 01:19 schrieb Yongkui Han:

Quoted 72 lines

Hi Christian,

Thank you very much for your reply!

I answered your questions about my fan, they are after your questions in below.

Could you give me some suggestions?

Thanks!
Yongkui

Review

Quoted 4 lines · Christian Mahr

Hi Yonkui,

(quoted diff) +0 -2
-is this a 3 or 4 pin fan?
-is this a 3 or 4 pin connector on MB?

Mine is a 3 pin fan. There are 3 wires: Green, Yellow, and Black. It should be a 3pin connector on MB. I attached a picture of the fan connector for your reference.

The motherboard manual can be downloaded here:
ftp://download.intel.com/design/motherbd/mv/A6514501.pdf

Quoted 2 lines

when you operate pwm1 manually,
- can you see the value with cat pwm1 you did write ther before?

Yes, I can see the value of pwm1 with cat.
[etc2 9191-0800]$ cat pwm1
252
[etc2 9191-0800]$

- are you sure to be in manual mode pwm_enable=1 ?

Yes, I use the command "echo 1 > pwm1_enable" to set it. [root at etc2 9191-0800]#cat pwm1
252
[root at etc2 9191-0800]# cat pwm1_enable
0
[root at etc2 9191-0800]# echo 1 > pwm1_enable [root at etc2 9191-0800]# cat pwm1_enable
1
[root at etc2 9191-0800]# cat pwm1
252
[root at etc2 9191-0800]# echo 32 > pwm1
[root at etc2 9191-0800]# cat pwm1
32
[root at etc2 9191-0800]#

- what do the other pwm1* register read?

The following are all the files under the super I/O chip device directory:
[yonhan at etc2 9191-0800]$ pwd
/sys/bus/i2c/devices/9191-0800
[yonhan at etc2 9191-0800]$ ls
alarms driver fan1_input fan2_div fan2_min name pwm1
pwm2 uevent
bus fan1_div fan1_min fan2_input hwmon:hwmon1 power pwm1_enable
pwm2_enable
[yonhan at etc2 9191-0800]$

The pwm2 register is same as pwm1 register. The pwmconfig reports pwm1 is associated with fan1_input.
[etc2 9191-0800]$ cat pwm2
252
[etc2 9191-0800]$ cat pwm2_enable
0
[etc2 9191-0800]$

Quoted 196 lines

Thanks!

Christian

Quoted 192 lines

Am Samstag, 4. November 2006 04:34 schrieb Yongkui Han:

Quoted 19 lines

HI,

Could anybody help me with this, or point me to somewhere?

Thanks!

Thanks.
Yongkui

Quoted 9 lines · Yongkui Han

Hi All,

I just found the following information on page 43 of the motherboard manual. ftp://download.intel.com/design/motherbd/mv/A6514501.pdf

--------------------------
1.14.2.2 Fan Connectors
The D850MD and D850MV boards have two fan connectors with thermal

control

Quoted 2 lines
Quoted 2 lines

signals (fan 1
and fan 2) that are used to switch the fans on and off as determined

by

Quoted 2 lines
Quoted 2 lines

the thermal sensors.
The ambient temperature of a D850MD- or D850MV-based system is

thermally

Quoted 3 lines
Quoted 3 lines

monitored by
separate temperature sensors that control voltage to the fan 1 and fan

2

Quoted 4 lines
Quoted 4 lines

connectors. If the fans
attached to these connectors provide a tachometer signal, the sensor reports the fan speed to the hardware monitor component. The temperature sensors that control the fans are initialized by the

BIOS

Quoted 1 line
Quoted 1 line

at power-up to turn on only when the sensor reaches 36 oC (96.8 oF).

The

Quoted 2 lines
Quoted 2 lines

fans switch off when their respective sensors cool down to 31 oC (87.8oF). This prevents the fans from turning off and on when the

ambient

Quoted 3 lines
Quoted 3 lines

air around the sensor fluctuates around 35???36 oC. When the fans switch on, they may appear to rotate slowly because the fan's duty cycle

starts

Quoted 4 lines
Quoted 4 lines

at 70 percent and rises to 100 percent when the sensor reaches 46 oC (

114.8oF). Table 12 summarizes the functions of the four fan

connectors.

Quoted 12 lines
Quoted 12 lines

Table 12. Fan Connector Descriptions

Feature Processor Fan Fan 1
Fan 2 Fan 3
+12 V DC connection Yes Yes
Yes Yes
Tachometer output Yes
No Yes No
Controllable No
Yes Yes Yes
----------------------------

Quoted 1 line
Quoted 1 line

In the Table 12, It says the Processor Fan is not controllable,

although

Quoted 3 lines
Quoted 3 lines

the other fans are controllable.

So this means that I cannot control the CPU fan speed. But it seems

that

Quoted 8 lines
Quoted 8 lines

we could do some tricks to make the system think the thermal sensor is

higher than 46C. Then the CPU fan speed should run at full speed. Then this is what I want, a fixed CPU fan speed.

Any suggestions?

Quoted 7 lines
Quoted 7 lines

Thanks!
Yongkui

Quoted 3 lines · Yongkui Han

Hi All,

I am trying to control the speed of the CPU fan. I would like to

set

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

constant CPU fan spee d.

My CPU fan is Intel Fan & Heatsink A65061-001, with 3 wires, green, yellow, and black.

I run pwmconfig to see /sys/bus/i2c/devices/9191-0800/pwm1 is controling fan1_input, which is the CPU fan, and saved the default configuration into /etc/fancontrol file. The pwmconfig command

didn't

Quoted 1 line
Quoted 1 line
Quoted 1 line

report any errors but I noticed that when it reports the CPU fan

speed

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

of 0, the CPU fan is actually still running. Also, the GNUPLOT graph

of

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

the correlation between PWM and Fan Speed is very strange. The fan speed are 3233 for all PWM values 2--255, and the fan speed is 0 for PWM=0. This is very weird. The pdf file pwmtest.pdf is enclosed for your reference.

Then I run fancontrol command. the command is running correctly

without

Quoted 1 line
Quoted 1 line
Quoted 1 line

reporting errors. Now the sensors command will only report a fan

speed

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

of 0 RPM. But the problem is the CPU fan is still running, it never stops at all.

I also tried not to use fancontrol. I use the command: echo 64 > /sys/bus/i2c/devices/9191-0800/pwm1, but still this had no effect on the CPU fan speed.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Could some one help me with the CPU fan speed control?

Thanks!

BTW,
I have an Intel D850MV motherboard. There is an ADM1025A sensor chip

on

Quoted 27 lines
Quoted 27 lines
Quoted 27 lines

the motherboard. Also there is an LPC47M142-NC Super I/O chip on the

motherboard. My CPU is a Pentium 4 CPU, 1.7GHz.

The following is a sample output for my lm-sensors software.
---------------------------------

$ sensors
adm1025-i2c-0-2d
Adapter: SMBus I801 adapter at efa0
+2.5V:     +2.49 V  (min =  +2.25 V, max =  +2.75 V)
VCore:     +1.68 V  (min =  +1.66 V, max =  +1.84 V)
+3.3V:     +3.30 V  (min =  +2.97 V, max =  +3.63 V)
+5V:       +5.13 V  (min =  +4.50 V, max =  +5.50 V)
VCC:       +3.30 V  (min =  +2.97 V, max =  +3.63 V)
CPU Temp:  +35.0??C  (low  =   +10??C, high =   +60??C)
M/B Temp:  +34.0??C  (low  =   +10??C, high =   +45??C)

vid: +1.750 V (VRM Version 9.0)

smsc47m1-isa-0800

Adapter: ISA adapter
fan1:     3233 RPM  (min =  640 RPM, div = 8)
fan2:        0 RPM  (min =  640 RPM, div = 8)

--------------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Regards,
Yongkui

___________________________________________________________
Der fr???he Vogel f???ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
http://mail.yahoo.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061111/1ad7ee03/attachment-0001.html

#7 lore raw

[lm-sensors] About fancontrol: I could not control the CPU fan

In reply to Yongkui Han

Hi Christian,

The clarification of my problem is as follows.

Thank you very much for your reply!

Yongkui

Quoted 9 lines · Christian Mahr

Hi Yongkui,

sorry for my late answering - I was out for a few days.

Since I do not have full insigight to neither the driver nor the internal connections of the board I need to guess. maybe the drivers author can give some more advice.

Quoted 7 lines

Please see table 12 in your motherboard spec.

It says Processor fan and fan 2 can be monitored. The LPC47M142-NC does not have more than 2 inputs to observe more fans. I guess you may see Processor fan speed on fan1_input and Fan2?s speed on fan2_input or vice versa.

I can only observe fan 1. It is the CPU fan. sensors will always report 0 RPM for fan2. so fan2 is not observable. And pwmconfig program reported fan1 is correlated to pwm1.

Please confirm.

Quoted 12 lines

The LPC47M142-NC seem to have also only 2 pwm control outputs, pwm1 2nd 2.

As to table 12 you should be able to control fan 1 and fan2/3 where fan 2 and 3 receive the same voltage.

So I gues you may be able to control Fan1 by pwm1 and Fan2/3 by pwm2 in manual mode - maybe vice versa.

Please confirm if you can control both Fan1 and Fan2 independently by pwm1 and pwm2 in manual mode.

I cannot control fan1 and fan2. I set pwm1 and pwm2 in manual mode, but the fan speed of fan1 is not affected at all. Fan 2 is always reported as 0 RPM by sensors program.

Table 12 clearly says that the processor fan is not controllable. So I am

Quoted 8 lines

surprised that you can at least switch it by setting pwm1 to zero. This might be some extra logic or some extra pin which is just a on/off control. You need to study the data sheet and the driver to proceed here.

My Suggestions:

How many fans you want to control in total indendently?

I just want to control the CPU fan. that is fan1.

Maybe you change the CPU fan to MB-Fan2-pin because Fan2 is observable and

Quoted 2 lines

controllable and use Fan1 or fan3 for a case fan?

I will first try other solutions than this one.

If you do so please be careful to observe the fan to run when the cpu heats

Quoted 545 lines

up so you don?t damage anything.

Best regards

Christian

Am Sonntag, 5. November 2006 01:19 schrieb Yongkui Han:

Quoted 30 lines

Hi Christian,

Thank you very much for your reply!

I answered your questions about my fan, they are after your questions in

below.

Could you give me some suggestions?

Thanks!

Yongkui

Quoted 3 lines · Christian Mahr

Hi Yonkui,

Quoted 7 lines

Review

Quoted 3 lines
(quoted diff) +0 -2
-is this a 3 or 4 pin fan?
 
-is this a 3 or 4 pin connector on MB?

Mine is a 3 pin fan. There are 3 wires: Green, Yellow, and Black. It

should

Quoted 62 lines

be a 3pin connector on MB. I attached a picture of the fan connector for

your reference.

The motherboard manual can be downloaded here:

ftp://download.intel.com/design/motherbd/mv/A6514501.pdf

Quoted 3 lines

when you operate pwm1 manually,

- can you see the value with cat pwm1 you did write ther before?

Yes, I can see the value of pwm1 with cat.

[etc2 9191-0800]$ cat pwm1

252

[etc2 9191-0800]$

- are you sure to be in manual mode pwm_enable=1 ?

Yes, I use the command "echo 1 > pwm1_enable" to set it.

[root at etc2 9191-0800]#cat pwm1

252

[root at etc2 9191-0800]# cat pwm1_enable

0

[root at etc2 9191-0800]# echo 1 > pwm1_enable

[root at etc2 9191-0800]# cat pwm1_enable

1

[root at etc2 9191-0800]# cat pwm1

252

[root at etc2 9191-0800]# echo 32 > pwm1

[root at etc2 9191-0800]# cat pwm1

32

[root at etc2 9191-0800]#

Quoted 5 lines

- what do the other pwm1* register read?

The following are all the files under the super I/O chip device

directory:

Quoted 12 lines

[yonhan at etc2 9191-0800]$ pwd

/sys/bus/i2c/devices/9191-0800

[yonhan at etc2 9191-0800]$ ls

alarms driver fan1_input fan2_div fan2_min name pwm1

pwm2 uevent

bus fan1_div fan1_min fan2_input hwmon:hwmon1 power pwm1_enable

Quoted 7 lines

pwm2_enable

[yonhan at etc2 9191-0800]$

The pwm2 register is same as pwm1 register. The pwmconfig reports pwm1

is

Quoted 14 lines

associated with fan1_input.

[etc2 9191-0800]$ cat pwm2

252

[etc2 9191-0800]$ cat pwm2_enable

0

[etc2 9191-0800]$

Quoted 35 lines

Thanks!

Christian

Quoted 27 lines

Am Samstag, 4. November 2006 04:34 schrieb Yongkui Han:

Quoted 25 lines

HI,

Could anybody help me with this, or point me to somewhere?

Thanks!

Thanks.

Yongkui

Quoted 5 lines · Yongkui Han

Hi All,

I just found the following information on page 43 of the

motherboard

Quoted 14 lines
Quoted 13 lines
Quoted 11 lines
Quoted 11 lines

manual.

ftp://download.intel.com/design/motherbd/mv/A6514501.pdf

--------------------------

1.14.2.2 Fan Connectors

The D850MD and D850MV boards have two fan connectors with thermal

Quoted 7 lines
Quoted 7 lines

control

Quoted 3 lines
Quoted 3 lines

signals (fan 1

and fan 2) that are used to switch the fans on and off as

determined

Quoted 24 lines
Quoted 23 lines

by

Quoted 3 lines
Quoted 3 lines

the thermal sensors.

The ambient temperature of a D850MD- or D850MV-based system is

thermally

Quoted 5 lines
Quoted 5 lines

monitored by

separate temperature sensors that control voltage to the fan 1 and

fan

Quoted 7 lines
Quoted 7 lines

2

Quoted 3 lines
Quoted 3 lines

connectors. If the fans

attached to these connectors provide a tachometer signal, the

sensor

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

reports the fan speed to the hardware monitor component.

The temperature sensors that control the fans are initialized by

the

Quoted 32 lines
Quoted 31 lines

BIOS

Quoted 1 line
Quoted 1 line

at power-up to turn on only when the sensor reaches 36 oC (96.8oF).

The

Quoted 3 lines
Quoted 3 lines

fans switch off when their respective sensors cool down to 31 oC

(87.8oF). This prevents the fans from turning off and on when the

ambient

Quoted 5 lines
Quoted 5 lines

air around the sensor fluctuates around 35?36 oC. When the fans

switch on, they may appear to rotate slowly because the fan's duty

cycle

Quoted 5 lines
Quoted 5 lines

starts

Quoted 1 line
Quoted 1 line

at 70 percent and rises to 100 percent when the sensor reaches 46

oC

Quoted 44 lines
Quoted 43 lines
Quoted 5 lines
Quoted 5 lines

(

114.8oF). Table 12 summarizes the functions of the four fan

connectors.

Quoted 18 lines
Quoted 17 lines

Table 12. Fan Connector Descriptions

Feature Processor Fan Fan 1

Fan 2 Fan 3

+12 V DC connection Yes Yes

Yes Yes

Tachometer output Yes

No Yes No

Controllable No

Quoted 7 lines
Quoted 7 lines

Yes Yes Yes

----------------------------

In the Table 12, It says the Processor Fan is not controllable,

although

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

the other fans are controllable.

So this means that I cannot control the CPU fan speed. But it

seems

Quoted 7 lines
Quoted 7 lines

that

Quoted 1 line
Quoted 1 line

we could do some tricks to make the system think the thermal

sensor

Quoted 34 lines
Quoted 33 lines
Quoted 20 lines
Quoted 19 lines

is

higher than 46C. Then the CPU fan speed should run at full speed.

Then this is what I want, a fixed CPU fan speed.

Any suggestions?

Thanks!

Yongkui

Quoted 7 lines
Quoted 7 lines · Yongkui Han
Quoted 6 lines

Hi All,

I am trying to control the speed of the CPU fan. I would like to

set

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

constant CPU fan spee d.

My CPU fan is Intel Fan & Heatsink A65061-001, with 3 wires,

green,

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

yellow, and black.

I run pwmconfig to see /sys/bus/i2c/devices/9191-0800/pwm1 is

controling fan1_input, which is the CPU fan, and saved the

default

Quoted 22 lines
Quoted 21 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

configuration into /etc/fancontrol file. The pwmconfig command

didn't

Quoted 1 line
Quoted 1 line
Quoted 1 line

report any errors but I noticed that when it reports the CPU fan

speed

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

of 0, the CPU fan is actually still running. Also, the GNUPLOT

graph

Quoted 5 lines
Quoted 5 lines

of

Quoted 1 line
Quoted 1 line
Quoted 1 line

the correlation between PWM and Fan Speed is very strange. The

fan

Quoted 20 lines
Quoted 19 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

speed are 3233 for all PWM values 2--255, and the fan speed is 0

for PWM=0. This is very weird. The pdf file pwmtest.pdf is

enclosed for your reference.

Then I run fancontrol command. the command is running correctly

without

Quoted 1 line
Quoted 1 line
Quoted 1 line

reporting errors. Now the sensors command will only report a fan

Quoted 5 lines
Quoted 5 lines

speed

Quoted 1 line
Quoted 1 line
Quoted 1 line

of 0 RPM. But the problem is the CPU fan is still running, it

never

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

stops at all.

I also tried not to use fancontrol. I use the command: echo 64 >

/sys/bus/i2c/devices/9191-0800/pwm1, but still this had no

effect

Quoted 79 lines
Quoted 79 lines
Quoted 12 lines
Quoted 11 lines
Quoted 11 lines

on the CPU fan speed.

Could some one help me with the CPU fan speed control?

Thanks!

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

BTW,

I have an Intel D850MV motherboard. There is an ADM1025A sensor

chip

on

Quoted 55 lines
Quoted 55 lines
Quoted 55 lines

the motherboard. Also there is an LPC47M142-NC Super I/O chip on

the

motherboard. My CPU is a Pentium 4 CPU, 1.7GHz.

The following is a sample output for my lm-sensors software.

---------------------------------

$ sensors

adm1025-i2c-0-2d

Adapter: SMBus I801 adapter at efa0

+2.5V: +2.49 V (min = +2.25 V, max = +2.75 V)

VCore: +1.68 V (min = +1.66 V, max = +1.84 V)

+3.3V: +3.30 V (min = +2.97 V, max = +3.63 V)

+5V: +5.13 V (min = +4.50 V, max = +5.50 V)

VCC: +3.30 V (min = +2.97 V, max = +3.63 V)

CPU Temp: +35.0?C (low = +10?C, high = +60?C)

M/B Temp: +34.0?C (low = +10?C, high = +45?C)

vid: +1.750 V (VRM Version 9.0)

smsc47m1-isa-0800

Adapter: ISA adapter

fan1: 3233 RPM (min = 640 RPM, div = 8)

fan2: 0 RPM (min = 640 RPM, div = 8)

--------------------------------------------------------------

Regards,

Quoted 12 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

Yongkui

___________________________________________________________

Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo!

Mail:

Quoted 1 line
Quoted 1 line

http://mail.yahoo.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061111/2a1b6e20/attachment-0001.html

#8 lore raw

[lm-sensors] About fancontrol: I could not control the CPU fan

In reply to Yongkui Han

Hi Yongkui

Quoted 7 lines

0 1 2 3 4 5 6 7 8 9 a b c d e f
0800: 00 00 00 00 38 f7 77 bf a0 00 00 00 00 00 00 00 0810: 02 00 77 df ca 00 00 00 00 00 00 00 00 00 02 00 0820: 00 00 00 81 81 81 81 80 01 01 80 80 80 80 00 80 0830: 80 80 84 05 05 04 04 05 04 84 84 04 04 84 80 05 0840: 05 05 04 05 04 05 04 81 80 00 00 f7 77 1d 08 57 0850: 02 00 00 00 ff ff 10 7f f0 26 ff 00 00 00 00 00

Is this dump done before you loaded the driver?

Fan2 is set to fullspeed (bit 0 is 1)
Fan1 is set to some speed 001000 -> 8/64 of duty cycle

Quoted 3 lines

So, the register 0x58 is f0, which is 11110000. But I am not sure whether the Bit 0 is from left or right. I assume it is from right. So Bit 0 to Bit 3 = 0, and Bit 4 to Bit 7 = 1.

Bits are from right.

Quoted 2 lines

Accoring to Table 57 on page 118 of the manual, this means the Fout is 15.625 kHz?

Yes seems correct to me.Please write there 80/120Hz so:

isaset -y -f 0x858 0xff

Is there a change in pwmconfig curve?

Regards
Rudolf

#9 lore raw

[lm-sensors] About fancontrol: I could not control the CPU fan

In reply to Yongkui Han

Hi Yongkui

Quoted 7 lines

0 1 2 3 4 5 6 7 8 9 a b c d e f
0800: 00 00 00 00 38 f7 77 bf a0 00 00 00 00 00 00 00 0810: 02 00 77 df ca 00 00 00 00 00 00 00 00 00 02 00 0820: 00 00 00 81 81 81 81 80 01 01 80 80 80 80 00 80 0830: 80 80 84 05 05 04 04 05 04 84 84 04 04 84 80 05 0840: 05 05 04 05 04 05 04 81 80 00 00 f7 77 1d 08 57 0850: 02 00 00 00 ff ff 10 7f f0 26 ff 00 00 00 00 00

Is this dump done before you loaded the driver?

Fan2 is set to fullspeed (bit 0 is 1)
Fan1 is set to some speed 001000 -> 8/64 of duty cycle

Quoted 3 lines

So, the register 0x58 is f0, which is 11110000. But I am not sure whether the Bit 0 is from left or right. I assume it is from right. So Bit 0 to Bit 3 = 0, and Bit 4 to Bit 7 = 1.

Bits are from right.

Quoted 2 lines

Accoring to Table 57 on page 118 of the manual, this means the Fout is 15.625 kHz?

Yes seems correct to me.Please write there 80/120Hz so:

isaset -y -f 0x858 0xff

Is there a change in pwmconfig curve?

Regards
Rudolf

#10 lore raw

[lm-sensors] About fancontrol: I could not control the CPU fan

In reply to Yongkui Han

Hi Rudolf,

Thank you very much for your instructions. I am busy these days. I will do as you say later and let you know the results later.

Sorry for the late response. Thank you very much!

Yongkui

Quoted 26 lines · Rudolf Marek

Hi Yongkui

Quoted 7 lines

0 1 2 3 4 5 6 7 8 9 a b c d e f
0800: 00 00 00 00 38 f7 77 bf a0 00 00 00 00 00 00 00 0810: 02 00 77 df ca 00 00 00 00 00 00 00 00 00 02 00 0820: 00 00 00 81 81 81 81 80 01 01 80 80 80 80 00 80 0830: 80 80 84 05 05 04 04 05 04 84 84 04 04 84 80 05 0840: 05 05 04 05 04 05 04 81 80 00 00 f7 77 1d 08 57 0850: 02 00 00 00 ff ff 10 7f f0 26 ff 00 00 00 00 00

Is this dump done before you loaded the driver?

Fan2 is set to fullspeed (bit 0 is 1)
Fan1 is set to some speed 001000 -> 8/64 of duty cycle

Quoted 3 lines

So, the register 0x58 is f0, which is 11110000. But I am not sure whether the Bit 0 is from left or right. I assume it is from right. So Bit 0 to Bit 3 = 0, and Bit 4 to Bit 7 = 1.

Bits are from right.

Quoted 2 lines

Accoring to Table 57 on page 118 of the manual, this means the Fout is 15.625 kHz?

Quoted 9 lines

Yes seems correct to me.Please write there 80/120Hz so:

isaset -y -f 0x858 0xff

Is there a change in pwmconfig curve?

Regards
Rudolf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061114/0a878d7e/attachment.html