LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-25-2004, 09:45 AM   #1
samhob
Member
 
Registered: Jan 2004
Location: Bern, Switzerland
Distribution: Debian
Posts: 72

Rep: Reputation: 15
a7v8x-x lm-sensors


has someone got this motherboard to work with lm-sensors ?
 
Old 01-26-2004, 12:48 PM   #2
samhob
Member
 
Registered: Jan 2004
Location: Bern, Switzerland
Distribution: Debian
Posts: 72

Original Poster
Rep: Reputation: 15
ive ssen somewhere that i have to load it87, i dont have it if i do modprobe , i have my own kernel , what do i need to add to get it and maybe have lmsensors to work...
 
Old 02-01-2004, 11:35 AM   #3
jeanjean
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
Hello,

I don't know so much about lm-sensors, only playing a little with it.
Here is what i can see at this moment :

[root@test root]# sensors
eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at e800
Algorithm: Non-I2C SMBus adapter
Memory type: DDR SDRAM DIMM
Memory size (MB): 512

it87-isa-0290
Adapter: ISA adapter
Algorithm: ISA algorithm
VCore 1: +1.69 V (min = +1.42 V, max = +1.56 V) ALARM
VCore 2: +0.00 V (min = +2.40 V, max = +2.60 V) ALARM
+3.3V: +3.36 V (min = +3.13 V, max = +3.45 V)
+5V: +5.11 V (min = +4.72 V, max = +5.24 V)
+12V: +12.80 V (min = +11.36 V, max = +12.60 V) ALARM
-12V: -27.36 V (min = -12.63 V, max = -11.41 V) ALARM
-5V: -13.64 V (min = -5.28 V, max = -4.81 V) ALARM
Stdby: +4.97 V (min = +4.72 V, max = +5.24 V)
VBat: +3.23 V
fan1: 3260 RPM (min = 0 RPM, div = 2)
fan2: 0 RPM (min = 3000 RPM, div = 2) ALARM
fan3: 0 RPM (min = 3000 RPM, div = 2) ALARM
ERROR: Can't get TEMP1 data!
ERROR: Can't get TEMP2 data!
ERROR: Can't get TEMP3 data!

Like you can see, i have alot of alarm's, but i don't panic about it, because i read somewhere that this Asus motherboard don't show correct datas ...
But i'm not able to get the CPU and MB temp ... ;-(
Anybody have a idea ?
Thanks
Jean
 
Old 02-27-2004, 01:10 PM   #4
keithx
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
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
 
Old 02-27-2004, 01:16 PM   #5
jeanjean
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
There are other ways to monitor the CPU and MB temp ....
this is my HowTo :

http://forum.ev1servers.net/showthre...threadid=41164

Best regards
Jean
 
Old 02-28-2004, 10:06 AM   #6
keithx
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
duh,

i should have read the documentation
i changed the fan divisor to 8 and all is well...

now i can access my system health from the web
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ASUS a7v8x nodger *BSD 6 02-16-2005 10:52 AM
Netbooting on A7V8X Yushman Linux - Hardware 2 12-23-2003 08:29 PM
No sound with my A7V8X-X psyko_chewbacca Linux - Hardware 1 09-16-2003 08:32 PM
A7V8X-X sound don_pingu Linux - Hardware 0 07-19-2003 03:09 PM
lm sensors, no sensors found N_A_J_M Linux - General 3 01-22-2003 05:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration