[Dextrose] automatic idle-suspend

Bernie Innocenti bernie at codewiz.org
Tue Nov 9 18:28:35 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"
  fi

Can Sugar actually reset this flag? Perhaps we should change ownership
to user olpc.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/



More information about the Dextrose mailing list