Skip to contentSkip to conversation

Impossible tu use CPU Temp with superkaramba ( lm_sensors-2.9.0)

DISCUSSION jackie 2 participants 2 messages May 19, 2005

lore
Share & tools
lore

jackie

author
#0 lore raw

Superkaramaba can't display the CPU Temp , with two differents themes for superkaramba : TDE and Mi-karamba.

It' s like if superkaramba was looking for a wrong sensor adress, with CPU Temp !!! isn't it ?

Can you give me a little help.

Here is the output of sensors command.

ip-10:/home/jackie # sensors
eeprom-i2c-0-51

Adapter: SMBus I801 adapter at e800
Memory type:            DDR SDRAM DIMM
Memory size (MB):       512

asb100-i2c-0-2d
Adapter: SMBus I801 adapter at e800
VCore 1: +1.60 V (min = +1.46 V, max = +1.60 V)
ALARM

+3.3V:     +3.33 V  (min =  +3.14 V, max =  +3.47 V)
+5V:       +5.05 V  (min =  +4.76 V, max =  +5.24 V)
+12V:     +11.61 V  (min = +10.82 V, max = +13.19 V)
-12V (reserved):
          -12.13 V  (min =  -0.00 V, max =  -0.00 V)
-5V (reserved):
           -5.09 V  (min =  -0.00 V, max =  -0.00 V)
CPU Fan:  2884 RPM  (min = 1997 RPM, div = 4)
M/B Temp:    +30?C  (high =   +45?C, hyst =   +40?C)
CPU Temp (Intel):
             +38?C  (high =   +60?C, hyst =   +50?C)

vid: +1.525 V
alarms:

ip-10:/home/jackie #

Here is my superkaramba theme : TDE tpower

#Written by Chip2003
#Published under GPL on www.kde-look.org
#This is part of TDE - T Desktop Enhancements

#This Theme - TPower - shows various information about power status and temperatures, as CPU and case temperatures, Fan RPM, voltages. For some values, you need the program 'sensors'!

# general
KARAMBA  Xx5 Y� W#0 H5 interval 00 locked�lse
image x=0 y=0	path="image/back.png"
defaultfont font="Arial" fontsize color=0,0,0 align="right"

<GROUP> x y$
# CPU
# "type" depends on your mainboard. Run 'sensors' to show all possible values (Must be installed, of course ...)

# range is up to 70 degrees celsius. change 'max' value if needed.
image x=0 y=0 path="image/tile.png"
image x=7 y path="image/cpu.png"
image x` y path="image/fan_s.png"
image x7 y=9 path="image/thermometer_k.png"

text x0 y sensor=sensor type="CPU Fan" format="%v" align="right" color=0,0,0 fontsize font="Arial"
text x8 y sensor=sensor type="CPU Temp (Intel)" format="%v C" align="right" color=0,0,0 fontsize font="Arial"

</GROUP>

# Chassis
<GROUP> x yi
image x=0 y=0 path="image/tile.png"
image x=7 y=7 path="image/computer.png"
#image x` y path="image/fan_s.png"
image x7 y=9 path="image/thermometer_k.png"

text x8 y sensor=sensor type="M/B Temp" format="%v C" color=0,0,0 align="right" fontsize font="Arial"
#text x0 y sensor=sensor type="fan1" format="%v" align="right" color=0,0,0 fontsize font="Arial"
</GROUP>

# Voltages
<GROUP> x y4
image x=0 y=0 path="image/tile.png"
image x y=7 path="image/power.png"

text x0 y=8 sensor=sensor type="+12V" format="+%v V" color=0,0,0 align="right" fontsize font="Arial"
text x0 y sensor=sensor type="VCore 1" format="+%v V" color=0,0,0 align="right" fontsize font="Arial"
text x� y=8 sensor=sensor type="+3.3V" format="+%v V" align="right" color=0,0,0 fontsize font="Arial"
text x� y sensor=sensor type="+5V" format="+%v V" align="right" color=0,0,0 fontsize font="Arial"
</GROUP>

I have tried a lot of possibilities to define CPU Temp (Intel)

Before I'd two CPU temp sensors : Intel and AMD.

I've modified my /etc/sensors.conf
( part asb100 ) to ignore uninstalled fans and sensors, especially CPU Temp (AMD).

Well done in the new sensor output.

#
# This example was tested vs. Asus P4S333
#
chip "asb100-*"
set vrm 9.0

label in0 "VCore 1"
set in0_min vid * 0.95
set in0_max vid * 1.05

label in1 "VCore 2"
ignore in1
set in1_min vid * 0.95
set in1_max vid * 1.05

