is GeoClue using GPSD?

Bastien Nocera hadess at hadess.net
Tue Feb 28 14:34:30 UTC 2017


On Tue, 2017-02-28 at 12:42 +0100, Zeeshan Ali (Khattak) wrote:
> On 28 February 2017 at 11:34, Bastien Nocera <hadess at hadess.net>
> wrote:
> > On Tue, 2017-02-28 at 11:30 +0100, Zeeshan Ali (Khattak) wrote:
> > > Hi,
> > > 
> > > On 28 February 2017 at 11:26, Bastien Nocera <hadess at hadess.net>
> > > wrote:
> > > > On Sun, 2017-02-26 at 17:42 +0100, Zeeshan Ali (Khattak) wrote:
> > > > > Hi Nikolai,
> > > > > 
> > > > > On 26 February 2017 at 14:29, Nikolai Neff <nineff at gmail.com>
> > > > > wrote:
> > > > > > Hello!
> > > > > > 
> > > > > > Currently I'm trying to get Gnome Maps to display my
> > > > > > location
> > > > > > based
> > > > > > on my
> > > > > > USB-GPS receiver (NL-602U). However geoclue seems to only
> > > > > > provide
> > > > > > very rough
> > > > > > data based on my IP address. The receiver is working fine
> > > > > > with
> > > > > > GPSD
> > > > > > and its
> > > > > > clients like Navit.
> > > > > > 
> > > > > > I couldn't really find any documentation regarding the use
> > > > > > of
> > > > > > GPS
> > > > > > in
> > > > > > combination with GeoClue, so that's why I'm asking here.
> > > > > 
> > > > > Unfortunately there is no support currently:
> > > > > https://lists.freedesktop.org/archives/geoclue/2015-June/0006
> > > > > 87.h
> > > > > tml
> > > > > (please read that thread on this topic) but the network NMEA
> > > > > source
> > > > > mentioned in there has been in place for a while now so it
> > > > > shouldn't
> > > > > be a huge task at all to get geoclue to make use of GPSD.
> > > > 
> > > > I'd recommend making it use gypsy instead:
> > > > http://gypsy.freedesktop.org/why-not-gpsd.html
> > > 
> > > I think more relevant fact here is that Gypsy has been completely
> > > unmaintained for years now so I wouldn't want to depend on it
> > > unless
> > > the situation changes.
> > 
> > The difference in quality between the two really hasn't changed,
> > fwiw.
> 
> Sure but unmaintained code means a lot of problems. E.g I recently
> had
> to kick the entire navigation framework from Genivi Dev Platform
> because it was requiring gypsy and gypsy doesn't build with latest
> gcc.

It's probably easier to fix the few warnings or errors in gypsy than to
make gpsd's architecture sensible. We can even figure out how to give
write access to the repo if that's going to be of help.


More information about the GeoClue mailing list