tkx, I was hoping yaml would be the SHR way to do it, but it isnt up to
the job as far as I can see.  Thanks for the dbus lines - saved me some
research to find them!

BillK


On Sat, 2009-02-21 at 13:36 +0100, Johny Tenfinger wrote:
> So simply use script wrapper to tangoGPS:
> 
> #!/bin/sh
> mdbus -s org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage
> org.shr.ophonekitd.Usage.RequestResource 'CPU'
> mdbus -s org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage
> org.shr.ophonekitd.Usage.RequestResource 'Display'
> /usr/bin/tangogps
> mdbus -s org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage
> org.shr.ophonekitd.Usage.ReleaseResource 'CPU'
> mdbus -s org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage
> org.shr.ophonekitd.Usage.ReleaseResource 'Display'
> 
> I believe using dbus-send would be faster, if you think mdbus is too
> slow, please look at it. You also can try to run all of mdbus calls in
> background by adding "&" on end of each line.
> 
> dos
> 
> _______________________________________________
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
-- 
William Kenworthy <bi...@iinet.net.au>
Home in Perth!


_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to