You are not logged in.

#1 2008-11-23 02:47:23

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Enabling Thermal Sensors on Conky

Hi everyone, Im having a hard time enabling the thermal sensors for my conky.  I get only a cpu sensor which uses this script.

${color #888888}CPUTEMP:${color #CCCCCC} ${acpitemp}C

I've already installed lm-sensors and hddtemp.

What's the command for enabling them?

And by the way, the script above doesn't even move or rises...It stucks on 4O C...And I assume that this is a System Temp not the cpu temp..Correct me if I'm wrong.;)

All help would be appreciated... Thanks...all

Last edited by kaola_linux (2008-11-23 03:16:07)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#2 2008-11-23 12:09:01

cerbie
Member
Registered: 2008-03-16
Posts: 124

Re: Enabling Thermal Sensors on Conky

Dunno about that specific one (acpitemp gives me nothing), but do you have anything in /sys/bus/platform/devices? Like:

coretemp.0  coretemp.1  i8042  iTCO_wdt  it87.656  pcspkr  serial8250  vesafb.0

it87.656 has:

alarms      fan4_input    in2_min    in6_input    pwm2         temp2_max
bus         fan4_min      in3_alarm  in6_max      pwm2_enable  temp2_min
cpu0_vid    hwmon:hwmon0  in3_input  in6_min      pwm2_freq    temp2_type
driver      in0_alarm     in3_max    in7_alarm    pwm3         temp3_alarm
fan1_alarm  in0_input     in3_min    in7_input    pwm3_enable  temp3_input
fan1_input  in0_max       in4_alarm  in7_max      pwm3_freq    temp3_max
fan1_min    in0_min       in4_input  in7_min      subsystem    temp3_min
fan2_alarm  in1_alarm     in4_max    in8_input    temp1_alarm  temp3_type
fan2_input  in1_input     in4_min    modalias     temp1_input  uevent
fan2_min    in1_max       in5_alarm  name         temp1_max    vrm
fan3_alarm  in1_min       in5_input  power        temp1_min
fan3_input  in2_alarm     in5_max    pwm1         temp1_type
fan3_min    in2_input     in5_min    pwm1_enable  temp2_alarm
fan4_alarm  in2_max       in6_alarm  pwm1_freq    temp2_input

My ambient temp reading, and root HDD are gotten with:

${platform it87.656 temp 2}, ${hddtemp sda}

The exact names may vary.

DE panel plugins may be helpful in figuring out which exactly is which. FI, I got a bunch of temps showing w/ XFCE's sensors plugin, then loaded my PC for awhile, to get what was what (except CPU and HDD). Quicker and easier than using conky or sensors for figuring them out.

Last edited by cerbie (2008-11-23 12:09:52)


"If the data structure can't be explained on a beer coaster, it's too complex." - Felix von Leitner

Offline

#3 2008-11-24 03:16:34

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Enabling Thermal Sensors on Conky

I've finally configured my lm-sensor, here is my output:


[kaola@localhost ~]$ sudo hddtemp /dev/sda
/dev/sda: MAXTOR STM3160215AS: 43°C
[kaola@localhost ~]$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:       +40.0°C  (crit = +75.0°C)

it8712-isa-0290
Adapter: ISA adapter
VCore 1:     +1.30 V  (min =  +0.00 V, max =  +4.08 V)
VCore 2:     +3.18 V  (min =  +0.00 V, max =  +4.08 V)
+3.3V:       +0.00 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
+5V:         +4.97 V  (min =  +0.00 V, max =  +6.85 V)
+12V:       +12.16 V  (min =  +0.00 V, max = +16.32 V)
-12V:       -27.36 V  (min = -27.36 V, max =  +3.93 V)   ALARM
-5V:        -13.64 V  (min = -13.64 V, max =  +4.03 V)   ALARM
Stdby:       +5.16 V  (min =  +0.00 V, max =  +6.85 V)
VBat:        +3.01 V
fan1:       2766 RPM  (min =    0 RPM, div = 8)
fan2:          0 RPM  (min =    0 RPM, div = 8)
fan3:          0 RPM  (min =    0 RPM, div = 8)
M/B Temp:    +45.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = thermal diode
CPU Temp:    +43.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = transistor
Temp3:       +76.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = transistor
cpu0_vid:   +1.388 V

I'm currently using KSensors to show me the CPU and M/B temps...
Now all I need to do is to put these things on my conkyrc...
Please tell me how to do so...:)
Thanks in advance...

Last edited by kaola_linux (2008-11-24 03:41:45)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#4 2008-11-24 05:15:27

cerbie
Member
Registered: 2008-03-16
Posts: 124

Re: Enabling Thermal Sensors on Conky

The HDD temp aught to work with just what I posted in my first reply.

For the others...do you see that it87 device (it8712-isa-290) listed in /sys/bus/platform/devices? If so, you'll want to use its name. Mine is it87.656. That didn't match up with the config I started from for my conky--the digits after it87 were different. Your temperatures reported are all different enough, just try getting that name, and enumerating them until you have them, until you see them all (being wary of 'stuck' dummy sensors that aren't shown by the sensors command).

1: ${platform it87.656 temp 1}
2: ${platform it87.656 temp 2}
3: ${platform it87.656 temp 3}
etc.

But, yours may be it87.734, or something else like that.


"If the data structure can't be explained on a beer coaster, it's too complex." - Felix von Leitner

Offline

Board footer

Powered by FluxBB