Holger Macht | 1 Feb 2006 14:04
Picon

Re: Re: [kubuntu-devel] Re: kpowersave and backup applications

On Mon 30. Jan - 23:14:21, 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?

It mostrly uses Hal for querying information of batteries/acpi information
or sysfs paths. The suspend is done manually after doing a lot of other
stuff like unloading modules, stopping services etc.

> 
> 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.

No it does not yet use hal. But we are currently thinking about adding
support for swsusp2 or even Hals way of doing the suspend. Stay tuned.

BTW, it should be easy to use hal to trigger the suspend. Just create a
(Continue reading)

Danny Kukawka | 1 Feb 2006 17:36
Picon

Re: kpowersave * powersave error?

On Tuesday 31 January 2006 16:56, Dawid Wróbel wrote:
[...]
> Also, when
> I click on kpowersave icon that nice information dialog appears,
> confirming the above and introducing small UI bug [1]. And there is no
> cpufreq policy submenu when I right click on kpowersave's icon.
[...]
>
> [1] http://cromo.klej.net/screen.png . The "running" text should be by
> the "Powersave Daemon" text

I fixed this bug for the next release. 

An other question: Could you translate the KPowersave strings (see the po file 
for your language in the source) for your language? All help for translation 
would be appreciated! ;-)

Cheers,

Danny
Dawid Wróbel | 1 Feb 2006 18:14

Re: kpowersave * powersave error?

On Wed, 1 Feb 2006 17:36:12 +0100 Danny Kukawka
<danny.kukawka@...> wrote

> An other question: Could you translate the KPowersave strings (see
> the po file for your language in the source) for your language? All
> help for translation would be appreciated! ;-)
Actually I was planning this, but had to learn for exams and the last
one was today, so I am free by now to do some more pleasnt things ;) 
Should I translate it and send directly by email to you? 

--

-- 
Regards
Danny Kukawka | 1 Feb 2006 18:18
Picon

Re: kpowersave * powersave error?

On Wednesday 01 February 2006 18:14, Dawid Wróbel wrote:
> On Wed, 1 Feb 2006 17:36:12 +0100 Danny Kukawka
> <danny.kukawka@...> wrote
>
> > An other question: Could you translate the KPowersave strings (see
> > the po file for your language in the source) for your language? All
> > help for translation would be appreciated! ;-)
>
> Actually I was planning this, but had to learn for exams and the last
> one was today, so I am free by now to do some more pleasnt things ;)

sounds great :-)

> Should I translate it and send directly by email to you?

Yes.

Thanks and Cheers,

danny 
Dawid Wróbel | 1 Feb 2006 19:14

Re: kpowersave * powersave error?

On Wed, 1 Feb 2006 18:18:19 +0100 Danny Kukawka
<danny.kukawka@...> wrote:

> sounds great :-)
I am half way already and came into a confusion. I remember you said you
guys are going to make powersave less suse-orientated, including
dialogs etc. Following string is kind of confusing, as it refers
to SUSE way of running daemons. How should I translate it, considering
above-mentioned?

"Cannot find any schemes. Maybe the powersave daemon is not running.\n"
"Starting it with '/usr/sbin/rcpowersaved start' should help."

Maybe we should refere to man powersave, as in most cases there is a
description on how to run powersave daemon in particural distro? It is
in Ubuntu for example.

--

-- 
Regards
Danny Kukawka | 2 Feb 2006 17:01
Picon

Re: kpowersave - rights & autosuspend feature

Hi,

On Thursday 02 February 2006 15:42, you wrote:
> I'm trying to get kpowersave running under gentoo.
> I've been running into two problems:
>
> 1. kpowersave only works if it has been started as root (with kdesu)

IMO this is a gentoo problem with the permissions/settings of DBUS. Please 
take a look at the powersave-devel mailinglist [1]. There was already a 
gentoo user we helped to get powersave/kpowersave running [2].

If this doesn't help, write a mail to the list.

> 2. the autosuspend feature doesn' t work. (may this be caused by the first
> issue?)

Not sure, may try first to get kpowersave running as normal user and retry 
then.