label in2 "+3.3V"
set in2_min 3.3 * 0.95
set in2_max 3.3 * 1.05

label in3 "+5V"
compute in3 1.68 * @ , @ / 1.68
set in3_min 5.0 * 0.95
set in3_max 5.0 * 1.05

label in4 "+12V"
compute in4 3.8 * @ , @ / 3.8
set in4_min 12 * 0.90
set in4_max 12 * 1.10

label in5 "-12V (reserved)"
#ignore in5
compute in5 -@ * 3.97 , -@ / 3.97
set in5_max -12 * 0.90
set in5_min -12 * 1.10

label in6 "-5V (reserved)"
#ignore in6
compute in6 -@ * 1.666 , -@ / 1.666
set in6_max -5 * 0.95
set in6_min -5 * 1.05

label temp1 "M/B Temp"
set temp1_over 45
set temp1_hyst 40

label temp2 "CPU Temp (Intel)"
#ignore temp2
set temp2_over 60
set temp2_hyst 50

# PWRTMP connector on P4S333, for external sensor
label temp3 "Power Temp"
ignore temp3
set temp3_over 45
set temp3_hyst 40

# Used for Athlon diode, ignore for P4S333
label temp4 "CPU Temp (AMD)"
ignore temp4
set temp4_over 60
set temp4_hyst 50

label fan1 "CPU Fan"
set fan1_div 4
set fan1_min 2000

label fan2 "Chassis Fan"
set fan2_div 2
set fan2_min 4000
ignore fan2

label fan3 "Power Fan"
set fan3_div 2
set fan3_min 4000
ignore fan3

Here is my.../etc/sysconfig/lm_sensors

# /etc/sysconfig/sensors - Defines modules loaded
by /etc/rc.d/init.d/lm_sensors
# Copyright (c) 1998 - 2001 Frodo Looijaard <[email protected]>
#
.
# See also the lm_sensors homepage at:
# http://www2.lm-sensors.nu/~lm78/index.html
#
# This file is used by /etc/rc.d/init.d/lm_sensors and defines the modules to

# be loaded/unloaded. This file is sourced into /etc/rc.d/init.d/lm_sensors.
#
# The format of this file is a shell script that simply defines the modules
# in order as normal variables with the special names:
#    MODULE_0, MODULE_1, MODULE_2, etc.
#
# List the modules that are to be loaded for your system
#
# Generated by sensors-detect on Sun Feb 13 15:14:37 2005
MODULE_0=i2c-i801
MODULE_1=asb100
MODULE_2�prom

I've an ASUS P4PE-X, with Intel Celeron.

What i did with sensors-detect.

I tried various options, before, but i dont 'understand what this file is
doing.

ip-10:/home/jackie # sensors-detect

This program will help you determine which I2C/SMBus modules you need to load to use lm_sensors most effectively. You need to have i2c and lm_sensors installed before running this program.

Also, you need to be `root', or at least have access to the /dev/i2c-* files, for most things.

If you have patched your kernel and have some drivers built in, you can safely answer NO if asked to load some modules. In t
his case, things may seem a bit confusing, but they will still work.

It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. You do not need any special privileges for this. Do you want to probe now? (YES/no): YES
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 8280 1DB ICH4
Probe succesfully concluded.

We will now try to load each adapter module in turn. Module `i2c-i801' already loaded.
If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before runni
ng this script.

To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this. i2c-dev is not loaded. Do you want to load it now? (YES/no): YES Module loaded succesfully.

We are now going to do the adapter probings. Some adapters may hang halfway through; we can't really help that. Also, some chips will be double detected; we choose the one with the highest confidence value in that case.

If you found that the adapter hung after probing a certain address, you can
specify that address to remain unprobed. That often
includes address 0x69 (clock chip).

Next adapter: SMBus I801 adapter at e800 (Algorithm unavailable) Do you want to scan it? (YES/no/selectively): YES
Client found at address 0x08
Client at address 0x2d can not be probed - unload all client drivers first! Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed!
Client at address 0x48 can not be probed - unload all client drivers first! Client at address 0x49 can not be probed - unload all client drivers first! Client at address 0x51 can not be probed - unload all client drivers first!

Some chips are also accessible through the ISA bus.
ISA probes are typically a bit more dangerous, as we have to write to I/O ports to do this. This is usually safe though.

Do you want to scan the ISA bus? (YES/no): no

Some Super I/O chips may also contain sensors. Super I/O probes are typically a bit more dangerous, as we have to write to I/O ports to do this. This is usually safe though.

