Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ls_sensors: need to get Motherboard temp variable for conky
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Mar 17, 2008 1:21 am    Post subject: ls_sensors: need to get Motherboard temp variable for conky Reply with quote

I am using lm_sensors and I am trying to get the motherboard temp to show in conky. The CPU temps.(dual core) are assigned to temp 1 and temp 3. but i need to figure out a way to assign the motherboard temp to temp 2 so i can get it to show in conky with the code ${hwmon temp 2}. I've read the etc/sensors.conf file a thousand times trying to find where I can do this but no luck. Can anyone help?

Here's my Sensor list:

localhost / # sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:
+40 C
Core1 Temp:
+40 C

it8712-isa-0290
Adapter: ISA adapter
VCore 1: +1.36 V (min = +0.00 V, max = +4.08 V)
VCore 2: +0.00 V (min = +0.00 V, max = +4.08 V) ALARM
+3.3V: +3.33 V (min = +0.00 V, max = +4.08 V)
+5V: +5.00 V (min = +0.00 V, max = +6.85 V)
+12V: +11.90 V (min = +0.00 V, max = +16.32 V)
-12V: -4.17 V (min = -27.36 V, max = +3.93 V)
-5V: -13.64 V (min = -13.64 V, max = +4.03 V) ALARM
Stdby: +4.81 V (min = +0.00 V, max = +6.85 V)
VBat: +3.07 V
fan1: 3068 RPM (min = 0 RPM, div = 8)
fan2: 2057 RPM (min = 0 RPM, div = 8)
fan3: 0 RPM (min = 0 RPM, div = 8)
CPU Temp: +41 C (low = +15 C, high = +60 C) sensor = thermistor
C/S Temp: +41 C (low = +15 C, high = +60 C) sensor = thermistor
M/B Temp: +28 C (low = +15 C, high = +50 C) sensor = thermistor
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Mar 17, 2008 2:40 am    Post subject: Reply with quote

I don't use lm_sensors but I need my kernel enabled with:
CONFIG_HWMON=y
CONFIG_SENSORS_XXXXXX=m

I use this command in the TEXT part of .conkyrc
Code:
${color1}SYS${color0} ${exec cat /sys/class/hwmon/hwmon0/device/temp2_input | sed "s/\(..\)\(.\)../\1\.\2/"} C
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Mar 17, 2008 10:52 pm    Post subject: Reply with quote

I got this answer for anyone else who may have this problem:

Conky is looking for hwmon0 only. The motherboard temps are in hwmon1 so Conky needs to look there.


No one else knew the answer? or no one wanted to help?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum