Proposal for resolving powernowd/apmd vs. (k)powersave conflict

Michel D'HOOGE michel.dhooge at gmail.com
Tue Apr 18 21:20:34 BST 2006


Hello,

<introducing-myself>
I started my Desktop Linux experience with KDE on Debian. But I had not enough 
time and courage to configure all the Multimedia and PnP stuff to have 
something that worked at least as good as windows. So I gave a try to Ubuntu 
which turned out to fulfill my needs from the HW point of view. And when I 
bought a laptop, I naturally installed ubuntu and was pleasantly surprised by 
the good management of ACPI. However during all my ubuntu experience I longed 
the configuration power of KDE compared to the strict and too simple 
interface of Gnome. So, I installed Kubuntu on my laptop... and then I 
realised the work done by the ubuntu team to have ACPI working out of the 
box! I could have switched back to Ubuntu and gnome but I found this e-mail 
thread which gave me hope and some good pointers to start with and understand 
ACPI. And now, I am back with questions and comments ;-)
</introducing myself>

Le Vendredi 10 Mars 2006 02:01, Michael Biebl a écrit :
> 1.) Install a diversion of /usr/sbin/acpid. Create a wrapper script for
> acpid and filter the arguments passed to acpid. When acpid is called
> with -c /etc/acpi/events replace it with -c /etc/acpi/event.ignore (an
> empty directory installed by powersaved). This effectively and
> efficiently disables the event processing of acpid. This is the approach
> I have taken right now. Take a look at /usr/sbin/acpid after installing
> powersaved.
So I installed powersaved version 0.12.7-1ubuntu. I verified that the 
events.ignore folder is effectively created but the diversion of acpid to 
this directory is not done. Is it normal?

So far, everything doesn't work but it is quite promising! Funnily, I have STR 
working and not STD besides it is described in powersave doc that it "should" 
be the other way round. But if I want to be sure to have the LCD back so far 
I initiate the STR from the VT1 console.

I also noticed that the CPU frequency doesn't change automatically -at least 
according to Kpowersave which always shows the highest freq available. I have 
to switch to the 'powersave' setting to really reduce power consumption. And 
then, given the diminished responsiveness of the PC, I think it works 
(KPowersave says 800MHz). And after a resume from STR, Kpowersave always 
displays 800MHz when I think it is really more than that. And powersave -r 
returns strange results between 53 and 99MHz :-(

During all my experiments, I noticed that HAL ( /usr/lib/hal/hald-addon-acpi) 
also listens to ACPI. Why? I also found that my laptop supports S0 S3 S4 S5. 
What is S5? First time I heard about it!

I will go on with my tests and come back with more questions or comments.

Bye-bye
Michel



More information about the kubuntu-devel mailing list