SliTaz SliTaz Forum

You are not logged in.

#1 2012-05-26 00:45:50

christophe
Member
Registered: 2011-04-17
Posts: 432

temperature / acpi

has anyone got that to work with 3.0 ? or is it broken ?

the temp monitor in lxde and/or conky does not update...

Tx

Offline

#2 2012-05-27 18:07:20

domcox
Administrator
Registered: 2011-03-29
Posts: 104

Re: temperature / acpi

I eventually got temp monitoring with this code:

[c]${color grey}Temperature:$color ${texeci 28 awk '{temp=$0/1000}END{printf "%0.1f°C", temp}' /sys/class/thermal/thermal_zone0/temp} \[/c]
Temp value (°C x 1000) is stored in /sys/class/thermal/thermal_zone0/temp.

texeci let conky run an external cmd.

I use awk to do the math.

Offline

#3 2012-05-27 23:04:24

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: temperature / acpi

not sure what to think

this gives me 27.8°, while the conky variable says 28°

I would be happy with that if, it would vary with time, and if, it would be true: if i would reboot and check the bios the temp is rather 30 and some for the motherboard and 45° for the cpu

But really i am confused that this temp looks constant here.... is it the same for you ?

tx

Offline

#4 2012-05-28 19:08:42

domcox
Administrator
Registered: 2011-03-29
Posts: 104

Re: temperature / acpi

On my old notebook (thinkpad 240) with only one sensor, the temperature varies between 30° and 60° depending of the load.

Offline

#5 2012-05-29 07:25:10

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: temperature / acpi

To get the temperature http://tank.slitaz.org/graphs.php?stats=cpu#cpu ,

we are looking for /temp._input* files in /sys http://hg.slitaz.org/slitaz-forge/file/4b8f5923e787/tank/web/lib/makegraphs#l30

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]