Asus a7v266ex // lm_sensors // fan solution
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there!
related to this part of your faq and to my motherboard Asus A7V266ex, I want to report a solution for the fan settings in /etc/sensors.conf what actually didnt work with the default settings.
4.17.1 Bad readings from the AS99127F!
The Asus AS99127F is a modified version of the Winbond W83781D. Asus will not release a datasheet. The driver was developed by tedious experimentation. We've done the best we can. If you want to make adjustments to the readings please edit /etc/sensors.conf. Please don't ask us to fix the driver. Ask Asus to release a datasheet.
- ----------------------
I tried to find out the correct settings and I've seen that the Asus tool for watching the sensors is using a switch fan_div 4 and I tried that to set for the AS99127F settings in /etc/sensors.conf
What shell I say, it works and the fan speed is identic to that what my bios itself shows up in Hardware monitoring.
Dont wonder about the low speed, its an 80mm fan, the cpu itself is watercooled.
here is the output:
(markus@athlon) ~$ sensors
as99127f-i2c-0-2d
Adapter: SMBus Via Pro adapter at e800
Algorithm: Non-I2C SMBus adapter
VCore: +1.74 V (min = +1.66 V, max = +1.82 V)
+3.3V: +3.28 V (min = +3.13 V, max = +3.45 V) +5V: +4.72 V (min = +4.72 V, max = +5.24 V) ALARM +12V: +12.27 V (min = +10.79 V, max = +13.19 V) - -12V: -15.18 V (min = -13.19 V, max = -10.73 V) ALARM - -5V: -4.62 V (min = -5.24 V, max = -4.74 V) ALARM CPU FAN: 2327 RPM (min = 1328 RPM, div = 4) fan2: 0 RPM (min = 3000 RPM, div = 2) ALARM fan3: 0 RPM (min = 3000 RPM, div = 2) ALARM temp1: +37?C (limit = +60?C) temp2: +63.0?C (limit = +120?C, hysteresis = +100?C) (beep) vid: +1.750 V
alarms:beep_enable:
Sound alarm enabled
and here is the /etc/sensors.conf:
(markus@athlon) ~$ cat /etc/sensors.conf
# Asus A7V266ex
chip "as99127f-*"
# Dual power plane
# label in0 "VCore 1"
# label in1 "VCore 2"
# Single power plane (A7V133, A7M266)
label in0 "VCore"
ignore in1
label in2 "+3.3V"
label in3 "+5V"
label in4 "+12V"
label in5 "-12V"
label in6 "-5V"label fan1 "CPU FAN"
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
compute in4 ((28/10)+1)*@ , @/((28/10)+1)
compute in5 -(240/60.4)*@ , -@/(240/60.4)
compute in6 -(90.9/60.4)*@ , -@/(90.9/60.4)
compute temp2 @*2.0, @/2.0ignore temp3
# set limits to 5% for the critical voltages # set limits to 10% for the non-critical voltages # set limits to 20% for the battery voltage set fan1_min 1800 set fan1_div 4 ### this is what I changed so far
set in0_min vid*0.95
set in0_max vid*1.05
set in1_min vid*0.95
set in1_max vid*1.05
set in2_min 3.3 * 0.95
set in2_max 3.3 * 1.05
set in3_min 5.0 * 0.95
set in3_max 5.0 * 1.05
set in4_min 12 * 0.90
set in4_max 12 * 1.10
set in5_max -12 * 0.90
set in5_min -12 * 1.10
set in6_max -5 * 0.95
set in6_min -5 * 1.05# examples for temperature limits # set temp1_over 40 # set temp1_hyst 37 # set temp2_over 52 # set temp2_hyst 47 # set temp3_over 52 # set temp3_hyst 47
I hope this may help others users.
Kind regards
Markus Pillmann
- --
InternetService Rotenburg
http://www.i-service.de // [email protected]
Tel: +49 (0)4261-819687 // Fax: +49 (0)4261-819688
- -= Quality Webhosting in Germany =-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/LZc96BKF9iWmmLwRAh0jAKCCKyGsZk+bTEhpL7rB1B4lNM1eYQCdGS0O 8aTmBbb8RYA+nSpRx5v+GJY=kOEw
-----END PGP SIGNATURE-----
Quoted 13 lines
related to this part of your faq and to my motherboard Asus A7V266ex, I want to report a solution for the fan settings in
/etc/sensors.confwhat actually didnt work with the default settings.4.17.1 Bad readings from the AS99127F!
The Asus AS99127F is a modified version of the Winbond W83781D. Asus will not release a datasheet. The driver was developed by tedious experimentation. We've done the best we can. If you want to make adjustments to the readings please edit
/etc/sensors.conf. Please don't ask us to fix the driver. Ask Asus to release a datasheet.
Quoted 5 lines
- ----------------------
I tried to find out the correct settings and I've seen that the Asus tool for watching the sensors is using a switch
fan_div4 and I tried that to set for the AS99127F settings in/etc/sensors.conf
What tool are you talking about? SmartDoctor2? How could you seen the flag there?
Quoted 2 lines
What shell I say, it works and the fan speed is identic to that what my bios itself shows up in Hardware monitoring.
OK, great.
Quoted 6 lines
CPU FAN: 2327 RPM (min = 1328 RPM, div = 4)
(...)
and here is the/etc/sensors.conf:
(...)
setfan1_min1800
setfan1_div4 ### this is what I changed so far
Well, you ask for 1800 and you get 1328, it's far from being perfect. However, as mentioned in our FAQ, we won't try to fix the driver until Asus releases a datasheet.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi again,
Quoted 6 lines
Quoted 3 lines
I tried to find out the correct settings and I've seen that the Asus tool for watching the sensors is using a switch
fan_div4 and I tried that to set for the AS99127F settings in/etc/sensors.confWhat tool are you talking about? SmartDoctor2? How could you seen the flag there?
I used "Motherboard Monitor 5", downloaded from http://mbm.livewiredev.com/
to examine if the fan monitoring is available for any monitoring tool. well, it is and so I thought, I should play a bit with the dividor settings like seen in MBM.
Quoted 12 lines
Quoted 2 lines
What shell I say, it works and the fan speed is identic to that what my bios itself shows up in Hardware monitoring.
OK, great.
Quoted 6 lines
CPU FAN: 2327 RPM (min = 1328 RPM, div = 4)
(...)
and here is the/etc/sensors.conf:
(...)
setfan1_min1800
setfan1_div4 ### this is what I changed so far
Quoted 3 lines
Well, you ask for 1800 and you get 1328, it's far from being perfect. However, as mentioned in our FAQ, we won't try to fix the driver until Asus releases a datasheet.
sure, its far from beeing perfect, but the RPM itself is shown with a correct value, just the limits are not shown as the settings would expect. I didnt realize that so far :)
ok, anyway, thx a lot for your great work, we'll see what asus will do in the future with their behavior about giving datasheets or not...
Another output to show, I'm a bit confused. I did again a "sensors -s" like yesterday, but now, without any changes to sensors.conf I got this:
(root@athlon) ~$ sensors -s
(root@athlon) ~$ sensors
as99127f-i2c-0-2d
Adapter: SMBus Via Pro adapter at e800
Algorithm: Non-I2C SMBus adapter
[...]
- -5V: -4.03 V (min = -5.24 V, max = -4.74 V) ALARM
CPU FAN: 2311 RPM (min = 1795 RPM, div = 4)
[...]
setting is still 1800, I got 1795, I think its ok so far.
sincerly
Markus Pillmann
- --
InternetService Rotenburg
http://www.i-service.de // [email protected]
Tel: +49 (0)4261-819687 // Fax: +49 (0)4261-819688
- -= Quality Webhosting in Germany =-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/Lk0Y6BKF9iWmmLwRAoAOAKDn+4XZf7hdeVmPVl4M7ayDkZVA5gCgoLC8 t6XXqdH58FF/RjdqCp0akd0=wNXA
-----END PGP SIGNATURE-----
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
I tried to find out the correct settings and I've seen that the Asus tool for watching the sensors is using a switch
fan_div4 and I tried that to set for the AS99127F settings in/etc/sensors.conf
Quoted 8 lines
Quoted 2 lines
What tool are you talking about? SmartDoctor2? How could you seen the flag there?
I used "Motherboard Monitor 5", downloaded from
http://mbm.livewiredev.com/
to examine if the fan monitoring is available for any monitoring tool. well, it is and so I thought, I should play a bit with the dividor settings like seen in MBM.
MBM is a great tool, and it's not made by Asus ;) The div=4 value may be set by MBM itself, it's not necessarily the default value for your chip (but it could be as well, I'm just trying to guess who does what). Anyway, the main thing is that you could see that and that it solved your problem. BTW, I don't think it depends on your chipset (as99127f). Fan divisors need to be increased when the fan rpm value is low, which is the case there. I think it's just that (I have an as99127f too and the fan readings are correct with no additional tricks required) so we won't add anything special to our FAQ with regard to that topic.
Quoted 14 lines
Another output to show, I'm a bit confused. I did again a "sensors -s" like yesterday, but now, without any changes to sensors.conf I got this:
(root@athlon) ~$ sensors -s
(root@athlon) ~$ sensors
as99127f-i2c-0-2d
Adapter: SMBus Via Pro adapter at e800
Algorithm: Non-I2C SMBus adapter
[...]
- -5V: -4.03 V (min = -5.24 V, max = -4.74 V) ALARM
CPU FAN: 2311 RPM (min = 1795 RPM, div = 4)
[...]
Quoted 1 line
setting is still 1800, I got 1795, I think its ok so far.
Yes, it's OK. I can't tell you why it didn't work yesterday (damn Asus again). 1795 is OK, don't expect to get exactly 1800, resolution is limited so you usually get rounded values (even if it doesn't look so "round" from a human point of view).
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 14 lines · Jean Delvare
Quoted 14 lines
Another output to show, I'm a bit confused. I did again a "sensors -s" like yesterday, but now, without any changes to sensors.conf I got this:
(root@athlon) ~$ sensors -s
(root@athlon) ~$ sensors
as99127f-i2c-0-2d
Adapter: SMBus Via Pro adapter at e800
Algorithm: Non-I2C SMBus adapter
[...]
- -5V: -4.03 V (min = -5.24 V, max = -4.74 V) ALARM
CPU FAN: 2311 RPM (min = 1795 RPM, div = 4)
[...]
Quoted 6 lines
Quoted 1 line
setting is still 1800, I got 1795, I think its ok so far.
Yes, it's OK. I can't tell you why it didn't work yesterday (damn Asus again). 1795 is OK, don't expect to get exactly 1800, resolution is limited so you usually get rounded values (even if it doesn't look so "round" from a human point of view).
Sorry, can't blame Asus for this one ;)
The fan_min and fan_div are related. Unfortunately, many (most?) of our chip drivers have this problem: when one changes the fan div, the fan min silently changes due to the relation. When your sensors.conf specifies a change to both fan_min and fan_div, a race is possible that would require you to run sensors -s twice to actually get what you want.
I fixed this when I ported lm78.c to 2.5/2.6 - I took the hint from someone else's code (might have been Phil P.) Haven't had time to propagate that to other drivers though.
Regards,
Signature · 2 lines
Mark M. Hoffman [email protected]
Quoted 11 lines
The
fan_minandfan_divare related. Unfortunately, many (most?) of our chip drivers have this problem: when one changes the fan div, the fan min silently changes due to the relation. When your sensors.conf specifies a change to bothfan_minandfan_div, a race is possible that would require you to runsensors -stwice to actually get what you want.I fixed this when I ported
lm78.cto 2.5/2.6 - I took the hint from someone else's code (might have been Phil P.) Haven't had time to propagate that to other drivers though.
If you can tell me how it can be fixed, I could take some time to modify the other drivers.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 8 lines · Jean Delvare
Quoted 8 lines
The
fan_minandfan_divare related. Unfortunately, many (most?) of our chip drivers have this problem: when one changes the fan div, the fan min silently changes due to the relation. When your sensors.conf specifies a change to bothfan_minandfan_div, a race is possible that would require you to runsensors -stwice to actually get what you want.
Quoted 6 lines
Quoted 3 lines
I fixed this when I ported
lm78.cto 2.5/2.6 - I took the hint from someone else's code (might have been Phil P.) Haven't had time to propagate that to other drivers though.If you can tell me how it can be fixed, I could take some time to modify the other drivers.
I just committed changes to lm78.c as an example.
Yes, it has locking issues as do many of the chip drivers when writing registers. There was a long, inconclusive thread about that in June:
http://archives.andrew.net.au/lm-sensors/msg02991.html
Regards,
Signature · 2 lines
Mark M. Hoffman [email protected]