[kismac] Re: gpsd and kismac - bug?
- From: "robin@xxxxxxxxxxxxx" <robin@xxxxxxxxxxxxx>
- To: kismac@xxxxxxxxxxxxx
- Date: Mon, 13 Mar 2006 15:34:33 -0500
gpsd-2.32 fixes this timout error. However, there is still a serious error
in the speed output of gpsd-2.32, patch as
follows:
6:36 [~/src/gpsd-2.32] robin> diff -u gpsd-orig.c gpsd.c
--- gpsd-orig.c 2006-03-14 06:24:47.000000000 +1030
+++ gpsd.c 2006-03-14 06:27:20.000000000 +1030
@@ -868,7 +868,7 @@
break;
case 'V':
if (assign_channel(whoami) && have_fix(whoami->device) &&
isnan(whoami->device->gpsdata.fix.track)
==0)
- (void)snprintf(phrase, sizeof(phrase), ",V=%.3f",
whoami->device->gpsdata.fix.speed / KNOTS_TO_KPH);
+ (void)snprintf(phrase, sizeof(phrase), ",V=%.3f",
whoami->device->gpsdata.fix.speed * MPS_TO_KNOTS);
else
(void)strcpy(phrase, ",V=?");
break;
Original Message:
-----------------
From: themacuser themacuser@xxxxxxxxx
Date: Mon, 13 Mar 2006 14:57:25 +1030
To: kismac@xxxxxxxxxxxxx
Subject: [kismac] gpsd and kismac - bug?
I have gpsd version 2.31 (the latest), and KisMac r99. Does anyone
else get KisMac disconnecting from gpsd after a fair while? When I go
"Reset GPS Subsystem" it reconnects and is fine.
However, I tried with a netcat session to gpsd, and that exhibited
the same behavior, getting cut off at the same time as KisMac, so I
think this is a bug in gpsd. We could include some code to attempt a
reconnection to gpsd if the connection was dropped, and then display
an error if we can't. I'll work on it.
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
- Follow-Ups:
- [kismac] Re: gpsd and kismac - bug?
- From: Robin L Darroch
Other related posts:
- » [kismac] gpsd and kismac - bug?
- » [kismac] Re: gpsd and kismac - bug?
- » [kismac] Re: gpsd and kismac - bug?
- » [kismac] Re: gpsd and kismac - bug?
- [kismac] Re: gpsd and kismac - bug?
- From: Robin L Darroch