Re: [powersave-devel] Debian packaging effort and some more general remarks

2005-11-17 Thread Michael Biebl
On Thu, Nov 17, 2005 at 11:44:33AM +0100, Holger Macht wrote: On Tue 15. Nov - 10:19:00, Holger Macht wrote: On Tue 15. Nov - 04:38:57, Michael Biebl wrote: [...] 20.) [0.9.25/0.10.19] on_ac_power binary: name clash with powermgmt_base package. I don't know if this package exist

Re: [powersave-devel] kpowersave * powersave error?

2006-01-31 Thread Michael Biebl
Dawid Wróbel wrote: Hi, I upgraded today to the newest kpowersave + powersave from Debian repository (after some changes in packages) and I noticed something strange. Seems that cpufreq control isn't run, as my CPU constantly runs at 1,6GHz while the lowest state is 800MHz. Also, when

Re: [powersave-devel] kpowersave * powersave error?

2006-01-31 Thread Michael Biebl
Dawid Wróbel wrote: Me again, After trying to run sudo powersaved manually all I get is Seg fault. Should I provide some debug output? The problem is, that Ubuntu Dapper Drake uses a different glibc than Debian unstable and the packages you installed are compiled for Debian unstable.

Re: [powersave-devel] Installing (k)powersave unter Gentoo

2006-02-02 Thread Michael Biebl
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

[SOLVED] Re: [powersave-devel] Re: kpowersave - rights autosuspend feature

2006-02-02 Thread Michael Biebl
I found the bug that made kpowersave fail to properly autosuspend. It's the path to the pidof binary, which is set to /sbin/pidof. But in Debian and Gentoo it is /bin/pidof. So checkBlacklisted fails and kpowersave does not generate a suspend event. You can apply the patch which sets the correct

Re: [powersave-devel] (k)powersave won't let me STD if grub has no resume parameter

2006-02-16 Thread Michael Biebl
Stefan Seyfried wrote: In this case, i will simply implement a CHECK_RESUME_PARTITION configuration variable (may get a better name, i have not thought about it yet) which can be defaulted to yes or no by the package maintainer of the distro. He should know if it is necessary or not.

Re: [powersave-devel] (k)powersave won't let me STD if grub has no resume parameter

2006-02-16 Thread Michael Biebl
I noticed another problem with this sanity check. Let's say the user receives this error message. He then decides to edit the config file of his boot loader, e.g. grub or lilo. Now powersave should allow to STD, because on the start the resume parameter would be used correctly. But as it is now he

Re: [powersave-devel] (k)powersave won't let me STD if grub has no resume parameter

2006-02-18 Thread Michael Biebl
Stefan Seyfried wrote: Michael, might i ask you to try the attached version? It does the following: - it reads the resume device that was set up from /sys/power/resume, the format is major:minor in decimal into $RDEV. - then it reads the swap partitions from /proc/swaps, one line at a

