Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running Fedora Core 1 with the basic FC1 kernel (2.4.22-1.2174.nptl). My computer has a P4-M so it uses Speedstep (in Windows). I was reading up on throttling in Linux and from what I found you can either use ACPI (which isn't built into this kernel) or cpufreq. I have a cpufreq file in /proc but its contents are as follows:
minimum CPU frequency - maximum CPU frequency - policy
That's it... there's no values or anything. I tried using cpudyn but it didn't work because that file didn't have the right information or something. I'm not supposed to manually edit this file, am I? Anybody have any suggestions?
Actually ACPI is built into the kernel: become root
cd /boot/grub/grub.conf
then edit this line: kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/ hdc=ide-scsi acpi=on
now when you reboot acpi will be enabled.
Then to throttle the cpu you would have to go to /proc/acpi/processor/CPU0
Then issue the command cat throttling see what it says.
You can change the throttling by eg: echo 2 > throttling and this will throttle your cpu.
cool, thanks. so i enabled acpi and now i have all these things in /proci/acpi... so now you were saying i could enable throttling by running "echo 2 > throttling" but i havent done that just yet... in /proc/acpi/processor/CPU0 i have a file called performance and it says theres 2 performance states, P0 and P1... P0 being 1700 MHz and P1 being 1200 MHz... i don't anything about echo so how would i go about using that to change from P0 to P1?
Thanks for all the help. I went to some of those sites and messed around with a few things, but for the most part I found out KLaptop can be used to change the processor frequency so I'm just using that. But I have been having fun turning on the fans manually... :-P
Ok, well I don't know what I did, but now I can't get my computer to run at full speed when on battery. It's grayed out in KLaptop and when i do "echo 0 > performance" in /proc/acpi/processors/CPU0 it doesn't do anything. Any ideas?
Did you try plugging the laptop back in? If so then were you able to get 100%, if so your bios may automatically throttle the laptop back when running on battery.
This thing is all screwy. I shut it down (unplugged) to go to class and turned it back on (unplugged) when I got home. Now it's allowing me to change between 1.7 and 1.2 GHz... weird.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.