[Pkg-utopia-devel] Re: [Powermgmt-Devel] Hal and power management in debian

Michael Schmitz schmitz at zirkon.biophys.uni-duesseldorf.de
Thu Feb 9 10:33:26 UTC 2006


>  The first thing is that we need some policy about who can do powermanagement
>  (thus things like suspending, hibernating, etc). I was thinking about using
>  a new group in the spirit of ``plugdev'' called ``powerdev''. Users in this
>  group will be able to do powermanagement.

Good.

>    When pam-foreground is integrated in debian, we can optionally also have hal
>  do policy on basis of that.
>
>
>   Furthermore, hal doesn't do the suspending itself. The callouts are made to
>   call another program which should do the actual suspending.
>
>   On powerpc it could use pmud or pbbuttonsd (whichever is installed). I don't
>   know what it could use on ACPI and APM machines as i don't have experience
>   with them (help here would be appreciated).

Both pmud and pbbuttonsd will already be running, listening for events
(pmud does listen on the loopback interface, not sure about pbbuttonsd).
Running 'snooze' will contact pmud and issue the sleep command via the
loopback port. A similar mechanism should be present in pbbuttonsd.

	Michael




More information about the Pkg-utopia-devel mailing list