On Thu, Aug 13, 2009 at 10:58:54AM -0400, Warren Baird wrote:
> On Thu, Aug 13, 2009 at 10:56 AM, Warren Baird
> <wjba...@alumni.uwaterloo.ca>wrote:
> 
> > I believe that "fsoraw -r RESOURCE myprogram" is approximately like writing
> > a script like:

>    #!/bin/sh
>    mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage
> org.freesmartphone.Usage.SetResourcePolicy RESOURCE enabled
>    myprogram
>    mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage
> org.freesmartphone.Usage.SetResourcePolicy RESOURCE disabled

   No, SetResourcePolicy does something entirely different than fsoraw
(RequestResource). Why do you not try it both ways? You can use "sleep 20"
for "myprogram" and "GPS" for "RESOURCE" and with both, try to see if you
can get TangoGPS or some such gpsd user to work afterwards. Reboot before
each attempt so you start from a known working state.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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

Reply via email to