Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Overclock.net Forum > FAQs

 
 
LinkBack Thread Tools
Old 07-21-06   #1 (permalink)
Overclocker
 
Squeeky's Avatar
 
amd nvidia

Join Date: Dec 2004
Posts: 1,198

Rep: 72 Squeeky is acknowledged by some
Unique Rep: 56
FAQs Submitted: 3
Trader Rating: 0
Default Setting up Temp Monitoring in linux

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
__________________
System: My System
CPU
AMD Athlon 64 3000+ Winchester
Motherboard
ECS - Nforce3-A939
Memory
1GB elixir DDR400
Graphics Card
6600GT
Hard Drive
4X Maxtor 300gb
Sound Card
SB Live! 5.1 Platinum
Power Supply
FSP Epsilon 700W
CPU cooling
Stock
GPU cooling
Stock
OS
Windows X64 + Ubuntu
Monitor
Acer AL1716-S

Last edited by Squeeky : 07-27-06 at 06:34 PM
Squeeky is offline  
Old 07-27-06   #2 (permalink)
Photography nut
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,485

Rep: 409 dangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven member
Unique Rep: 215
FAQs Submitted: 7
Trader Rating: 0
Default

Nice FAQ :thumb:
__________________
System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch64 & Slackware 12.1
Monitor
Acer AL2216W 22" WS LCD
dangerousHobo is offline Overclocked Account dangerousHobo's Gallery  
Old 07-27-06   #3 (permalink)
PC Gamer
 
xfranciscox92's Avatar
 
intel ati

Join Date: May 2006
Location: Lakeville
Posts: 307

Rep: 17 xfranciscox92 Unknown
Unique Rep: 15
Trader Rating: 0
Default

o nice
__________________
GTA IV

System: Laptop
CPU
Pentium 4
Motherboard
915 mobile chipset??
Memory
1gb (2 ddr2 512mb)
Graphics Card
x600
Hard Drive
100gb
Sound Card
....
Power Supply
a big brick
Case
Zd8000
CPU cooling
stock
GPU cooling
stock
OS
Windows Media Center 2005
Monitor
17"
xfranciscox92 is offline xfranciscox92's Gallery  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 02:18 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.11676 seconds with 8 queries