Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lm_sensors and conky help
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
swooshOnLn
l33t
l33t


Joined: 28 Feb 2006
Posts: 741
Location: Charlotte, North Carolina

PostPosted: Sat Apr 15, 2006 4:33 pm    Post subject: lm_sensors and conky help Reply with quote

I finally set up lm_sensors correctally and got it to plug into my conky quite well. However, I am having trouble getting the value of "+3.3V, +5V, +12V, -12V, -5V" . If I run sensors, I get the following output:

Code:

swooshonln@tux ~ $ sensors
w83627hf-isa-0290
Adapter: ISA adapter
VCore 1:   +1.86 V  (min =  +1.76 V, max =  +1.94 V)
VCore 2:   +1.58 V  (min =  +1.76 V, max =  +1.94 V)       ALARM
+3.3V:     +3.09 V  (min =  +3.14 V, max =  +3.47 V)       ALARM
+5V:       +4.87 V  (min =  +4.76 V, max =  +5.24 V)
+12V:     +11.67 V  (min = +10.82 V, max = +13.19 V)
-12V:     -12.03 V  (min = -13.18 V, max = -10.80 V)
-5V:       +1.48 V  (min =  -5.25 V, max =  -4.75 V)       ALARM
V5SB:      +5.32 V  (min =  +4.76 V, max =  +5.24 V)       ALARM
VBat:      +3.15 V  (min =  +2.40 V, max =  +3.60 V)
fan1:     4272 RPM  (min = 84375 RPM, div = 4)              ALARM
fan2:     2836 RPM  (min = 2556 RPM, div = 4)
fan3:        0 RPM  (min = 168750 RPM, div = 4)              ALARM
temp1:       +36 C  (high =    +0 C, hyst =    +1 C)   sensor = diode   ALARM
temp2:     +47.5 C  (high =  +120 C, hyst =  +115 C)   sensor = diode
temp3:    +127.5 C  (high =  +120 C, hyst =  +115 C)   sensor = diode   ALARM
vid:      +1.850 V  (VRM Version 9.0)
alarms:
beep_enable:
          Sound alarm enabled

swooshonln@tux ~ $


However, I cannot seem to find how to call the voltage reading in conky. In /etc/sensors.conf it says that they are "ln2-ln8". So In conky I do:
+3.3 Voltage: ${i2c 9191-0290 in 2} V
+5 Voltage: ${i2c 9191-0290 in 3} V
etc...

however, they do not return the same reading that "sensors" returns. So... how can I get the correct reading from sensors in conky, or how do I find out how to get the values of those voltage reading?
_________________
"WARNING: you may LOL"

This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Mon Apr 17, 2006 7:02 pm    Post subject: Reply with quote

what values is it returning for you?
Back to top
View user's profile Send private message
swooshOnLn
l33t
l33t


Joined: 28 Feb 2006
Posts: 741
Location: Charlotte, North Carolina

PostPosted: Mon Apr 17, 2006 7:18 pm    Post subject: Reply with quote

the 3.3 volt seems on.. but all the others are around 2 or so... which I know is incorrect.
_________________
"WARNING: you may LOL"

This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Mon Apr 17, 2006 7:48 pm    Post subject: Reply with quote

can you paste the output of:
Code:
ls /sys/bus/i2c/devices/
Back to top
View user's profile Send private message
swooshOnLn
l33t
l33t


Joined: 28 Feb 2006
Posts: 741
Location: Charlotte, North Carolina

PostPosted: Mon Apr 17, 2006 8:04 pm    Post subject: Reply with quote

ill go ahead and go a step further:

Code:

tux swooshonln # ls /sys/bus/i2c/devices/9191-0290/
alarms          in0_input       in5_max         temp1_max
beep_enable     in0_max         in5_min         temp1_max_hyst
beep_mask       in0_min         in6_input       temp1_type
bus/            in1_input       in6_max         temp2_input
cpu0_vid        in1_max         in6_min         temp2_max
driver/         in1_min         in7_input       temp2_max_hyst
fan1_div        in2_input       in7_max         temp2_type
fan1_input      in2_max         in7_min         temp3_input
fan1_min        in2_min         in8_input       temp3_max
fan2_div        in3_input       in8_max         temp3_max_hyst
fan2_input      in3_max         in8_min         temp3_type
fan2_min        in3_min         name            uevent
fan3_div        in4_input       power/          vrm
fan3_input      in4_max         pwm1
fan3_min        in4_min         pwm2
hwmon:hwmon0/   in5_input       temp1_input

in2-8 are the voltage sensors (for +3.3, +5, +12, -12, and -5) I think. However, they dont return anything that enables me to tell what voltage reading they are (they are all low)
_________________
"WARNING: you may LOL"

This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Mon Apr 17, 2006 8:35 pm    Post subject: Reply with quote

okay, after i bit of messing around i think i've discovered the issue. sensors doesn't seem to output the info in the some order as in how things are numbered within /sys/bus/i2c/devices/*/*. My recommendation would be to cat your way through they inN_input files and see what corresponds to what (divide the value by 1000.0 of course). Hope that helps.
Back to top
View user's profile Send private message
swooshOnLn
l33t
l33t


Joined: 28 Feb 2006
Posts: 741
Location: Charlotte, North Carolina

PostPosted: Mon Apr 17, 2006 8:46 pm    Post subject: Reply with quote

ok, after cating through all the inputs, here are the results:

Code:

tux 9191-0290 # cat in2_input
3088
tux 9191-0290 # cat in3_input
2896
tux 9191-0290 # cat in4_input
3056
tux 9191-0290 # cat in5_input
560
tux 9191-0290 # cat in6_input
2912
tux 9191-0290 # cat in7_input
3168
tux 9191-0290 # cat in8_input
3120


As you can see, they all are around 3 V, except in5, which is at about .5 volts?

[offtopic]how do you view the screenshots on your site? They are so small, you cant make anything out, and I dont see a way to enlarge them, or see a larger version[/offtopic]
_________________
"WARNING: you may LOL"

This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
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