[ohm] OHM vs. PPM

Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Mon May 5 01:01:05 PDT 2008


On Sun, 2008-05-04 at 18:07 +0100, ext Richard Hughes wrote:
> On Sat, May 3, 2008 at 1:52 PM, Holger Macht <holger at homac.de> wrote:
> > On Sa 03. Mai - 15:28:44, Marc-André Lureau wrote:
> >  > For the OHM vs GNOME Power Manager, I'd rather let Richard explain
> >  > since he wrote those two, certainly with different designs in mind.
> >
> >  Right, the initial approach for OHM was to be system level because it
> >  should also handle multiple session issues. And I don't see how this can
> >  work if OHM itself would be part of a desktop session. I just wonder where
> >  the request making OHM per session actually came from...
> 
> I wrote OHM in a few days to show a simple project that could be used
> system wide for the nokia tablets or the OLPC laptop - it just wasn't
> designed to be per-session like you guys are suggesting. Being blunt,
> the session use-case is already being served by kpowersave,
> gnome-power-manager and guidance-power-manager, so I really see OHM
> fitting in system wide for the niche cases, not session wide for a
> generic desktop.
> 
> For the embedded or server user case, a session wide daemon just
> doesn't make sense IMO.

It'd be best to have only one OHM daemon running in the system, at least
for the RAM-constrained embedded case. Session-specific policies could
be implemented through configuration, interpreted policy language, or
plugins. It should not be difficult to find out whose home directories
to scan, and when, for session-specific configuration.

BR, Kimmo

> 
> Richard.
> _______________________________________________
> Ohm-devel mailing list
> Ohm-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ohm-devel


More information about the Ohm-devel mailing list