Page 1 of 1

GPSD on Cygwin V0.1

PostPosted: Fri Sep 23, 2005 11:04 am
by renderman
If you want to run GPSD on Cygwin for use with Kismet or other such things, here's your guide:

Many thanks to Goldfndr for creating the patch that allows this.

PostPosted: Fri Sep 23, 2005 11:14 am
by theprez98
As always, you rock.

PostPosted: Wed Sep 28, 2005 6:58 pm
by goldfndr
Mark57 wrote:No, I do not get or keep a 3D lock. Just tested it again.

For anyone unable to get a 3D lock on their GPS unit that speaks only NMEA, try commenting out line 569 of libgpsd_core.c:
// gps_clear_fix(&session->gpsdata.fix);

It seems that session->gpsdata.fix.mode is getting cleared extremely frequently by this statement, while session->gpsdata.newdata.mode is getting set very seldom (by $GPGSA, all others are compares), so the gps_merge_fix() that newdata changes are supposed to cause aren't occurring. In other words, newdata is checked/set, but the changes aren't going into fix. I'd tried following the above statement with a "gps_clear_fix(&session->gpsdata.newdata);" but that didn't seem to help.

Before and after doing this, please try running cgps (Linux or Cygwin, whatever you have available) and report back. Don't use Kismet for testing GPS - that'd be like using MSIE for testing HTML validity, and I hope nobody here would do that!

PostPosted: Thu Oct 06, 2005 8:37 pm
by goldfndr
For anyone looking to use gpsd in conjunction with something else or otherwise use multiple apps with one GPS receiver, XPort (currently XPort3, previously XPort2) works pretty well. It has a support forum with a friendly author. Admittedly it seemed to take a while to recognize my hotplugged USB GPS receiver (PL2303-based) but after it saw the port it did allow me to run Kismet and NetStumbler simultaneously yesterday (analysis later; NetStumbler got some that Kismet missed) with full GPS support.

Pointed to by rage, hadn't seen it mentioned elsewhere here yet. Please add to guide if it works for you.

Re: GPSD on Cygwin V0.1

PostPosted: Thu Apr 25, 2013 1:04 am
by jodiety11
Not so serious...