On Sunday 18 December 2011 14:12:45 Guilhem Bonnefille wrote: > But, the topic seems to need some more work for a better integration. > When I start navit, nothing occurs on GPS device part: nor power on, > nor GPSd launch. Did I missed something? Currently I imagine the > following solutions: > - use a script shell wrapper around navit to activate device, start > gpsd and fire navit (and undo all these when navit terminate) > - insert some specific code in navit for qtmoko, like NeronGPS does > (directly power on or off from code via > /sys/devices/platform/gta02-pm-gps.0/power_on) > > This topic brings me an other question: what design for GPS related > tools? Raw device (like NeronGPS) or GPSd (like currently > pre-configured navit-qtmoko)?
I think you can configure gpsd to automatically run script which is executed when client program connects. It could be e.g. /opt/qtmoko/bin/gps-poweron.sh I havent played with gpsd very much yet. I think i will not work on this until i have case for mine GTA02, because i cant test it now... Regards Radek _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community