LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 06-04-2006, 04:05 AM   #1
[KIA]aze
Member
 
Registered: Jun 2006
Distribution: Debian, Ubuntu, Windows XP
Posts: 146

Rep: Reputation: 16
How can I know if my system supports ACPI and cpufreq?


I have an overheating problem with my compaq presario 2500 laptop (pentium 4 processor).

I tried recompiling my kernel with ACPI and cpufreq, but apparently it didn't work since I couldn't get cpufreqd nor powernowd to work.

Quote:
#cat /proc/acpi/processor/CPU0/info

processor id: 0
acpi id: 0
bus mastering control: yes
power management: yes
throttling control: no
limit interface: no
Does that mean I can't regulate the frequency of my processor?

my kernel: 2.6.16.19
 
Old 06-04-2006, 06:26 AM   #2
[KIA]aze
Member
 
Registered: Jun 2006
Distribution: Debian, Ubuntu, Windows XP
Posts: 146

Original Poster
Rep: Reputation: 16
Problem solved.
I managed to install cpufreqd correctly with userspace as cpu_freq governor.

My problem was that I didn't know how to load the cpufreq modules, so I just built them directly into the kernel, along with ACPI and APM stuff.

Here's a very helpful link for frequency scaling:

thinkwiki.org/wiki/How_to_make_use_of_Dynamic_Frequency_Scaling

(can't post URL because I don't have enough posts. ^^)

Now I'll try getting my ATI drivers to work, but that's another problem...
 
Old 11-07-2006, 05:12 PM   #3
sudhaanil
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Rep: Reputation: 0
Hi,

If you have configured the cpufreq into the kernel. Linux provides an easy interface in the following directory:

/sys/devices/system/cpu/cpu0/cpufreq

If the "cpufreq" directory does not exist in your system, then either your distribution does not support such a interface or cpufreq is not well compiled into your kernel. I am using FC5 (&FC6) by the way.

If it exists, just "cd" to it and

$cat scaling_available_frequencies

which shows all the avialable frequencies.

Further,

$ cat > scaling_setspeed
<enter one of the available frequencies>
and do a Ctrl^D.

To check, if it has changed:

$cat scaling_cur_freq.

Hope this helps.

Thanks,
Anil.
 
  


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
FATAL: Error inserting acpi cpufreq in fedora 4 CapCavernaX Linux - Newbie 14 10-21-2006 02:01 PM
cpufreq and acpi thermal zones Nic+Tux+Duke Linux - General 3 05-04-2006 08:32 PM
Changing ACPI cpufreq when running on battery Yalla-One Slackware 4 12-12-2005 09:15 AM
What's the deal with ACPI, cpufreq, and powernow-k7 on Emachines m5310 adamis Linux - Laptop and Netbook 10 02-14-2004 02:55 AM
Which distro supports ACPI best? bhesterberg Linux - Distributions 4 08-05-2003 01:02 PM


All times are GMT -5. The time now is 02:59 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