Post a new topicPost a reply Page 1 of 1   [ 3 posts ]
Author Message
 Post subject: Temperature sensors on Meshlium
PostPosted: Thu Oct 01, 2009 8:07 pm 

Joined: Wed Sep 30, 2009 8:48 pm
Posts: 13
Hi

Is possible to control Meshlium's temperature sensors? If it is possible, How can i configure Meshlium to do so?

Thanks.


Top
 Profile  
 
 Post subject: Re: Temperature sensors on Meshlium
PostPosted: Fri Oct 02, 2009 9:16 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 12263
Yes it is possible and quite easy.

First you should check if your meshlium has allready temperature sensors activated. To do so just execute as root this command on meshlium
Code:
sensors


If command return an error you have to install a package and just edit a file to enable it. Execute as root those commands:
Code:
aptitude update && aptitude install lm-sensors && remove.docs


This will install lm-sensors on your meshlium, once installed is needed to load the sensors modules in order to check sensors.
Code:
Meshlium-AX:~# modprobe lm90
Meshlium-AX:~# modprobe scx200_acb
Meshlium-AX:~# sensors
lm86-i2c-0-4c
Adapter: CS5536 ACB0
temp1:       +37.0°C  (low  =  +0.0°C, high = +70.0°C)
                      (crit = +85.0°C, hyst = +75.0°C)
temp2:       +43.1°C  (low  =  +0.0°C, high = +70.0°C)
                      (crit = +85.0°C, hyst = +75.0°C)

Meshlium-AX:~#

First value is Motherborad temperature, second value is CPU temperature.
To change temp1 and temp2 labels to something more descriptive, edit the file /etc/sensors3.conf and add those lines at the end
Code:
chip "lm90-*" "adm1032-*" "lm86-*" "max6657-*" "adt7461-*"
   label temp1 "M/B Temp"
   label temp2 "CPU Temp"
   label tcrit1 "M/B Crit"
   label tcrit2 "CPU Crit"


Output of sensors command will change to this
Code:
Meshlium-AX:~# sensors
lm86-i2c-0-4c
Adapter: CS5536 ACB0
M/B Temp:    +38.0°C  (low  =  +0.0°C, high = +70.0°C)
                      (crit = +85.0°C, hyst = +75.0°C)
CPU Temp:    +44.4°C  (low  =  +0.0°C, high = +70.0°C)
                      (crit = +85.0°C, hyst = +75.0°C)



Finally to load the needed modules at startup and avoid modprobe each time you need to use sensors command just adding those lines to the end of the file etc/modules
Code:
lm90
scx200_acb


Top
 Profile  
 
 Post subject: Re: Temperature sensors on Meshlium
PostPosted: Fri Oct 02, 2009 11:15 pm 

Joined: Wed Sep 30, 2009 8:48 pm
Posts: 13
Thanks, i have followed the steps and now i can check system temperatures.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 3 posts ]


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

Search for:
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use