> kpowersave is version 0.5.5,
> powersaved is version 0.11.8
> hal is version 0.5.5.1
> dbus is version 0.60
>
> Since the included initscript doesn't work under gentoo (will write one if
> above problems are solved) I've just started powersaved as root from
> commandline. Acpid is started and the cpufreq governors are loaded

Powersave must run as root. A rc-script for gentoo would be nice.
(Continue reading)

Michael Biebl | 2 Feb 2006 17:10
Favicon

Re: Re: kpowersave - rights & autosuspend feature

Danny Kukawka wrote:
> Hi,
> 
> On Thursday 02 February 2006 15:42, you wrote:
>> I'm trying to get kpowersave running under gentoo.
>> I've been running into two problems:

http://thread.gmane.org/gmane.linux.power-management.powersave/290

Please give it a try and see if it works for you. If not, post your
results and I will try to fix it.
Make sure you uninstall and old copy of (k)powersave.

Cheers,
Michael

--

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

_______________________________________________
powersave-devel mailing list
powersave-devel@...
http://forge.novell.com/mailman/listinfo/powersave-devel
Holger Macht | 2 Feb 2006 17:36
Picon

Re: Installing (k)powersave unter Gentoo

On Fri 27. Jan - 18:38:53, Michael Biebl wrote:
> Hi all,
> 
> this is an unofficial HOWTO about installing (k)powersave the
> Gentoo Way(TM). Hopefully this saves Gentoo users some trouble when they
> try to get (k)powersave up and running.
> 
> As (k)powersave is not (yet) officially included in the Gentoo portage
> tree we will use something called a "portage overlay" [1].
> I will explain the procedure step by step

[...]

Cool.

I hope we have your acceptance to distribute this HOWTO as a README.gentoo
in our tarballs (powersave and kpowersave)?

Regards,
	Holger
Michael Biebl | 2 Feb 2006 18:14
Favicon

Re: Installing (k)powersave unter Gentoo

Holger Macht wrote:
> On Fri 27. Jan - 18:38:53, Michael Biebl wrote:
>> Hi all,
>>
>> this is an unofficial HOWTO about installing (k)powersave the
>> Gentoo Way(TM). Hopefully this saves Gentoo users some trouble when they
>> try to get (k)powersave up and running.
>>
>> As (k)powersave is not (yet) officially included in the Gentoo portage
>> tree we will use something called a "portage overlay" [1].
>> I will explain the procedure step by step
> 
> [...]
> 
> Cool.
> 
> I hope we have your acceptance to distribute this HOWTO as a README.gentoo
> in our tarballs (powersave and kpowersave)?
> 

Of course, I just wanted to have some feedback first before publishing
it. You would also have to provide the portage_overlay.tar.bz2 tarball
somewhere  (and add the link to the HOWTO) otherwise the HOWTO is pretty
useless.
Maybe I put the tarball on my website myself and try to keep it up to
date (or use a SVN repo instead), but that depends on if there are
actually Gentoo users out there that use this overlay and if I have the
time to maintain it properly.
I would prefer if someone who is actively using Gentoo, to take over the
maintainership of this files. As you know I'm a Debian user and did this
(Continue reading)

Ruben Jenster | 2 Feb 2006 18:25
Picon
Favicon

Re: Re: kpowersave - rights & autosuspend feature

Thanks Michael,

it was the dbus persmissions that had to be modified.(since I don't use pam, 
adding the plugdev group was needed)

I've allready created my own ebuilds, but yours are more advanced.
You should really add them to the bugtracker - this is usually the first place
where I search ebuilds :-)

Unfortunately the autosuspend feature still doesn't work for me. 
Does it work for you?

Another thing I will try is to modify the powersave scripts to use the 
hibernate-script for suspending.

Regards,
Ruben 

Am Donnerstag, 2. Februar 2006 17:10 schrieben Sie:
> Danny Kukawka wrote:
> > Hi,
> >
> > On Thursday 02 February 2006 15:42, you wrote:
> >> I'm trying to get kpowersave running under gentoo.
> >> I've been running into two problems:
>
> http://thread.gmane.org/gmane.linux.power-management.powersave/290
>
> Please give it a try and see if it works for you. If not, post your
> results and I will try to fix it.
(Continue reading)


Gmane