Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 24-01-2007, 11:15 PM   #1 (permalink)
The Internationalist
 
Aberforth's Avatar
 
Join Date: Feb 2006
Location: Samedan
Posts: 242
Default Temperature Sensor for OpenSuse


I have noticed my laptop getting quite hot after using OpenSuse and the fan also runs all the time, even when idle. Is there an installable temperature sensor available for OpenSuse so that I could find the CPU, GPU and HDD temperatures like I do on Windows? I want something I could use or at least an instruction to compile and install source file.
Aberforth is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 25-01-2007, 01:16 AM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Temperature Sensor for OpenSuse

Check lmsensors and gkrellm.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 25-01-2007, 06:43 PM   #3 (permalink)
The Internationalist
 
Aberforth's Avatar
 
Join Date: Feb 2006
Location: Samedan
Posts: 242
Default Re: Temperature Sensor for OpenSuse

I have gkrellm and I don't find a setting for for my CPU, GPU and HDD temperature sensors. Doing a search on lmsensors
__________
I compiled and installed lmsensors as directed and it seems there is no driver coretemp for my sensor and the instructions are vague...

Is there any other which work?

Last edited by Aberforth; 25-01-2007 at 06:43 PM. Reason: Automerged Doublepost
Aberforth is offline  
Old 25-01-2007, 09:37 PM   #4 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: Temperature Sensor for OpenSuse

lmsensors comes pre-installed on OpenSUSE. At least it was installed on my system which was installed from a DVD. IMHO instead of compiling lmsensors yourself, you should use the distro supplied version. This will provide you with proper start-up scripts installed in appropriate places.

After you have installed lmsensors using yast, you need to configure it. This can be done using sensors-detect script that comes with lmsensors. You just need to execute "sensors-detect" as root in a terminal window and then follow the onscreen instructions. Once the script detects all the sensors available on your motherboard, it creates valid sensors.conf file. After this, start lmsensors service from the service manager and you should have lmsensors working.

To test whether lmsensors is working or not, just execute "sensors" command as a normal user in a terminal window. If you get temp, voltage and fan rpm outputs then everything is working fine. Now, you can use programs like gkrellm or gdesklets widgets to read your sensors outputs.
eddie is offline  
Old 26-01-2007, 12:23 AM   #5 (permalink)
The Internationalist
 
Aberforth's Avatar
 
Join Date: Feb 2006
Location: Samedan
Posts: 242
Default Re: Temperature Sensor for OpenSuse

I didn't know 'sensor' was same as lm-sensor. 'Sensor' is what I have found in the Yast package. Running sensors-detected I was told the driver 'coretemp' didn't exist in the kernel which is for the CPU sensors in IntelCore Duo laptops. An URL is given for the patch, where I couldn't find which is the patch and what is there to do, I'm pretty in the sea.

http://lists.lm-sensors.org/pipermai...er/018100.html

I have installed gkrellm but it does not show CPU, GPU and HDD temperatures either.

Last edited by Aberforth; 26-01-2007 at 12:31 AM.
Aberforth is offline  
Old 26-01-2007, 10:34 AM   #6 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: Temperature Sensor for OpenSuse

Looks like you don't have much choice here. Either patch your kernel or wait for the patches to go upstream into kernel.

The patches are available in next 3 posts in that thread you linked us to.
http://lists.lm-sensors.org/pipermai...er/018101.html
http://lists.lm-sensors.org/pipermai...er/018102.html
http://lists.lm-sensors.org/pipermai...er/018103.html

Look at the bottom of the posts that says "Url:". You can download the patches and apply them to your kernel. Then enable coretemp driver.
eddie is offline  
Old 26-01-2007, 01:06 PM   #7 (permalink)
The Internationalist
 
Aberforth's Avatar
 
Join Date: Feb 2006
Location: Samedan
Posts: 242
Default Re: Temperature Sensor for OpenSuse

I really have no idea how to use these bin files to patch the kernel. Perhaps someone could help me or I'll need to wait for the next kernel release.
Aberforth is offline  
Old 26-01-2007, 08:00 PM   #8 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: Temperature Sensor for OpenSuse

You can rename the bin files to .patch and then use them on your kernel source dir using patch command. Once you have got the patched source, you can compile your own kernel or just the module coretemp. Read "man patch" to know how to use patch command.
eddie is offline  
Old 26-01-2007, 08:21 PM   #9 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: Temperature Sensor for OpenSuse

You can also observe the temperature via "gdesklets"! U need to have/install gdesklets for that.

Check this out!

http://gdesklets.zencomputer.ca/Side...emp-0.2.tar.gz
http://gdesklets.zencomputer.ca/lmse...et-0.8.tar.bz2
http://gdesklets.zencomputer.ca/Side...ery-1.1.tar.gz
+
More there!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 26-01-2007, 08:40 PM   #10 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: Temperature Sensor for OpenSuse

^ Nothing will work until he has lmsensors working. That is the necessary backend...every frontend...be it gkrellm or gdesklets comes after that...
eddie is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by Sujeet
- by clmlbx
- by icebags

Advertisement




All times are GMT +5.5. The time now is 10:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2