[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pbbuttonsd script interface - future?



   Date: Wed, 28 Apr 2004 17:44:18 +0200
   From: Guido Guenther <agx@sigxcpu.org>

   Dear maintainers of a piece of power management infrastructure,
   recently a discussion started on debian-ppc on how to better integrate
   the different power management solutions within Debian.

I'm sorry not to have responded sooner to your earlier messages.  I've
been very busy as our lab moved last month and things here have been
complete chaos.  I'm about two months behind in answering my email.

I was hoping that Thomas Hood would join the conversation, as he has
been thinking about this kind of thing more than me.  One thing that
Thomas and I have discussed is a change to the apmd proxy system to
use dependencies rather than the init-like numeric sequencing.  Thomas
built a private package, called "once", that makes this easy.  But I
haven't had time to play with it.  This might be a good time to try it
out.

Another thing to think about is whether D-BUS ought to be used for
this purpose.  Several recently designed event frameworks have been
built around this, including udev and hal.

I agree with Thomas that trying to reuse apmd_proxy is the wrong
solution.  It makes sense that there be a common event framework for
power-management events, but that framework doesn't belong in apmd; it
belongs in powermgmt-base.  I'd be happy to incorporate such a
framework if there is some consensus about its design.

Chris



Reply to: