LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 04-12-2005, 03:12 PM   #1
Yonatanph
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
CPU heat monitoring and freq. control


Hi everyone,
I am trying to write a program in C that can perform dynamic heat control for Pentium M (banias) through frequency scaling.
I was supposed to use an API that someone already wrote, however it appears that his API is useless (and that's an understatement ).
Anyhow, in order to implement my program I will need to get a temp reading from the CPU and to adjust the CPU frequency (on the fly) based on that reading.
I was given to understand that Linux already has support for these option built in. Is there an API for C for these functions?


P.S.
I am kind of new to Linux (have just started using it for this project) so please try to form you answer accordingly.

Any help will be appreciated!

Last edited by Yonatanph; 04-12-2005 at 03:14 PM.
 
Old 04-12-2005, 05:19 PM   #2
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
http://secure.netroedge.com/~lm78/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cpu freq. scaling problem sonis Linux - Laptop and Netbook 4 04-25-2005 08:24 AM
how to control cpu freq ruh31 Debian 6 02-14-2005 10:58 AM
cpu freq. scaling problem sonis Suse/Novell 3 01-12-2005 06:04 PM
Lower CPU freq Adony Linux - Hardware 2 10-01-2004 10:23 AM
Emachines M5310 CPU Freq Control, ACPI, Poor Video, Volume Buttons johnandrhona Linux - Laptop and Netbook 2 03-14-2004 11:54 PM


All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration