yaml rule to stop suspending when using gps

Dylan Reilly dreilly at atariland.net
Sat Feb 21 18:11:51 CET 2009

To my knowledge, there is no specific action available to the oevents
subsystem of frameworkd that would allow one to set up a rule in
rules.yaml (maybe I am wrong). However, newer frameworkd's have
resource requesting that will allow one to request CPU resource which
will stop frameworkd from suspending.

It is not hard to implement, especially in python. Take a look at code
in my updates to pythm (opkg.org) for an example. You will want
backend/backend.py. You could either implement this in the application
directly, or perhaps make a wrapper for it.

On Sat, Feb 21, 2009 at 7:55 AM, Johny Tenfinger <seba.dos1 at gmail.com> wrote:
> On Sat, Feb 21, 2009 at 13:48, arne anka <openmoko at ginguppin.de> wrote:
>>> Thanks for the dbus lines - saved me some
>>> research to find them!
>> does the mdbus calls work for you with a recent frameworkd (ie ms5)?
>> every attempt to do something like this dies on my debian/fso with an auth
>> error -- be i root or not.
> To me on shr-unstable it works.
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

Dylan Maxwell Reilly

More information about the community mailing list