You are not logged in.

#1 2013-03-29 08:57:36

renegat
Member
From: Europe
Registered: 2012-12-28
Posts: 88

LXPanel temperature monitor not working

I'am using LXDE and I'am trying to use the temperature monitor applet in LXPanel.
Still hoping glacial period will end here (still about 0°C, snow outside) running a passivly cooled system temperatur monitoring will become elementary.

Searched the hole web but couldn't find a solution, documentation or a helping hint.

lm_sensors is installed + reinstalled and the service is enabled.

# systemctl | grep sensors

lm_sensors.service          loaded active exited    Initialize hardware monitoring sensors

#sensors

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +28.0°C  (crit = +100.0°C)
Core 1:       +22.0°C  (crit = +100.0°C)

w83627thf-isa-0290
Adapter: ISA adapter
in0:          +1.15 V  (min =  +0.00 V, max =  +3.84 V)
in1:          +1.01 V  (min =  +0.50 V, max =  +0.90 V)  ALARM
in2:          +1.86 V  (min =  +0.02 V, max =  +1.89 V)
+5V:          +4.91 V  (min =  +4.51 V, max =  +5.49 V)
in4:          +3.28 V  (min =  +1.39 V, max =  +1.07 V)  ALARM
5VSB:         +4.99 V  (min =  +4.51 V, max =  +5.49 V)
Vbat:         +3.30 V  (min =  +0.83 V, max =  +3.63 V)
fan1:           0 RPM  (min =  301 RPM, div = 32)  ALARM
fan2:           0 RPM  (min = 6026 RPM, div = 32)  ALARM
fan3:           0 RPM  (min = 7584 RPM, div = 2)  ALARM
temp1:        +51.0°C  (high = +98.0°C, hyst = -128.0°C)  sensor = thermistor
temp2:        +33.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = CPU diode
temp3:        +33.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = CPU diode

But the temperatur monitor applet in LXPanel just says '-273' or 'NA'

Here is what I've tried:

Reinstalled lm-sensors and did sensors detect...

In the temperature monitor settings dialog I unchecked automatic selection and put in
Input            ->    Output in LXPanel temperature monitor
automatic selection    ->    -273
w83627thf-isa-0290     ->    NA
w83627thf-isa-0290/temp1    ->      NA
/sys/devices/platform/coretemp.0/temp2_input -> NA

coretemp does not work with temperatur monitor either.

I've read that this applet is looking for temperatures in a file at depricated /proc/acpi/thermal_zone.
So I've tried to:

ln -s /sys/devices/platform/coretemp.0/temp2_input /proc/acpi/thermal_zone

but all I get is: 'No such file or directory' *confused*
/proc/acpi exists - but it is not possible to link or create anything in this directory (or in /proc)- even as root and/or chmod 777!

Any idea how to get this applet working or is it just dead freight?

Offline

#2 2013-04-01 06:58:51

t1nk3r3r
Member
From: The Pacific Northwest
Registered: 2011-03-22
Posts: 79

Re: LXPanel temperature monitor not working

I wouldn't blame the applet just yet... what are your cpu/drivers/modules?  It's very possible that there is some errata with your sensors.
"hyst = -128.0°C" doesn't look valid to me. But then again, I don't know much about thermistors.

I've read that this applet is looking for temperatures in a file at depricated /proc/acpi/thermal_zone.

Even if it does, it's not the only place.  That location doesn't exist for me, and the applet is fine on my system.
Linking anything in /proc or /sys isn't something for the user to do, even as root.

I can get the proper variable from: /sys/class/hwmon/hwmon0/temp1_input.
For me, the applet finds it in: /sys/class/thermal/thermal_zone0/temp (hovering mouse over applet).
The raw value is 55000 for 55C.

lm_sensors doesn't run the show, it just tends to query the right places.  Usually somewhere in sysfs.
That should've been apparent with 'sensors-detect'


--------------------------The only wasted day is one in which you learn nothing.--------------------------

Offline

Board footer

Powered by FluxBB