I came across this thread while searching the net, figured I'd throw in my .02
I have an Asus A7V8X-X Motherboard w/ XP2000+
First, here's what you need to get your kernel onboard with lmsensors
for the A7V8X-X motherboard:
Get the latest and greatest lm-sensors and i2c source from
www.lm-sensors.nu, download the newest 2.4 kernel source
The rest assumes you are using lm/i2c = 2.8.4 and kernel 2.4.25
extract the kernel source to /usr/src/linux
extract the other source under /usr/src/modules
cd /usr/src/modules/i2c-2.8.4
mkpatch/mkpatch.pl . /usr/src/linux > i2c-patch
cd ../lm_sensors-2.8.4
mkpatch/mkpatch.pl . /usr/src/linux > lm-patch
cd /usr/src/linux
patch -p1 < ../modules/i2c-2.8.4/i2c-patch
patch -p1 < ../modules/lm_sensors-2.8.4/lm-patch
now your kernel source is all patched and ready to go...
so do whatever make config you like...
add the following in addition to your normal kernel stuff
under character devices ... i2c support
<M> I2C support
<M> I2C bit-banging interfaces
. . .[*] I2C mainboard interfaces
. . .
<M> VIA Technologies, Inc. VT596A/B. 686A/B, 8231 . . .
. . .
<M> Pseudo ISA adapter
<M> I2C device interface
<M> I2C /proc interface
Go up a level to hardware sensors support[*] Hardware sensors suport
<M> ITE 8705/8712, SiS950
<M> VIA 686a Integrated Hardware Monitor (note: sensors-detect says you need it... i have run sensors fine without this module)
if you want eeprom support:[*] Other I2C devices
<M> EEPROM (DIMM) Reader
Then build your kernel.
Make sure you also build the newest lm-sensors from the source
usually just make install
then in /usr/src/modules/lm_sensors-2.8.4/etc copy the sensors.conf.eg to /etc/sensors.conf
run sensors-detect
it will generate what you have to modprobe
if you run debian just add them to /etc/modules
and add the modules.conf lines to /etc/modutils/aliases
and run update-modules
There are some changes that need to be made to the sensors.conf file
scroll down to the "chip it86* . . . " section and do the following:
set in0_max 1.5 * 1.17 (this is to get rid of alarms for cpus with 1.6v core)
set in4_max 12 * 1.10 (stop 12v alarms, i think the resistor tolerances onboard aren't as good as the it86 data sheet wants)
add the line:
ignore in1 (this ignores the second Vcore field)
ignore in5 (this ignores the -12V field which doesnt calculate right)
ignore in6 (this ignores the -5V field which also doesn't calculate right)
comment out the line:
# compute in2 2*@ , @/2 (this corrects a problem where sensors displays twice the 3.3 voltage)
Now for the Temperature section your sensors.conf should look something like:
set sensor1 2
set sensor2 2
label temp1 "CPU Temp"
set temp1_over 75
set temp1_low 20
compute temp1 (-15.096+1.4893*@), (@+15.096)/1.4893
label temp2 "MB Temp"
set temp2_over 45
set temp2_low 20
ignore temp3
Once this all finished, install your new kernel, update lilo, etc and reboot.
you should be ready to go.
The only thing I am having a problem with is my Fan speed is not
being read from the board...
Here's my lsmod output:
Module Size Used by Not tainted
it87 9848 0 (unused)
i2c-proc 6644 0 [it87]
i2c-isa 724 0 (unused)
i2c-dev 4288 0
i2c-viapro 3528 0
i2c-core 15716 0 [it87 i2c-proc i2c-isa i2c-dev i2c-viapro]
via-rhine 13264 0 (unused)
mii 2528 0 [via-rhine]
tulip 41536 1
ide-floppy 13820 0
rtc 7752 0 (autoclean)
sensors output:
it87-isa-0290
Adapter: ISA adapter
VCore 1: +1.63 V (min = +1.42 V, max = +1.74 V)
+3.3V: +3.26 V (min = +3.14 V, max = +3.46 V)
+5V: +5.14 V (min = +4.74 V, max = +5.24 V)
+12V: +12.48 V (min = +11.40 V, max = +13.20 V)
Stdby: +5.07 V (min = +4.74 V, max = +5.24 V)
VBat: +4.08 V
fan1: 0 RPM (min = 2986 RPM, div = 2) ALARM
CPU Temp: +34°C (low = +21°C, high = +74°C) sensor = thermistor
M/B Temp: +27°C (low = +25°C, high = +45°C) sensor = thermistor
----------------------
Keith[at]operationmeteor[dot]com
Linux version 2.4.25 (root@deathscythe) (gcc version 3.3.3 20040125 (prerelease) (Debian)) #5 SMP Fri Feb 27 12:07:29 EST 2004