Do you want to scan for Super I/O sensors? (YES/no): YES Probing for ITE 8702F Super IO Sensors' Failed! (0x8708) Probing for ITE 8705F Super IO Sensors' Failed! (0x8708) Probing for ITE 8712F Super IO Sensors' Failed! (0x8708) Probing for Nat. Semi. PC87351 Super IO Fan Sensors 'Failed! (skipping family)
Probing for SMSC 47B27x Super IO Fan Sensors' Failed! (skipping family) Probing for VT1211 Super IO Sensors' Failed! (0x87)
Probing for Winbond W83627HF Super IO Sensors' Failed! (0x87) Probing for Winbond W83627THF Super IO Sensors' Failed! (0x87) Probing for Winbond W83637HF Super IO Sensors' Failed! (0x87) Probing for Winbond W83697HF Super IO Sensors' Failed! (0x87) Probing for Winbond W83697SF/UF Super IO PWM' Failed! (0x87) Probing for Winbond W83L517D Super IO' Failed! (0x87)

Do you want to scan for secondary Super I/O sensors? (YES/no): YES Probing for ITE 8702F Super IO Sensors' Failed! (skipping family) Probing for Nat. Semi. PC87351 Super IO Fan Sensors' Failed! (skipping family)
Probing for SMSC 47B27x Super IO Fan Sensors' Failed! (skipping family) Probing for VT1211 Super IO Sensors' Failed! (skipping family)

Sorry, no chips were detected.
Either your sensors are not supported, or they are connected to an I2C bus
adapter that we do not support.

