You are not logged in.

#1 2005-03-30 09:31:23

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Problem with lm_sensors

Hey all.

I've read the wiki, googled and searched the forums: the consensus seems to be that lm_sensors will fail with the

No i2c device files found. Use prog/mkdev/mkdev.sh to create them.

error.

Now, I modprobed all the necessary I2C modules, and still no luck. The sensors-detect just does not work, even tho I followed the wiki...

Neither can I find the mkdev script, if that would actually solve the problem.

Any ideas? The fans speed and temps ARE recognised and displayed in my BIOS. I have a KT7-Ultra ARU motherboard if that makes a difference, VIA.

T.

Offline

#2 2005-03-30 10:17:35

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Problem with lm_sensors

Download the orginal tarball from here: http://secure.netroedge.com/~lm78/download.html and you will find the prog/mkdev.sh script.

lm_sensors almost worked for me, but I have a NForce2 mobo, so I could never get it working right.... sad


·¬»· i am shadowhand, powered by webfaction

Offline

#3 2005-03-30 12:15:21

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Problem with lm_sensors

Will give that a try, cheers.

Offline

#4 2005-03-30 13:46:20

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Problem with lm_sensors

shadowhand wrote:

lm_sensors almost worked for me, but I have a NForce2 mobo, so I could never get it working right.... sad

I have a nforce2 too, and it works for me, I just don't get the right output, but it's close enough to be somewhat useful. The values are relative anyway, though te cpu temp is too extreme to be of much value unfortunately (from -30 to 65).

Offline

#5 2005-03-30 15:30:44

incinerator
Member
From: Edinburgh, Scotland
Registered: 2005-02-15
Posts: 80

Re: Problem with lm_sensors

On an nforce2 mobo the CPU temperature can easily be read without using lm_sensors. Make sure you have ACPI enabled in your kernel and the "processor" and "thermal" modules loaded.

I don't have a Linux box at hand right now, but the path to the relevant files starts with /proc/acpi/thermal_zone/

For my board the temperature values provided by ACPI turned out to be significantly more consistent than the values provided by lm_sensors.

Cheers,
Dominik

Offline

#6 2005-03-30 15:59:29

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Problem with lm_sensors

Unfortunately, my /proc/acpi/thermal_zone/ is empty. I have ACPI enabled and the mentioned modules build in. Perhaps my Morgan Duron doesn't know about thermal zones, unlike the newer cpu's with an internal sensor.

Offline

#7 2005-03-31 00:18:54

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Problem with lm_sensors

Hmm OK used the mkdev script and got it working.

However, according to the output from sensors I have some weird temps and voltages (I don't know how normal they are, but what are all those ALARMs about?!)

[root@suzy thomas]# sensors
w83697hf-isa-0290
Adapter: ISA adapter
VCore:     +1.74 V  (min =  +0.45 V, max =  +2.85 V)              
+3.3V:     +3.18 V  (min =  +3.26 V, max =  +1.36 V)       ALARM  
+5V:       +4.89 V  (min =  +0.43 V, max =  +2.26 V)       ALARM  
+12V:     +12.52 V  (min =  +5.84 V, max =  +5.96 V)       ALARM  
-12V:     -12.77 V  (min =  +5.90 V, max =  -8.66 V)       ALARM  
-5V:       -5.55 V  (min =  -4.49 V, max =  -2.33 V)       ALARM  
V5SB:      +5.51 V  (min =  +1.29 V, max =  +0.67 V)       ALARM  
VBat:      +3.39 V  (min =  +0.67 V, max =  +1.89 V)       ALARM  
fan1:     2777 RPM  (min = 4115 RPM, div = 2)              ALARM  
fan2:     2721 RPM  (min = 8132 RPM, div = 2)              ALARM  
temp1:       +35°C  (high =   -78°C, hyst =   +68°C)   sensor = thermistor   ALARM   
temp2:     +48.0°C  (high =   +80°C, hyst =   +75°C)   sensor = thermistor           
alarms:   
beep_enable:
          Sound alarm disabled

eeprom-i2c-0-52
Adapter: SMBus Via Pro adapter at 0400
Memory type:            DDR SDRAM DIMM
Memory size (MB):       256

eeprom-i2c-0-51
Adapter: SMBus Via Pro adapter at 0400
Memory type:            DDR SDRAM DIMM
Memory size (MB):       256

eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 0400
Memory type:            DDR SDRAM DIMM
Memory size (MB):       256

Any ideas?

Offline

#8 2005-03-31 00:50:25

puntmuts
Member
Registered: 2005-02-22
Posts: 138

Re: Problem with lm_sensors

Edit the /etc/sensors.conf file for your sensor. It is a well documented configfile, so configuring should be easy. Search the part in the file for w83697hf.


Out / Gone
Mirgrating all my machines off ArchLinux . No longer part of the ArchLinux community / users .
Done. Goodbye.

Offline

#9 2005-03-31 01:11:17

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Problem with lm_sensors

incinerator wrote:

On an nforce2 mobo the CPU temperature can easily be read without using lm_sensors. Make sure you have ACPI enabled in your kernel and the "processor" and "thermal" modules loaded.

I don't have a Linux box at hand right now, but the path to the relevant files starts with /proc/acpi/thermal_zone/

For my board the temperature values provided by ACPI turned out to be significantly more consistent than the values provided by lm_sensors.

Cheers,
Dominik

Ah. I had them built in and they didn't work. I'm recompiling the kernel right now to see if it makes a difference to use them as modules.

UPDATE: Using modules instead of built-in didn't do anything.


·¬»· i am shadowhand, powered by webfaction

Offline

#10 2005-03-31 09:14:55

incinerator
Member
From: Edinburgh, Scotland
Registered: 2005-02-15
Posts: 80

Re: Problem with lm_sensors

To bad the ACPI stuff doesn't seem to work for so many people. Reasons could be either a broken BIOS or the cpu not having an internal temperature sensor at all. The latter would surprise me a wee bit. Unless you are using an external sensor both lm_sensors and thermal_zone should show a temperature measurement for the CPU.

If in doubt about the you could check out the technical docs provided by AMD at their website.

Cheers,
Dominik

Offline

#11 2005-03-31 11:26:12

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Problem with lm_sensors

After reading the technical docs: model 3 Duron doesn't have an on die thermistor, while model 7 and later do have one. I have a model 7, so no idea why ACPI thermal_zones don't work and no time to find it out now either.

Offline

#12 2005-03-31 19:03:29

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Problem with lm_sensors

I thought it was strange too. lm_sensors detects 3 temps, which it should, since there are 3 sensors on the mobo for temps (I looked when I installed it). With my Via motherboard, thermal_zone was fine.


·¬»· i am shadowhand, powered by webfaction

Offline

#13 2005-04-04 15:25:52

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Problem with lm_sensors

Sometimes... not always. If your temp1 is higher than your temp2 then it's a good indication that they're swapped.

Offline

Board footer

Powered by FluxBB