You are not logged in.

#1 2011-03-19 20:57:22

darenw
Member
From: Trego Montana
Registered: 2008-07-04
Posts: 106
Website

temperatures = zero?

I tried conky and wmc2d.   They both report CPU temperatures of zero degrees (whatever units).   Last week, when I was running Ubuntu, I found some CPU monitor (already forgot what it was called) that showed realistic temperatures e.g 67deg.  So I know the hardware is there.   What am I missing on Arch that prevents the only temperature monitoring apps I can find from getting the right values?


Artist/Physicist, Herder of Pixels, Photons and Electrons

Offline

#2 2011-03-19 21:01:17

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: temperatures = zero?

Did you get any output when you run acpi -V?


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2011-03-19 21:02:42

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: temperatures = zero?

So... if you install lm_sensors, run sensors-detect and then /etc/rc.d/sensors start, the command "sensors" doesn't show any temperature?


.::. TigTex @ Portugal .::.

Offline

#4 2011-03-19 21:03:08

darenw
Member
From: Trego Montana
Registered: 2008-07-04
Posts: 106
Website

Re: temperatures = zero?

Yep, looks fine (to my un-educated-in-acpi eyes)


Battery 0: Full, 100%
Battery 0: design capacity 7800 mAh, last full capacity 6169 mAh = 79%
Adapter 0: on-line
Thermal 0: ok, 64.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 110.0 degrees C
Thermal 1: ok, 60.0 degrees C
...etc...


Artist/Physicist, Herder of Pixels, Photons and Electrons

Offline

#5 2011-03-19 21:12:59

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: temperatures = zero?

Thanks. Do you use ${acpitemp} in your conky? This should actually 'reprint' the values you get with acpi command (as far as I know...).


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#6 2011-03-19 21:15:24

darenw
Member
From: Trego Montana
Registered: 2008-07-04
Posts: 106
Website

Re: temperatures = zero?

Yup.   Here's the whole conky.conf:


own_window yes
own_window_class Conky
own_window_type desktop

alignment top_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders yes
draw_graph_borders no
draw_outline no
draw_shades no
xftfont DejaVu Serif:size=16
gap_x 0
gap_y 48

TEXT
${color grey}Uptime:$color $uptime
${color0}CPU Temp: ${color #FFC080}${acpitemp} ${color0}Celsius


Artist/Physicist, Herder of Pixels, Photons and Electrons

Offline

#7 2011-03-19 21:24:32

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: temperatures = zero?

OK. If you have lm_sensors installed and configured, the 'sensors' command should output the values you got with acpi one. If so, try swapping acpitemp in conky for hdwmon, adjusting the parameters properly as mentioned here: http://conky.sourceforge.net/variables.html , so it looks like e.g. ${hwmon tempf 1}. (I'm searching my old conky configs for hints which once worked for me...)

Last edited by bohoomil (2011-03-19 21:26:04)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#8 2011-03-19 21:54:16

darenw
Member
From: Trego Montana
Registered: 2008-07-04
Posts: 106
Website

Re: temperatures = zero?

Ok.   In the meantime, I got wmc2d to work. Thanks to having the source, I saw that it was looking for the temps in
  /sys/devices/platform/coretemp.0/temp1_input
but a brief session with find and cat soon showed the temps were in places like
  /sys/devices/virtual/hwmon/hwmon0/temp1_input

Perhaps this finding will help enlighten the fix for conky (since conky is far more versatile)?


Artist/Physicist, Herder of Pixels, Photons and Electrons

Offline

#9 2011-03-19 22:07:35

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: temperatures = zero?

I guess it should; hwmon should work fine with the options you have.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#10 2011-03-19 22:50:26

darenw
Member
From: Trego Montana
Registered: 2008-07-04
Posts: 106
Website

Re: temperatures = zero?

Got it working!  The syntax for conky.conf just isn't well documented, at least not for lowbrow knuckledraggers like me.  Found clues scattered over the web and came up with this:

${hwmon 0 temp 1} ${hwmon 0 temp 2} 

The hwmon variable as described at the conky site just doesn't make sense, as written.


Artist/Physicist, Herder of Pixels, Photons and Electrons

Offline

#11 2011-03-19 23:00:58

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: temperatures = zero?

Hurray. Glad to hear that. wink


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

Board footer

Powered by FluxBB