question about temperature monitor

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
pelelademadera
Posts: 4
Joined: Sat Dec 05, 2009 5:59 pm

question about temperature monitor

Post by pelelademadera »

well hello everybody, thats my firs post, I speak spanish, so sorry for my poor english

my question is how to configure temperature monitor, it reports NA, and I dont know what to put into sensor, in settings.

I used gentoo, over an asrock p4i65g and celeronD 340. the sensor is an w83627-hf. temp2 is cpu temp, wich I want to monitor. (preshot are very warmer).

great work lxde.... ony 35mb of ram at boot time. thats a ligth desktop
cwickert
Posts: 47
Joined: Tue Dec 09, 2008 7:36 pm
Contact:

Re: question about temperature monitor

Post by cwickert »

The temperature monitor uses lm_sensors, so you need to run "sensors-detect" once and make sure the lm_sensors service is started on boot.

Regards,
Christoph

P.S.: Sorry you had to wait so long...
Image
pelelademadera
Posts: 4
Joined: Sat Dec 05, 2009 5:59 pm

Re: question about temperature monitor

Post by pelelademadera »

sensors reports the temperature, lm_sensors were loaded on boot procces, but the monitor only reports NA
aus9
Posts: 35
Joined: Tue Jun 02, 2009 8:42 am
Location: Australia

Re: question about temperature monitor

Post by aus9 »

hi

firstly check your /boot/config(k version) for modules that look like

CONFIG_SENSORS_W83627HF=m
CONFIG_SENSORS_W83627EHF=m

2) Using root powers....as I do not have your chip...not sure which is needed...or both.......

Code: Select all

su
modpobe W83627HF
modprobe W83627EHF
 
then run sensors-detect.

3) A google suggests that newer kernels are more restrictive so you may like to add this line to your grub/grub2 line

acpi_enforce_resources=lax

4) if manually loading modules etc....works....add the relevant modules to your /etc/modprobe......(some preload file) Sorry not sure if you have such a file with your distro
if you can not find a file to add as a preload.....add the lines to /etc/rc.local

/sbin/modprobe modulename

good luck
pelelademadera
Posts: 4
Joined: Sat Dec 05, 2009 5:59 pm

Re: question about temperature monitor

Post by pelelademadera »

well, I'd changed the pc. now I've an celeron E1600 and gigabyte ga-g41m-es2l. the problems continues.
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +51.0°C (high = +86.0°C, crit = +100.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1: +49.0°C (high = +86.0°C, crit = +100.0°C)

it8718-isa-0290
Adapter: ISA adapter
Vcore: +1.15 V (min = +0.00 V, max = +4.08 V)
Vram: +1.82 V (min = +1.71 V, max = +1.89 V)
+3.3V: +3.38 V (min = +3.14 V, max = +3.47 V)
+5V: +5.08 V (min = +4.76 V, max = +5.24 V)
+12V: +12.16 V (min = +11.39 V, max = +12.61 V)
Vbat: +3.09 V
CPU Fan: 1032 RPM (min = 1000 RPM)
Case Fan: 0 RPM (min = 3994 RPM) ALARM
NBr Temp: -55.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
CPU Temp: -2.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
temp3: +29.0°C (low = +127.0°C, high = +127.0°C) sensor = thermal diode
cpu0_vid: +1.350 V
but sensor reports NA in the panel.

where the temperature applet look for the info?.
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: question about temperature monitor

Post by Marty Jack »

At the moment there's no code to sample the temp sensor on the Core 2. That driver (coretemp) was written outside the development mainstream, reverse engineered the temp sensor on the Core 2 because Intel wouldn't release documents on it, and it happens to put the temp data in a nonstandard place. It's on my list to look at. I have a Core 2 and I get NA also, which I better do while I still have this motherboard.
pelelademadera
Posts: 4
Joined: Sat Dec 05, 2009 5:59 pm

Re: question about temperature monitor

Post by pelelademadera »

well. no solution at the moment....
and what about reporting that sensor
CPU Temp: -2.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor

I know that is reporting bad, but can I do that?
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: question about temperature monitor

Post by Marty Jack »

This looks like output from the "sensors" program, and if it is, you should discuss this with the lm_sensors people.

Also, I don't think the claim that the Thermal plugin uses lm_sensors is correct. It reads a file in /proc/acpi/thermal_zone directly. The coretemp driver access is in /sys/devices/platform/coretemp.0/ and .1.

Here http://ubuntuforums.org/showthread.php?t=767446 is someone reporting the same type of bad data.
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: question about temperature monitor

Post by Marty Jack »

Further research indicates that /sys/devices/platform/*/temp1_* where coretemp puts its value is in fact the "new standard" place to look and that /proc/acpi/thermal_zone is deprecated.
I have coretemp sensing running, but I want to spend some more time understanding the proper thing to do in this area before I release anything.
graysky
Posts: 6
Joined: Thu Jun 03, 2010 6:29 am

Re: question about temperature monitor

Post by graysky »

Can someone let me know where we're at with this issue? I too have a system that only has coretemps and would like to use the task bar temp monitor but all I get is "NA" with no setting/config option.

Code: Select all

$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +22.0°C  (crit = +90.0°C)                  

coretemp-isa-0001
Adapter: ISA adapter
Core 1:      +20.0°C  (crit = +90.0°C)                  

coretemp-isa-0002
Adapter: ISA adapter
Core 2:      +22.0°C  (crit = +90.0°C)                  

coretemp-isa-0003
Adapter: ISA adapter
Core 3:      +20.0°C  (crit = +90.0°C)
Is there a way to point the plugin to /sys/devices/platform/coretemp.[0,1,2,3]/temp1_input to display all four temps?

Code: Select all

cat /sys/devices/platform/coretemp.[0,1,2,3]/temp1_input 
22000
20000
22000
20000
Also, looks like those numbers need to be divided by 1000 for some reason!
Locked