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 path for Gentoo.
@Danny: Do you think it would be safe to assume /bin/pidof or should we create a configure check? Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Index: src/autosuspend.cpp =================================================================== --- src/autosuspend.cpp (Revision 311) +++ src/autosuspend.cpp (Arbeitskopie) @@ -165,7 +165,7 @@ delete proc; proc = new KProcess; - *proc << "/sbin/pidof" << blacklist; + *proc << "/bin/pidof" << blacklist; connect( proc, SIGNAL(receivedStdout(KProcess *, char *, int)),this, SLOT(getPIDs(KProcess *, char *, int)));
signature.asc
Description: OpenPGP digital signature
_______________________________________________ powersave-devel mailing list [email protected] http://forge.novell.com/mailman/listinfo/powersave-devel
