[maemo-users] accessing N900 internal gps for console apps

From: Aldon Hynes Aldon.Hynes at Orient-Lodge.com
Date: Thu Dec 24 03:44:43 EET 2009

   The whole GPSD aspect throws a complicated wrench in the project.  If you are simply looking for the ability to read simple GPS data off of port 2947, that wouldn't be too difficult.  Setting up a python script to act as a server that you could connect to port 2947 and get the GPS data available from liblocation would be pretty simple.

   The problem is that GPSD is much more complicated than simple lat/long/alt that liblocation returns.  As I read it, GPSD gets pretty nitty/gritty in terms of translating NMEA 0183 data, into some sort of GPSD format which is then queryable on port 2947.

   Given that, I'm not sure if there is enough data available from liblocation available to be able to emulate GPSD.  

   All of that said, the idea of building a GPSD application that receives liblocation data and generates the same output as the traditional gpsd routine sounds particularly interesting and I would be willing to try and collaborate.

   Anyone else know of anything being done in this area?


-----Original Message-----
From: Jason [mailto:maemo at lakedaemon.net]
Sent: Wednesday, December 23, 2009 6:32 PM
To: Aldon Hynes
Cc: maemo-users at maemo.org
Subject: Re: accessing N900 internal gps for console apps

Aldon Hynes wrote:
> For a good starting point, I would recommend 
> http://wiki.maemo.org/PyMaemo/Using_Location_API

Okay, that's a good start.  I found the raw C api here [1].  Does this
generate a tcp listener socket on 2947?  It doesn't look like it.  :-(
I'm shooting for a gpsd equivalent so existing gpsd aware apps don't
need to be modified.



[1] -

More information about the maemo-users mailing list