LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-07-2011, 11:08 AM   #1
akamikeym
Member
 
Registered: May 2008
Posts: 112

Rep: Reputation: 21
Power Management after HAL


Hi,

I'm bit confused about power management. I've just installed Arch with a default kernel on a Asus EeePC 900 by following the Wiki guides for the EeePC.

I'm fairy happy with most of the install, with acpi-eeepc-generic providing neat mechanism for managing the eeepc function keys and lid open close management.

Now the few thing it doesn't do are:

* Critical Battery warning / power down
* Power consumption scaling

I found something inside the scripts for acpi-eeepc-generic that actually handles the critical battery warning, but it had been commented out. So I'm left wandering what the correct way to manage this is.

I thought of pm-utils but I'm not sure if they overlap / interfere with the suspend on lid close of acpi-eeepc-general or if they're still the correct scripts to use in the post HAL word.

Note: There are some issues about the battery on the EeePC, it only reports power in multiples of 5%-10%.

And my battery reports:
Code:
$ cat /proc/acpi/battery/BAT0/alarm 
alarm:                   unsupported
But I can say that it does in fact produce an ACPI event that by uncommenting the hidden code in acpi-eeepc-general I can persuade to shutdown on a critical battery.

Also does CPU Scaling work as expected on the EeePC? I did read something that suggested it may not.

So Basically I'd like to know what the uses of pm-utils / laptop-mode and CPUFreq are and if they are suitable for my EeePC 900?


(edit) So it looks like my Eeepc doesn't do CPU scaling.

(edit2) But it does have a Super Hybrid Engine! But it doesn't seem to be installed on the default arch kernel.

Code:
sudo sh -c 'echo 2 > /sys/devices/platform/eeepc/cpufv'
sh: line 0: echo: write error: Invalid argument
But there's an eeepc specific kernel for arch by toofishes, but it's not been updated since 2.6.35.

(edit3) TooFishes, kernel has the same result for SHE with "echo 2" but I found my EeePC 900 doesn't support SHE posersave mode:

Code:
$cat /sys/devices/platform/eeepc/cpufv
0x201
As discussed here. I assume it's the powersave mode that's missing. I cant find anything that documents it.

Last edited by akamikeym; 03-10-2011 at 02:27 PM. Reason: Deleting accidental middle mouse paste in middle of text
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Management not working on embedded MIPS when using /sys/power/state RichardS Programming 1 01-21-2011 07:18 AM
Which "power distro" for lots of customizing and good system power management? mothergoose729 Linux - Distributions 11 11-18-2009 09:11 PM
Dual functionality of power button, HAL vs. KDE? ACPID vs HAL? Cotobear Slackware 6 09-12-2009 07:35 PM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:19 AM.

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
Open Source Consulting | Domain Registration