Re: [powersave-devel] [Fwd: Bug#352686: kpowersave: confusing information dialog: Processor 1 deactivated]

2006-02-21 Thread Michael Biebl
Danny Kukawka wrote: On Monday 13 February 2006 15:47, Holger Macht wrote: On Mon 13. Feb - 14:58:09, Michael Biebl wrote: Me again, is this really a kpowersave problem or is it powersaved sending the wrong current state of the cpu? It is KPowersave reading out this information. It checks

Re: [powersave-devel] Enabling acoustic and power management for SATA disks

2006-02-26 Thread Michael Biebl
Stefan Seyfried wrote: On Sun, Feb 26, 2006 at 11:40:07AM +0100, Stefan Seyfried wrote: On Sun, Feb 26, 2006 at 01:23:25AM +0100, Michael Biebl wrote: Hi, this is a followup to [1]. As it seems powersaved does not call hdparm on SATA disks. exec_hdparm() in /usr/lib/powersave/scripts

Re: [powersave-devel] Enabling acoustic and power management for SATA disks

2006-02-27 Thread Michael Biebl
I collected some more information on this topic. http://linux-ata.org/sata-status.html This seems to be the preferred method nowadays to access SATA disks. Support for PM and AM is already available for many chipsets. There is also a small tool to control the settings for SATA/SCSI and even IDE

Re: [powersave-devel] [powersave - Help] basic configuration?

2006-02-27 Thread Michael Biebl
[..] and i added my custom script to /usr/lib/powersave/scripts but the change doesn't take. in fact the original value was screensaver and after changing it, and rebooting is still does a blank screen. for all information i find says modify /etc/sysconfig/powersave/events my system

[powersave-devel] generating documentation

2006-03-01 Thread Michael Biebl
Hi all, is there a specific reason, why the newest versions of powersave require ?lynx? for generating the documentation? Why don't we also simplify the Makefile.am a bit and use info_TEXINFOS = powersave.texi all: html This would install a nice info file and we only needed to copy the html

[powersave-devel] pkgconfig support

2006-03-01 Thread Michael Biebl
Hi, attached is a patch that adds pkgconfig support for (k)powersave. That enables clients like kpowersave to correctly depend on the correct versions and they can take advantage of the easy to use PKG_CHECK_MODULES macro. For now I created a pkgconfig file for each of the three libs,

Re: [powersave-devel] pkgconfig support

2006-03-01 Thread Michael Biebl
Forgot to remove the AC_CHECK_HEADER(powerlib.h) from kpowersaves configure.in.in. It would be not needed anymore of course. Updated patch is attached. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? Index:

Re: [powersave-devel] pkgconfig support

2006-03-01 Thread Michael Biebl
Looking through the powersave*.h header files I noticed that powersave_hal.h exposes the hal API by including hal/libhal.h although it is not needed (powersave_hal.h does not contain structs or the like defined in hal/libhal.h. AFAICT it should be removed. As it seems to be necessary for for

Re: [powersave-devel] pkgconfig support

2006-03-02 Thread Michael Biebl
Holger Macht wrote: On Thu 02. Mar - 02:03:37, Michael Biebl wrote: Hi, attached is a patch that adds pkgconfig support for (k)powersave. That enables clients like kpowersave to correctly depend on the correct versions and they can take advantage of the easy to use PKG_CHECK_MODULES macro

Re: [powersave-devel] pkgconfig support

2006-03-02 Thread Michael Biebl
Holger Macht wrote: On Thu 02. Mar - 02:20:24, Michael Biebl wrote: Looking through the powersave*.h header files I noticed that powersave_hal.h exposes the hal API by including hal/libhal.h although it is not needed (powersave_hal.h does not contain structs or the like defined in hal

[powersave-devel] two minor issues in init script and do_acpi_sleep

2006-03-02 Thread Michael Biebl
Found two minor issues. One in do_acpi_sleep where the path to deallocvt is /usr/bin in Debian (simply removed the path) and the more important one in the init script: CPUFREQ_MODULES and CPUFREQ_MODULES_GREP contain acpi, whereas it should be acpi_cpufreq nowadays (I don't know if it was called

Re: [powersave-devel] Powersave 0.13.0 - A Longer Statement

2006-03-17 Thread Michael Biebl
Holger Macht wrote: Hi, Topics: - New release 0.13.0 - CPU Hotplugging - Suspend to ram that 'just works' - Make use of our messaging architecture - Excerpt from the changelog New release 0.13.0 == I'm glad to announce a brand new release of the Powersave

[powersave-devel] (k)powersave for Gentoo

2006-05-07 Thread Michael Biebl
Hi all, just wanted to let you know that the Gentoo ebuilds I posted some time ago have been updated and are now part of the official Gentoo portage archive. A simple # emerge powersave resp. # emerge kpowersave is all you need to do now. Couldn't be easier ;-) I think the credit is due to Jiri

[powersave-devel] check for BUILD_ARCH broken

2006-09-11 Thread Michael Biebl
Hi all, in 0.14 configure.ac/configure contains a check for the build architecture and the configure step fails, if no supported architecture is found. This breaks the build on our Debian build servers for sparc[1], s390[2], hppa[3], mips[4], arm[5], mipsel[6] and alpha[7]. I was wondering, why

Re: [powersave-devel] Changes in SVN trunk regarding suspend to disk

2006-09-15 Thread Michael Biebl
Stefan Seyfried wrote: Hi, just to let everybody know :-) I checked in a small change into SVN trunk that will make powersaved use the userspace suspend (from http://suspend.sf.net) per default. To use it, you need to have s2disk and resume installed in /usr/sbin and configured correctly.

Re: [powersave-devel] kpowersave dbus 0.9.3 problem

2006-10-01 Thread Michael Biebl
Dawid Wróbel schrieb: Hi, I am on arch here, was trying to compile kpowersave after recent dbus update, but I get following error: checking dbus/connection.h usability... no checking dbus/connection.h presence... no checking for dbus/connection.h... no configure: error: You need

[powersave-devel] [PATCH] check for dbus_bus_register errors

2006-11-08 Thread Michael Biebl
Hi, attached is patch, which checks the error code on dbus_bus_register and gracefully returns in that case. See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=397318 as reference. (Note: the actual problem were missing rights for /etc/passwd, yet it triggered this error message for

[powersave-devel] New unstable release of powersave 0.15.x

2007-03-26 Thread Michael Biebl
It seems as if the openSUSE repository [1] ships a version 0.15.10 from the unstable branch of powersave. Would it be possible to release a new 0.15.x version which is officially available from sf.net? I'd like to test the new power management infrastructure (kpowersave-0.7.2 (gui), hal-0.5.9~rc2,

Re: [powersave-devel] New unstable release of powersave 0.15.x

2007-03-26 Thread Michael Biebl
Holger Macht wrote: On Mon 26. Mar - 20:15:14, Holger Macht wrote: On Mon 26. Mar - 18:02:00, Michael Biebl wrote: It seems as if the openSUSE repository [1] ships a version 0.15.10 from the unstable branch of powersave. Would it be possible to release a new 0.15.x version which is officially

Re: [powersave-devel] New unstable release of powersave 0.15.x

2007-03-27 Thread Michael Biebl
Zitat von Holger Macht [EMAIL PROTECTED]: 3.) Now that we have at least one proper client for the two major desktops (g-p-m and kpowersave), the following files have become obsolete and could/should be removed - do_screen_saver - do_x_notification - wm_logout - wm_shutdown - wttyhx -

[powersave-devel] [PATCH] as_ac_expand removal

2007-04-02 Thread Michael Biebl
Seems my last no_as_ac_expand.patch was not quite complete and broke powersaved as it didn't expand the variables at make time. The recommended way is described in the gnu autconf manual [1]. So, the patch does the following 1.) Generates manpages / initscript at make time, using sed. Remove them

[powersave-devel] [Fwd: Bug#417490: FTBFS with GCC 4.3: missing #includes]

2007-04-02 Thread Michael Biebl
Hi, might be the best to fix this directly upstream. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? ---BeginMessage--- Package: powersave Version: 0.14.0-6 Usertags: ftbfs-gcc-4.3 Tags: patch Your package fails to

[powersave-devel] liblazy/powersave: No support for PK 0.7?

2008-01-23 Thread Michael Biebl
Hi, I tried to get powersave 0.15.19 (for which unfortunately no official tarball exists, had to extract it from the SUSE srpm) running for Debian. The current solution with kpowersave 0.7 and powersave 0.14.x is suboptimal, as they both don't really work nicely together. The versions I used

Re: [powersave-devel] liblazy/powersave: No support for PK 0.7?

2008-01-24 Thread Michael Biebl
Danny Kukawka wrote: On Donnerstag, 24. Januar 2008, Holger Macht wrote: On Thu 24. Jan - 02:33:43, Michael Biebl wrote: [...] Has this been removed lately from HAL? I'm currently using a git snapshot from 2007-12-12 and dbus-send --system --print-reply --dest=org.freedesktop.Hal /org

[powersave-devel] liblazy/powersave: No support for PK 0.7?

2008-01-28 Thread Michael Biebl
Hi, I tried to get powersave 0.15.19 (for which unfortunately no official tarball exists, had to extract it from the SUSE srpm) running for Debian. The current solution with kpowersave 0.7 and powersave 0.14.x is suboptimal, as they both don't really work nicely together. The versions I used

Re: [powersave-devel] liblazy/powersave: No support for PK 0.7?

2008-01-28 Thread Michael Biebl
Holger Macht wrote: On Mon 28. Jan - 18:20:52, Michael Biebl wrote: Holger Macht wrote: This is really weird. The copy of liblazy I have is dated from 2.11.07, the one at [1] is from 21.11.07. Have you maybe re-released the 0.2 tarball after [2] without bumping the version number? Can you

Re: [powersave-devel] Powersave 0.15.20 - A bugfix release

2008-04-20 Thread Michael Biebl
Holger Macht wrote: Hi, Powersave 0.15.20 is available on sourceforge [1]. Only bug fixes went in. Although it is marked as unstable, you could consider this as a stable release. Powersave is feature complete, and so 0.15.x will most likely be Will powersave be updated to the new sysfs_power

[powersave-devel] [PATCH] dbus-send path

2008-04-21 Thread Michael Biebl
Hi, as it is not guaranteed, that dbus-send is in /bin (e.g. on Debian, Ubuntu and Gentoo it is in /usr/bin), I simply stripped of the leading path. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? diff --git