|
![]() |
Overclock.net - Overclocking.net > Overclock.net Forum > FAQs | |
Setting up Temp Monitoring in linux
|
||
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||
|
Overclocker
![]() |
A few days ago quite a few linux users said that they didnt know how to setup temperature monitoring in linux. I managed to do it after a bit of work so decided to post it here so others could do it.
__________________I did this on SUSE Linux Enterprise Desktop so it should work on SUSE 9.3 - 10.2 but might also work on other linux operating systems. ------------------------------------------------------------ Open Yast2 or your software removal package and check that the libsysfs library is installed. In Yast2 you need also to check that Make, GCC, Flex and Bison are installed. Ok so we have all the lm_sensors packages required to compile the source so the next stage is to get the source. The latest version can be downloaded from here. My version was lm_sensors-2.10.0.tar.gz. Once downloaded navigate to the directory where you downloaded lm_sensors-*.**.*.tar.gz and type gunzup lm_sensors-*.**.*.tar.gz now type tar -xvf lm_sensors-*.**.*.tar A new directory should appear called lm_sensors-*.**.* Open console and navigate to this directory using cd commads. Now we have to compile the source.This sould be done as root so at the console type su and the root password when asked. On kernel 2.6 or later just type make user Compiling could take some time depending on the speed of you processor but there should be no errors because we installed flex and bison. If there are package errors find and install them then run again. ---------------------------------------------------------------------------------- Now we have the base lm_sensors installed but not loaded or configured. Still as root type /usr/local/sbin/sensors-detect now this script will run and ask you some questions to detect your sensors. At the questions awnser yes to all unless any of them crash your linux os. At the end it will tell you to add some commands to a few files eg. To make the sensors modules behave correctly, add these lines to /etc/modules.conf: #----cut here---- # I2C module options alias char-major-89 i2c-dev #----cut here---- To load everything that is needed, add this to some /etc/rc* file: #----cut here---- # I2C adapter drivers modprobe i2c-isa # I2C chip drivers modprobe it87 # sleep 2 # optional /usr/local/bin/sensors -s # recommended #----cut here---- To do this simply copy and past the correct sections to the correct file (DONT COPY MINE AS YOUR MODULES WILL BE DIFFERENT). To do this you should login to your gui as root. The important section is the second part copy this to /etc/rc.d/boot.local ------------------------------------------------------------------------------- I added to /etc/modprobe.conf and it works fine. Now reboot your pc to load the new modules and type sensors at the console and it should tell you you voltages and temps. Hope this helps
Last edited by Squeeky : 07-27-06 at 06:34 PM |
||||||||||||
|
|
|
|
#2 (permalink) | |||||||||||||
|
Photography nut
![]() |
Nice FAQ :thumb:
__________________
|
|||||||||||||
|
|
|
#3 (permalink) | |||||||||||||
|
PC Gamer
|
o nice
__________________
GTA IV
|
|||||||||||||
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|