Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 04-12-2005, 02:12 PM   #1
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?

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 02:14 PM.
Old 04-12-2005, 04:19 PM   #2
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30


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 07:24 AM
how to control cpu freq ruh31 Debian 6 02-14-2005 09:58 AM
cpu freq. scaling problem sonis SUSE / openSUSE 3 01-12-2005 05:04 PM
Lower CPU freq Adony Linux - Hardware 2 10-01-2004 09:23 AM
Emachines M5310 CPU Freq Control, ACPI, Poor Video, Volume Buttons johnandrhona Linux - Laptop and Netbook 2 03-14-2004 10:54 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:10 AM.

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