QTMoko website

Radek Polak psonek2 at seznam.cz
Fri Oct 5 07:20:54 CEST 2012


On Thursday, October 04, 2012 08:10:51 PM Neil Jerram wrote:

> 1. If two applications each use NeoGpsPlugin+QNmeaWhereabouts to access
> GPS, there will be two instances of NeoGpsPlugin, and they will both try
> to open /dev/ttyO1, which (for me) hangs the whole system.  Therefore,
> even if we modify every GPS application to use QWhereabouts, we still
> can't run more than one of those applications at the same time.

Oki, this sound like a big flaw in QWhereabouts - i thought they had solved 
such a basic thing when they implemented it - btw older qtopia was using gpsd.

> With my patch, you still get all that for applications like NeronGPS
> that use QWhereabouts - except I don't know about AGPS, because we don't
> yet have that on GTA04.

Hmm maybe we could use the gpsd hooks for this. Or we can stick with Nmea 
whereabouts on GTA02 and use gpsd on GTA04.

> I agree you wouldn't get it if, say, the Bluetooth GPS export function
> was running on its own.  That wouldn't be a problem for me, though,
> because the device that I'm trying to export GPS to has it own good UI
> for showing fix status, satellites and so on.

Oki

> Also in practice I expect
> that I'll usually be running NeronGPS at the same time, and that will
> activate QWhereabouts and so give me all those UI indications on the
> GTA04.

This is good idea.

> I agree that's annoying - for example because it prevents me from trying
> out the QGpsdWhereabouts code - but I don't understand how it might
> affect your wheezy/armhf experiment.  As long as there's a version of
> gpspipe that matches the version of gpsd, I don't think we need anything
> else.

I think we could try it for next GTA04 release then - or whenever you are 
finished with it, just send me the final patch...

Regards

Radek



More information about the community mailing list