View previous topic :: View next topic |
Author |
Message |
snakattak3 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13206755614048fb6fe77eb.gif)
Joined: 11 Dec 2002 Posts: 468 Location: Seattle
|
Posted: Tue Feb 22, 2005 5:33 pm Post subject: lm-sensors asus k8n |
|
|
Man, lm-sensors is driving me crazy. I have an Asus k8n (not the delux) motherboard. In the bios, I have hardware monitors that display fan speeds and cpu temperatures. I'm trying to get lm-sensors working. Have built in all the sensors as modules in a 2.6.10-gentoo-r7 kernel, and run a sensors-detect. It always tells me to modprobe the i2c-isa adapter, and the it87 chip driver. I would think that I should use the nforce2 adapter, since I have an nforce3 chipset. Maybe the sensors run completely off of something else though. So, after I run sensors-detect, create the /etc/conf.d/lm_sensors file, uptade-modules, and modprobe the i2c-isa and it87, sensors gives me this output. /usr/bin/sensors wrote: |
it8712-isa-0d00
Adapter: ISA adapter
|
Just blank. Is there any way to fix this, or to find out the correct modules to use. I haven't found anything on google with this motherboard. Everyone just says to run sensors detect, but its obviously not working correctly. Help me shed some light on this. _________________ Ban Reality TV!
Adopt an Unanswered Post |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
snakattak3 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13206755614048fb6fe77eb.gif)
Joined: 11 Dec 2002 Posts: 468 Location: Seattle
|
Posted: Tue Feb 22, 2005 5:47 pm Post subject: |
|
|
Ok, i seemed to have fixed it by upgrading to the latest lm-sensors. same modules, output now shows sensors wrote: |
Adapter: ISA adapter
VCore 1: +1.54 V (min = +4.08 V, max = +4.08 V) ALARM
VCore 2: +4.08 V (min = +4.08 V, max = +4.08 V) ALARM
+3.3V: +6.59 V (min = +8.16 V, max = +8.16 V) ALARM
+5V: +5.08 V (min = +6.85 V, max = +6.85 V) ALARM
+12V: +11.78 V (min = +16.32 V, max = +16.32 V) ALARM
-12V: +3.93 V (min = +3.93 V, max = +3.93 V) ALARM
-5V: +4.03 V (min = +4.03 V, max = +4.03 V) ALARM
Stdby: +6.85 V (min = +6.85 V, max = +6.85 V) ALARM
VBat: +4.08 V
fan1: 0 RPM (min = 0 RPM, div = 2)
fan2: 0 RPM (min = 0 RPM, div = 128)
fan3: 2678 RPM (min = 0 RPM, div =
M/B Temp: +41 C (low = -1 C, high = -1 C) sensor = thermistor ALARM
CPU Temp: +27 C (low = -1 C, high = -1 C) sensor = thermistor ALARM
Temp3: +128 C (low = -1 C, high = -1 C) sensor = disabled
|
should I be worried about all the alarms? _________________ Ban Reality TV!
Adopt an Unanswered Post |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
apmurray Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 29 May 2004 Posts: 221 Location: Adelaide, Australia
|
Posted: Tue Feb 22, 2005 10:01 pm Post subject: |
|
|
no alarms occur since the value is greater than the min/max values - these, as you can see, generally dont make any sense and are wrong. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrroessner Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Dec 2003 Posts: 156 Location: Germany
|
Posted: Thu Feb 24, 2005 9:19 am Post subject: |
|
|
Does someone have a working /etc/sensors.conf? I tried to adjust it myself, but I only can play with the values inside instead of really knowing what I do
Thanks
Christian |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
snakattak3 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13206755614048fb6fe77eb.gif)
Joined: 11 Dec 2002 Posts: 468 Location: Seattle
|
Posted: Thu Feb 24, 2005 5:14 pm Post subject: |
|
|
If your using my board, around line 1403
Code: |
chip "it87-*" "it8712-*"
# The values below have been tested on Asus CUSI, CUM motherboards.
# Voltage monitors as advised in the It8705 data sheet
label in0 "VCore 1"
label in1 "VCore 2"
label in2 "+3.3V"
label in3 "+5V"
label in4 "+12V"
label in5 "-12V"
label in6 "-5V"
label in7 "Stdby"
label in8 "VBat"
# vid is not monitored by IT8705F
# comment out if you have IT8712
ignore vid
# Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems
# to report the VCORE voltage approximately 0.05V higher than the board's
# BIOS does. Although it doesn't make much sense physically, uncommenting
# the next line should bring the readings in line with the BIOS' ones in
# this case.
# compute in0 -0.05+@ , @+0.05
# If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example),
# comment out following line.
#compute in2 2*@ , @/2
#
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
compute in4 ((30/10) +1)*@ , @/((30/10) +1)
# For this family of chips the negative voltage equation is different from
# the lm78. The chip uses two external resistor for scaling but one is
# tied to a positive reference voltage. See ITE8705/12 datasheet (SIS950
# data sheet is wrong)
# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
# The next two are negative voltages (-12 and -5).
# The following formulas must be used. Unfortunately the datasheet
# does not give recommendations for Rin, Rf, but we can back into
# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
# Formula:
# actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
# For -12V input use Rin/Rf = 6.68
# For -5V input use Rin/Rf = 3.33
# Then you can convert the forumula to a standard form like:
compute in5 (7.67 * @) - 27.36 , (@ + 27.36) / 7.67
compute in6 (4.33 * @) - 13.64 , (@ + 13.64) / 4.33
#
# this much simpler version is reported to work for a
# Elite Group K7S5A board
#
# compute in5 -(36/10)*@, -@/(36/10)
# compute in6 -(56/10)*@, -@/(56/10)
#
compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)
set in0_min 1.5 * 0.95
set in0_max 1.5 * 1.05
set in1_min 2.4
set in1_max 2.6
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.95
set in4_max 12 * 1.05
set in5_max -12 * 0.95
set in5_min -12 * 1.05
set in6_max -5 * 0.95
set in6_min -5 * 1.05
set in7_min 5 * 0.95
set in7_max 5 * 1.05
#the chip does not support in8 min/max
# Temperature
#
# Important - if your temperature readings are completely whacky
# you probably need to change the sensor type.
# Adujst and uncomment the appropriate lines below.
# The old method (modprobe it87 temp_type=0xXX) is no longer supported.
#
# 2 = thermistor; 3 = thermal diode; 0 = unused
# set sensor1 3
# set sensor2 3
# set sensor3 3
# If a given sensor isn't used, you will probably want to ignore it
# (see ignore statement right below).
label temp1 "CPU Temp"
set temp1_over 50
set temp1_low 15
label temp2 "M/B Temp"
set temp2_over 32
set temp2_low 15
# ignore temp3
label temp3 "Temp3"
set temp3_over 45
set temp3_low 15
# The A7V8X-X has temperatures inverted, and needs a conversion for
# CPU temp. Thanks to Preben Randhol for the formula.
# label temp1 "CPU Temp"
# label temp2 "M/B Temp"
# compute temp1 (-15.096+1.4893*@), (@+15.096)/1.4893
# The A7V600 also has temperatures inverted, and needs a different
# conversion for CPU temp. Thanks to Dariusz Jaszkowski for the formula.
# label temp1 "CPU Temp"
# label temp2 "M/B Temp"
# compute temp1 (@+128)/3, (3*@-128)
# Fans
set fan1_min 0
set fan2_min 3000
# ignore fan3
set fan3_min 3000
# The following is for the Inside Technologies 786LCD which uses either a
# IT8705F or a SIS950 for monitoring with the SIS630.
# You will need to load the it87 module as follows to select the correct
# temperature sensor type.
# modprobe it87 temp_type=0x31
# The sensors-detect program reports lm78 and a sis5595 and lists the it87 as
# a misdetect. Don't do the modprobe for the lm78 or sis5595 as suggested.
#
# delete or comment out above it87 section and uncomment the following.
#chip "it87-*"
# label in0 "VCore 1"
# label in1 "VCore 2"
# label in2 "+3.3V"
# label in3 "+5V"
# label in4 "+12V"
# label in5 "3.3 Stdby"
# label in6 "-12V"
# label in7 "Stdby"
# label in8 "VBat"
# in0 will depend on your processor VID value, set to voltage specified in
# bios setup screen
# set in0_min 1.7 * 0.95
# set in0_max 1.7 * 1.05
# set in1_min 2.4
# set in1_max 2.6
# 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
# +- 12V are very poor tolerance on this board. Verified with voltmeter
# set in4_min 12 * 0.90
# set in4_max 12 * 1.10
# set in5_min 3.3 * 0.95
# set in5_max 3.3 * 1.05
# set in6_max -12 * 0.90
# set in6_min -12 * 1.10
# set in7_min 5 * 0.95
# set in7_max 5 * 1.05
# vid not monitored by IT8705F
# ignore vid
# compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
# compute in4 ((30/10) +1)*@ , @/((30/10) +1)
# compute in6 (1+232/56)*@ - 4.096*232/56, (@ + 4.096*232/56)/(1+232/56)
# compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)
# Temperature
# label temp1 "CPU Temp"
# ignore temp2
# ignore temp3
# Fans
# set fan1_min 3000
# ignore fan2
# ignore fan3
|
this gives me sensors wrote: |
Adapter: ISA adapter
VCore 1: +1.55 V (min = +4.08 V, max = +4.08 V) ALARM
VCore 2: +4.08 V (min = +4.08 V, max = +4.08 V) ALARM
+3.3V: +3.31 V (min = +4.08 V, max = +4.08 V) ALARM
+5V: +5.11 V (min = +6.85 V, max = +6.85 V) ALARM
+12V: +11.84 V (min = +16.32 V, max = +16.32 V) ALARM
-12V: +3.93 V (min = +3.93 V, max = +3.93 V) ALARM
-5V: +4.03 V (min = +4.03 V, max = +4.03 V) ALARM
Stdby: +6.85 V (min = +6.85 V, max = +6.85 V) ALARM
VBat: +4.08 V
fan1: 3214 RPM (min = 0 RPM, div = 2)
fan2: 2689 RPM (min = 0 RPM, div = 2)
fan3: 0 RPM (min = 0 RPM, div =
CPU Temp: +36°C (low = -1°C, high = -1°C) sensor = thermistor
M/B Temp: +29°C (low = -1°C, high = -1°C) sensor = thermistor
Temp3: +128°C (low = -1°C, high = -1°C) sensor = disabled
|
I didn't change much except swap the "CPU Temp" and "M/B Temp" labels, they seem to be inverted for this board, and I commented the line out above where it says to comment out if your Voltages for 3.3V are doubled. The temps seem to be off though, booting up in the bios says my cpu is idle at 40 - 44C, but lm-sensors says its idle at 36C. If anyone knows the formula for fixing that, please post ![Smile :)](images/smiles/icon_smile.gif) _________________ Ban Reality TV!
Adopt an Unanswered Post |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrroessner Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Dec 2003 Posts: 156 Location: Germany
|
Posted: Thu Feb 24, 2005 10:01 pm Post subject: |
|
|
Thanks. In the meantime I played around a bit and I got a (final) working config, which only shows these sensors which really exist.
it8712-isa-0d00
Adapter: ISA adapter
VCore 1: +1.49 V (min = +1.23 V, max = +1.57 V)
+3.3V: +3.28 V (min = +3.14 V, max = +3.47 V) ALARM
+5V: +4.95 V (min = +4.76 V, max = +5.24 V)
+12V: +11.84 V (min = +11.39 V, max = +12.61 V)
fan1: 0 RPM (min = 0 RPM, div = 2)
CPU Temp: +43°C (low = +15°C, high = +45°C) sensor = thermistor
M/B Temp: +39°C (low = +15°C, high = +40°C) sensor = thermistor
The fan does not recognize the low spped, if the cpu is not hot enough
My settings:
Code: | chip "it87-*" "it8712-*"
# The values below have been tested on Asus CUSI, CUM motherboards.
# Voltage monitors as advised in the It8705 data sheet
label in0 "VCore 1"
label in1 "VCore 2"
label in2 "+3.3V"
label in3 "+5V"
label in4 "+12V"
label in5 "-12V"
label in6 "-5V"
label in7 "Stdby"
label in8 "VBat"
ignore in1
# vid is not monitored by IT8705F
# comment out if you have IT8712
ignore vid
# Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems
# to report the VCORE voltage approximately 0.05V higher than the board's
# BIOS does. Although it doesn't make much sense physically, uncommenting
# the next line should bring the readings in line with the BIOS' ones in
# this case.
# compute in0 -0.05+@ , @+0.05
# If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example),
# comment out following line.
# compute in2 2*@ , @/2
#
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
compute in4 ((30/10) +1)*@ , @/((30/10) +1)
# For this family of chips the negative voltage equation is different from
# the lm78. The chip uses two external resistor for scaling but one is
# tied to a positive reference voltage. See ITE8705/12 datasheet (SIS950
# data sheet is wrong)
# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
# The next two are negative voltages (-12 and -5).
# The following formulas must be used. Unfortunately the datasheet
# does not give recommendations for Rin, Rf, but we can back into
# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
# Formula:
# actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
# For -12V input use Rin/Rf = 6.68
# For -5V input use Rin/Rf = 3.33
# Then you can convert the forumula to a standard form like:
# compute in5 (7.67 * @) - 27.36 , (@ + 27.36) / 7.67
# compute in6 (4.33 * @) - 13.64 , (@ + 13.64) / 4.33
#
# this much simpler version is reported to work for a
# Elite Group K7S5A board
#
# compute in5 -(36/10)*@, -@/(36/10)
# compute in6 -(56/10)*@, -@/(56/10)
#
ignore in5
ignore in6
ignore in7
compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)
ignore in8
set in0_min 1.3 * 0.95
set in0_max 1.5 * 1.05
set in1_min 2.4
set in1_max 2.6
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.95
set in4_max 12 * 1.05
set in5_max -12 * 0.95
set in5_min -12 * 1.05
set in6_max -5 * 0.95
set in6_min -5 * 1.05
set in7_min 5 * 0.95
set in7_max 5 * 1.05
#the chip does not support in8 min/max
# Temperature
#
# Important - if your temperature readings are completely whacky
# you probably need to change the sensor type.
# Adujst and uncomment the appropriate lines below.
# The old method (modprobe it87 temp_type=0xXX) is no longer supported.
#
# 2 = thermistor; 3 = thermal diode; 0 = unused
# set sensor1 3
# set sensor2 3
# set sensor3 3
# If a given sensor isn't used, you will probably want to ignore it
# (see ignore statement right below).
label temp1 "CPU Temp"
set temp1_over 45
set temp1_low 15
label temp2 "M/B Temp"
set temp2_over 40
set temp2_low 15
ignore temp3
label temp3 "Temp3"
set temp3_over 45
set temp3_low 15
# The A7V8X-X has temperatures inverted, and needs a conversion for
# CPU temp. Thanks to Preben Randhol for the formula.
# label temp1 "CPU Temp"
# label temp2 "M/B Temp"
# compute temp1 (-15.096+1.4893*@), (@+15.096)/1.4893
# The A7V600 also has temperatures inverted, and needs a different
# conversion for CPU temp. Thanks to Dariusz Jaszkowski for the formula.
# label temp1 "CPU Temp"
# label temp2 "M/B Temp"
# compute temp1 (@+128)/3, (3*@-128)
# Fans
#ignore fan1
set fan1_min 0
ignore fan2
set fan2_min 3000
ignore fan3
set fan3_min 3000
# The following is for the Inside Technologies 786LCD which uses either a
# IT8705F or a SIS950 for monitoring with the SIS630.
# You will need to load the it87 module as follows to select the correct
# temperature sensor type.
# modprobe it87 temp_type=0x31
# The sensors-detect program reports lm78 and a sis5595 and lists the it87 as
# a misdetect. Don't do the modprobe for the lm78 or sis5595 as suggested.
#
# delete or comment out above it87 section and uncomment the following.
#chip "it87-*"
# label in0 "VCore 1"
# label in1 "VCore 2"
# label in2 "+3.3V"
# label in3 "+5V"
# label in4 "+12V"
# label in5 "3.3 Stdby"
# label in6 "-12V"
# label in7 "Stdby"
# label in8 "VBat"
# in0 will depend on your processor VID value, set to voltage specified in
# bios setup screen
# set in0_min 1.7 * 0.95
# set in0_max 1.7 * 1.05
# set in1_min 2.4
# set in1_max 2.6
# 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
# +- 12V are very poor tolerance on this board. Verified with voltmeter
# set in4_min 12 * 0.90
# set in4_max 12 * 1.10
# set in5_min 3.3 * 0.95
# set in5_max 3.3 * 1.05
# set in6_max -12 * 0.90
# set in6_min -12 * 1.10
# set in7_min 5 * 0.95
# set in7_max 5 * 1.05
# vid not monitored by IT8705F
# ignore vid
# compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
# compute in4 ((30/10) +1)*@ , @/((30/10) +1)
# compute in6 (1+232/56)*@ - 4.096*232/56, (@ + 4.096*232/56)/(1+232/56)
# compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)
# Temperature
# label temp1 "CPU Temp"
# ignore temp2
# ignore temp3
# Fans
# set fan1_min 3000
# ignore fan2
# ignore fan3
|
To have sensors show correct mins and maxs, call sensors -s after editing.
Regards
Christian
N.B. This config is for Asus K8N-E deluxe |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|