Jason, 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? Aldon -----Original Message----- From: Jason [mailto:maemo@xxxxxxxxxxxxxx] Sent: Wednesday, December 23, 2009 6:32 PM To: Aldon Hynes Cc: maemo-users@xxxxxxxxx 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. thx, Jason. [1] - http://maemo.org/api_refs/5.0/beta/liblocation/LocationGPSDControl.html _______________________________________________ maemo-users mailing list maemo-users@xxxxxxxxx https://lists.maemo.org/mailman/listinfo/maemo-users