See doc/FAQ, doc/lm_sensors-FAQ.html, or
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc
/lm_sensors-FAQ.html (FAQ #4.24.3) for further information.

If you find out what chips are on your board, see
http://secure.netroedge.com/~lm78/newdrivers.html for driver status.

I'm going to read these informations...

I dont undersatand why superkaramba don't display only CPU temp, althought i have it with sensors. ( only six months with Linux )

A little help please ! Ayuda por favor !

Jacqueline

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050214/f5b0d1cc/attachment.html

#1 lore raw

Impossible tu use CPU Temp with superkaramba (

we don't know anything about 'superkaramba' or 'TDE' but
your temp2 and temp3 sensors are configured to be ignored in sensors.conf. you may wish to take out those lines.
Any one of the three, temp1-temp3, could be your CPU temperature. Khali may be able to help you further in french :)

Quoted 489 lines · jackie

Superkaramaba can't display the CPU Temp , with two differents themes for superkaramba : TDE and Mi-karamba.

It' s like if superkaramba was looking for a wrong sensor adress, with CPU Temp !!! isn't it ?

Can you give me a little help.

Here is the output of sensors command.

ip-10:/home/jackie # sensors

eeprom-i2c-0-51

Adapter: SMBus I801 adapter at e800

Memory type: DDR SDRAM DIMM

Memory size (MB): 512

asb100-i2c-0-2d

Adapter: SMBus I801 adapter at e800

VCore 1: +1.60 V (min = +1.46 V, max = +1.60 V)

ALARM

+3.3V: +3.33 V (min = +3.14 V, max = +3.47 V)

+5V: +5.05 V (min = +4.76 V, max = +5.24 V)

+12V: +11.61 V (min = +10.82 V, max = +13.19 V)

-12V (reserved):

-12.13 V (min = -0.00 V, max = -0.00 V)

-5V (reserved):

-5.09 V (min = -0.00 V, max = -0.00 V)

CPU Fan: 2884 RPM (min = 1997 RPM, div = 4)

M/B Temp: +30?C (high = +45?C, hyst = +40?C)

CPU Temp (Intel):

+38?C (high = +60?C, hyst = +50?C)

vid: +1.525 V

alarms:

ip-10:/home/jackie #

Here is my superkaramba theme : TDE tpower

#Written by Chip2003

#Published under GPL on www.kde-look.org

#This is part of TDE - T Desktop Enhancements

#This Theme - TPower - shows various information about power status and temperatures, as CPU and case temperatures, Fan RPM, voltages. For some values, you need the program 'sensors'!

# general

KARAMBA Xx5 Y˜ W#0 H5 interval 00 lockedúlse

image x=0 y=0 path="image/back.png"

defaultfont font="Arial" fontsize color=0,0,0 align="right"

<GROUP> x y$

# CPU

# "type" depends on your mainboard. Run 'sensors' to show all possible values (Must be installed, of course ...)

# range is up to 70 degrees celsius. change 'max' value if needed.

image x=0 y=0 path="image/tile.png"

image x=7 y path="image/cpu.png"

image x` y path="image/fan_s.png"

image x7 y=9 path="image/thermometer_k.png"

text x0 y sensor=sensor type="CPU Fan" format="%v" align="right" color=0,0,0 fontsize font="Arial"

text x8 y sensor=sensor type="CPU Temp (Intel)" format="%v C" align="right" color=0,0,0 fontsize font="Arial"

</GROUP>

# Chassis

<GROUP> x yi

image x=0 y=0 path="image/tile.png"

image x=7 y=7 path="image/computer.png"

#image x` y path="image/fan_s.png"

image x7 y=9 path="image/thermometer_k.png"

text x8 y sensor=sensor type="M/B Temp" format="%v C" color=0,0,0 align="right" fontsize font="Arial"

#text x0 y sensor=sensor type="fan1" format="%v" align="right" color=0,0,0 fontsize font="Arial"

</GROUP>

# Voltages

<GROUP> x y4

image x=0 y=0 path="image/tile.png"

image x y=7 path="image/power.png"

text x0 y=8 sensor=sensor type="+12V" format="+%v V" color=0,0,0 align="right" fontsize font="Arial"

text x0 y sensor=sensor type="VCore 1" format="+%v V" color=0,0,0 align="right" fontsize font="Arial"

text x� y=8 sensor=sensor type="+3.3V" format="+%v V" align="right" color=0,0,0 fontsize font="Arial"

text x� y sensor=sensor type="+5V" format="+%v V" align="right" color=0,0,0 fontsize font="Arial"

</GROUP>

I have tried a lot of possibilities to define CPU Temp (Intel)

Before I'd two CPU temp sensors : Intel and AMD.

I've modified my /etc/sensors.conf

( part asb100 ) to ignore uninstalled fans and sensors, especially CPU Temp (AMD).

Well done in the new sensor output.

#

# This example was tested vs. Asus P4S333

#

chip "asb100-*"

set vrm 9.0

label in0 "VCore 1"

set in0_min vid * 0.95

set in0_max vid * 1.05

label in1 "VCore 2"

ignore in1

set in1_min vid * 0.95

set in1_max vid * 1.05

label in2 "+3.3V"

set in2_min 3.3 * 0.95

set in2_max 3.3 * 1.05

label in3 "+5V"

compute in3 1.68 * @ , @ / 1.68

set in3_min 5.0 * 0.95

set in3_max 5.0 * 1.05

label in4 "+12V"

compute in4 3.8 * @ , @ / 3.8

set in4_min 12 * 0.90

set in4_max 12 * 1.10

label in5 "-12V (reserved)"

#ignore in5

compute in5 -@ * 3.97 , -@ / 3.97

set in5_max -12 * 0.90

set in5_min -12 * 1.10

label in6 "-5V (reserved)"

#ignore in6

compute in6 -@ * 1.666 , -@ / 1.666

set in6_max -5 * 0.95

set in6_min -5 * 1.05

label temp1 "M/B Temp"

set temp1_over 45

set temp1_hyst 40

label temp2 "CPU Temp (Intel)"

#ignore temp2

set temp2_over 60

set temp2_hyst 50

# PWRTMP connector on P4S333, for external sensor

label temp3 "Power Temp"

ignore temp3

set temp3_over 45

set temp3_hyst 40

# Used for Athlon diode, ignore for P4S333

label temp4 "CPU Temp (AMD)"

ignore temp4

set temp4_over 60

set temp4_hyst 50

label fan1 "CPU Fan"

set fan1_div 4

set fan1_min 2000

label fan2 "Chassis Fan"

set fan2_div 2

set fan2_min 4000

ignore fan2

label fan3 "Power Fan"

set fan3_div 2

set fan3_min 4000

ignore fan3

Here is my.../etc/sysconfig/lm_sensors

# /etc/sysconfig/sensors - Defines modules loaded by 
/etc/rc.d/init.d/lm_sensors

# Copyright (c) 1998 - 2001 Frodo Looijaard <[email protected]>

#

.

# See also the lm_sensors homepage at:

# http://www2.lm-sensors.nu/~lm78/index.html

#

# This file is used by /etc/rc.d/init.d/lm_sensors and defines the modules to

# be loaded/unloaded. This file is sourced into /etc/rc.d/init.d/lm_sensors.

#

# The format of this file is a shell script that simply defines the modules

# in order as normal variables with the special names:

# MODULE_0, MODULE_1, MODULE_2, etc.

#

# List the modules that are to be loaded for your system

#

# Generated by sensors-detect on Sun Feb 13 15:14:37 2005

MODULE_0=i2c-i801

MODULE_1=asb100

MODULE_2îprom

I've an ASUS P4PE-X, with Intel Celeron.

What i did with sensors-detect.

I tried various options, before, but i dont 'understand what this file is doing.

ip-10:/home/jackie # sensors-detect

This program will help you determine which I2C/SMBus modules you need to

load to use lm_sensors most effectively. You need to have i2c and

lm_sensors installed before running this program.

Also, you need to be `root', or at least have access to the /dev/i2c-*

files, for most things.

If you have patched your kernel and have some drivers built in, you can

safely answer NO if asked to load some modules. In t

his case, things may seem a bit confusing, but they will still work.

It is generally safe and recommended to accept the default answers to all

questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters.

You do not need any special privileges for this.

Do you want to probe now? (YES/no): YES

Probing for PCI bus adapters...

Use driver `i2c-i801' for device 00:1f.3: Intel 8280

1DB ICH4

Probe succesfully concluded.

We will now try to load each adapter module in turn.

Module `i2c-i801' already loaded.

If you have undetectable or unsupported adapters, you can have them

scanned by manually loading the modules before runni

ng this script.

To continue, we need module `i2c-dev' to be loaded.

If it is built-in into your kernel, you can safely skip this.

i2c-dev is not loaded. Do you want to load it now? (YES/no): YES

Module loaded succesfully.

We are now going to do the adapter probings. Some adapters may hang halfway

through; we can't really help that. Also, some chips will be double detected;

we choose the one with the highest confidence value in that case.

If you found that the adapter hung after probing a certain address, you can

specify that address to remain unprobed. That often

includes address 0x69 (clock chip).

Next adapter: SMBus I801 adapter at e800 (Algorithm unavailable)

Do you want to scan it? (YES/no/selectively): YES

Client found at address 0x08

Client at address 0x2d can not be probed - unload all client drivers first!

Client found at address 0x44

Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed!

Client at address 0x48 can not be probed - unload all client drivers first!

Client at address 0x49 can not be probed - unload all client drivers first!

Client at address 0x51 can not be probed - unload all client drivers first!

Some chips are also accessible through the ISA bus.

ISA probes are typically a bit more dangerous, as we have to write

to I/O ports to do this. This is usually safe though.

Do you want to scan the ISA bus? (YES/no): no

Some Super I/O chips may also contain sensors. Super I/O probes are

typically a bit more dangerous, as we have to write to I/O ports to do

this. This is usually safe though.

Do you want to scan for Super I/O sensors? (YES/no): YES

Probing for `ITE 8702F Super IO Sensors' Failed! (0x8708)

Probing for `ITE 8705F Super IO Sensors' Failed! (0x8708)

Probing for `ITE 8712F Super IO Sensors' Failed! (0x8708)

Probing for `Nat. Semi. PC87351 Super IO Fan Sensors

'Failed! (skipping family)

Probing for `SMSC 47B27x Super IO Fan Sensors' Failed! (skipping family)

Probing for `VT1211 Super IO Sensors' Failed! (0x87)

Probing for `Winbond W83627HF Super IO Sensors' Failed! (0x87)

Probing for `Winbond W83627THF Super IO Sensors' Failed! (0x87)

Probing for `Winbond W83637HF Super IO Sensors' Failed! (0x87)

Probing for `Winbond W83697HF Super IO Sensors' Failed! (0x87)

Probing for `Winbond W83697SF/UF Super IO PWM' Failed! (0x87)

Probing for `Winbond W83L517D Super IO' Failed! (0x87)

Do you want to scan for secondary Super I/O sensors? (YES/no): YES

Probing for `ITE 8702F Super IO Sensors' Failed! (skipping family)

Probing for `Nat. Semi. PC87351 Super IO Fan Sensors' Failed! (skipping family)

Probing for `SMSC 47B27x Super IO Fan Sensors' Failed! (skipping family)

Probing for `VT1211 Super IO Sensors' Failed! (skipping family)

Sorry, no chips were detected.

Either your sensors are not supported, or they are connected to an I2C bus adapter that we do not support.

See doc/FAQ, doc/lm_sensors-FAQ.html, or

http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc

/lm_sensors-FAQ.html (FAQ #4.24.3) for further information.

If you find out what chips are on your board, see

http://secure.netroedge.com/~lm78/newdrivers.html for driver status.

I'm going to read these informations...

I dont undersatand why superkaramba don't display only CPU temp, althought i have it with sensors. ( only six months with Linux )

A little help please ! Ayuda por favor !

Jacqueline