logo       

Re: [powersave-devel] Re: Re: kpowersave and backup applications: msg#00146

Subject: Re: [powersave-devel] Re: Re: kpowersave and backup applications
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Jonathan Riddell wrote:
> On Fri, Jan 27, 2006 at 06:24:24PM +0100, Danny Kukawka wrote:
>> On Sun Jan 22 20:37:03 2006 Sebastian K??gler wrote:
>>> On Wednesday 18 January 2006 21:29, Jonathan Riddell wrote:
>>>> Has anyone had experiences with kpowersave?  It seems better
>>>> maintained than the klaptopdaemon we use at the moment but I'm looking
>>>> for experiences of whether it's more reliable or not.
>> Sound good for us as KPowersave/powersave developers. KPowersave is since 
>> years the default powermanagement fontend/solution under KDE on SUSE. We 
>> would be happy if KPowersave could also replace klaptop on an other 
>> distribution. ;-)
> 
> Great :)
> 
> A couple of questions, how does kpowersave (or libpowersave) actually do the 
> suspend?
> And what does it use HAL for?
> 
> If it uses HAL for the suspend that probably means that it works just
> perfectly on Kubuntu as far as the gnome stuff works on Ubuntu.

How does HAL actually do the suspend? If it just calls the
/usr/share/hal/scripts/hal-system-power-(suspend|shutdown|hibernate)
scripts you have nothing special to do. This script already checks for
the powersave binary and if its is found it uses powersave for handling
the actual suspend.
Three points that you should consider for kubuntu:
1.) DBus access is controlled via the group plugdev in Debian. As Ubuntu
now has libpam_foreground you could simply delete the
debian/patches/dbus_access.diff patch of the powersave source package.
2.) The shell scripts of the acpi-support package should check for a
running powersaved process and if found simply exit and leave the acpi
event processing to powersaved. Take the sleep.sh script for example. It
should contain something like this

if pidof powersaved ; then
        exit 0
fi

at the beginning of the script.
3.) Make sure that no other cpufrequency scaling daemon is installed as
powersaved handles this itself.

If you have more questions, please ask.

Cheers,
Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe