[2008.8] TangoGPS/gpsd and suspend/resume

Radek Bartoň blackhex at post.cz
Mon Sep 15 16:45:09 CEST 2008


> > BTW: What do you think is the best way to detect that GPS should be
> > powered up after resume: seach for tangogps process or save GPS state in
> > suspend.d script to some file (i. e. /var/run/gps_state) and enable GPS
> > accordingly?
>
> IMHO it should save the state.

I meant how should I regognize that GPS was on before suspend. Maybe clearer 
way may be ask on D-Bus (if such interface exists) and save that information 
to gconf?

-- 
Ing. Radek Bartoň

Faculty of Information Technology
Department of Computer Graphics and Multimedia
Brno University of Technology

E-mail: blackhex at post.cz
Web: http://blackhex.no-ip.org
Jabber: blackhex at jabber.cz



More information about the devel mailing list