[Dextrose] automatic idle-suspend
pgf at laptop.org
Tue Nov 9 19:37:37 EST 2010
> On Tue, 2010-11-09 at 12:16 -0500, Paul Fox wrote:
> > bernie wrote:
> > > [cc += dsd]
> > >
> > > On Tue, 2010-11-09 at 07:04 -0500, Paul Fox wrote:
> > > > i assume someone decided autosuspend wasn't ready for prime time. there's
> > > > certainly been a lot of evidence for that, surrounding networking, for
> > > > instance. dsd may be responsible?
> > >
> > > In my experience, autosuspend was way too buggy to be enabled by
> > > default, even on the XO-1.5. However, why disable it at the powerd
> > > level?
> > where else would you disable it? perhaps i'm working at a disadvantage
> > here, since i don't know what was in the referenced module. i assumed
> > it simply created the /etc/powerd/flags/inhibit-suspend file so that
> > power management was off by default. no?
> Sorry, I was simply very confused. This is exactly what
> modules/powerd/kspost.50.autosuspend.sh does:
> if [[ "$idle_suspend_enabled" != 1 ]]; then
> echo "touch /etc/powerd/flags/inhibit-suspend"
> Can Sugar actually reset this flag? Perhaps we should change ownership
> to user olpc.
the directory should be world writeable. this is exactly how the
control panel inhibits suspend.
paul fox, pgf at laptop.org
More information about the Dextrose