From MAILER-DAEMON Fri Jul 01 23:33:51 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bJBgk-0003W9-VP
	for mharc-gpsd-dev@gnu.org; Fri, 01 Jul 2016 23:33:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54610)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bJBgi-0003Uq-8x
	for gpsd-dev@nongnu.org; Fri, 01 Jul 2016 23:33:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bJBge-00074F-3m
	for gpsd-dev@nongnu.org; Fri, 01 Jul 2016 23:33:47 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:42222)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bJBgd-00073O-Qq
	for gpsd-dev@nongnu.org; Fri, 01 Jul 2016 23:33:44 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u623Xcen016712
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 1 Jul 2016 20:33:39 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u623Xcvn022921
	for <gpsd-dev@nongnu.org>; Fri, 1 Jul 2016 20:33:38 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u623Xcd7022918
	for <gpsd-dev@nongnu.org>; Fri, 1 Jul 2016 20:33:38 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 1 Jul 2016 20:33:38 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160630202630.44c91612@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607012005010.20970@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1606301809230.17871@bolt.sonic.net>
	<20160630184831.22326057@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1606301857060.31471@bolt.sonic.net>
	<20160630202630.44c91612@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVbYrN8M7xSzqnNL5WyT1oZdL0t9rPu1ov1qdjLMikt2kZfPFS4zu94uLoNWWSwEdOJ5muXq6ovwPr4Zn5Kx9IPo
X-Sonic-ID: C;0DD0wwVA5hG0gpNwxPCmMQ== M;cg8UxAVA5hG0gpNwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] NO_HZ Avoidance
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Jul 2016 03:33:49 -0000


On Thu, 30 Jun 2016, Gary E. Miller wrote:
> On Thu, 30 Jun 2016 20:04:04 -0700 (PDT)
> Fred Wright <fw@fwright.net> wrote:
>
> > On Thu, 30 Jun 2016, Gary E. Miller wrote:
> > > On Thu, 30 Jun 2016 18:25:10 -0700 (PDT)
> > > Fred Wright <fw@fwright.net> wrote:
> > >
> > > > I see the recently added recommendation to disable NO_HZ on ARM.
> > > > This doesn't make sense when using the KPPS driver to capture the
> > > > PPS timing with interrupts, since I really don't see how adding
> > > > more clock interrupts is going to improve the accuracy of
> > > > servicing the PPS interrupts.
> > >
> > > I'm still learning about the ARM power savings.  As a general rule
> > > tickless operation lets tha CPU go into deeper power saving states,
> > > which is not what we want.
> >
> > Even if that's true (which isn't entirely clear), it may be negligible
> > depending on which level of power state it actually goes into.
>
> Maybe, but not negligible in my case.  With NO_HZ off I'm running a
> whopping 5v and 0.400 amps.  Since I am on the AC mains the power
> savings is too small to worry about.

I meant negligible in terms of the timing effect.

> > It's not clear that that mechanism is even active on the BBB
>
> well then, you have some kernel compiling and long term testing to do!
>
> > given the absence of the
> > /sys/devices/system/cpu/cpu0/cpuidle/ directory.
>
> I'm not sure how that is relevant.  I do not have that either, yet
> NO_HZ=off clearly helps my RasPi.

The processor doesn't magically use deeper C states on its own - a kernel
driver is required to do that.  From what I can tell from documentation on
that, this is normally handled by the "cpuidle" driver, which exports the
aforementioned variables (including reporting what the latencies are for
exiting from the supported C states).  The absence of the variables
indicates that the driver isn't active.

It does appear that default state of the *frequency* governor is
influenced by whether it's running "tickless", but that's an overridable
default.

In any case, "clearly helps" seems like a bit of a stretch. :-)

> > I see a diurnal variation in your frequency data, which is most likely
> > thermal.
>
> Nope.  That is due to the sidereal day effects of the sat orbits.  My

That seems unlikely.  Each satellite has a different path through the sky
during its period of visibility, and of course satellites come and go over
periods of around six hours.  The probability that thwt complicated mess
could just happen to turn into something looking very much like a daily
sinusoid seems *very* unlikely.

If it's a GPS-side issue, it's more likely due to uncompensated
ionospheric variations.  Those would follow *solar* days, not sidereal
days.  The difference is too small to see in a week, but comparing
correlations with time of day at different times of year would show it.

One would expect DGPS to help with that, since one of its main effects is
to provide better ionospheric compensation (as well as for satellite clock
and orbit errors).  But I note that the U-Blox documentation recommends
*disabling* DGPS for timekeeping purposes.  Perhaps they're applying
corrections in an overly rude fashion.

> Actually, if you look further down my URL, you'll see that a 20 microSec
> offset between my local RasPi's is normal.  Or, you would se it, except
> for a reboot swamping the graph there.  Another generation or two of
> RasPi and it might be that it will get PTP.

Highly unlikely unless they switch to a better processor.  I'm pretty sure
the NIC in the Pi has no hardware timestamping capability, and of course
it's a totally lame crock that's connected via USB.  An undocumented USB
controller with a binary blob for a driver, no less.

> The RasPi also has some counter timers in it and some people have been
> connecting those to the CPU clock.  Way down on my todo list, but
> making the RasPi a cheap GPSDO , with variable frequency output, is a
> possibility.

I'm pretty sure the Pi has no ability to time a GPIO signal with hardware.
If you know otherwise, feel free to post the section of the documentation.

> > On the BBB I've meaured it (admittedly via a somewhat "heavyweight"
> > method) as typically about 14us (occasionally much longer, as one
> > would expect).  This is of course completely invisible to NTPd, which
> > can only go by what the PPS driver reports.
>
> Look in the ntpd stats files.  ntpd logs things to the nanoSecond.

It could log things to the attosecond and that wouldn't change the fact
that it only sees the *reported* PPS time, not the actual PPS time, which
was my point.

Also, the GPS PPS isn't really good down to single nanoseconds, anyway,
for a number of reasons.

> > To measure it less invasively, I'd want to patch the KPPS driver to
> > *output* a PPS signal right at the time that it timestamps the
> > incoming PPS event, so that one could observe the latency on a 'scope.
>
> I believe that kernel driver exists.  I'd love to hear your results.

It would have to be part of the KPPS driver itself to be useful.

> > The AM3358 used in the BBB has hardware features that could improve
> > this dramatically, but software work is needed to exploit them (and a
> > jumper wire, since the GPIO that Yantrr picked for the PPS signal
> > isn't ECAP-capable).  In principle, one could get both
> > hardware-captured timing of the PPS signal and hardware timestamping
> > of the network packets. AFAICT, none of the other low-cost SBCs has
> > this property.
>
> I have heard of some kernel hacks for the RasPi to get the internal DMA
> to hardware timestamp the PPS.  I look forward to seeing more work on
> that.

Doing it via DMA is a rather ugly approach, and still requires that the
GPIO can be routed to something the DMA controller can see.

The AM3358 has a couple of copressors that can be used to offload
time-critical tasks, but there isn't really a need to use them for this
when the event capture facility does exactly what one wants.

Remember the Pi was designed for schoolkids, not hackers. :-)

Fred Wright


From MAILER-DAEMON Fri Jul 01 23:55:39 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bJC1r-0006J3-Aw
	for mharc-gpsd-dev@gnu.org; Fri, 01 Jul 2016 23:55:39 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56753)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bJC1o-0006Ev-Tg
	for gpsd-dev@nongnu.org; Fri, 01 Jul 2016 23:55:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bJC1l-0003Tu-NH
	for gpsd-dev@nongnu.org; Fri, 01 Jul 2016 23:55:35 -0400
Received: from rellim.com ([2001:470:e815::19]:43908 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bJC1l-0003TK-7x
	for gpsd-dev@nongnu.org; Fri, 01 Jul 2016 23:55:33 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u623tA6i001221
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 1 Jul 2016 20:55:16 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u623tA6i001221
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1467431716; bh=cNqeywZkzOd8uu8PVMlIY6Gs14zyXrGkAdphwhIopc0=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=WI5ZG/8mfZDgU5UF6e/YDvSFth10d29+ktMe0a+ksXydVXpvSZPfDBNgC6HvuIzSb
	WdL+zXNpmyLWnljdyCZVc0FpOyhgHQ0wWWVPhWKzGse/PVOJnIB+JRofDf/snUR+Gz
	EY6MaHDoR65b/ZBvn/iJgRNOtNIXt+IVd+EIto8A=
Date: Fri, 1 Jul 2016 20:55:00 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160701205500.742f0f4a@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607012005010.20970@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1606301809230.17871@bolt.sonic.net>
	<20160630184831.22326057@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1606301857060.31471@bolt.sonic.net>
	<20160630202630.44c91612@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607012005010.20970@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/ogv7maG9/FeXzx8odr5xXUa";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 01 Jul 2016 20:55:16 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] NO_HZ Avoidance
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Jul 2016 03:55:38 -0000

--Sig_/ogv7maG9/FeXzx8odr5xXUa
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Fri, 1 Jul 2016 20:33:38 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> > > > I'm still learning about the ARM power savings.  As a general
> > > > rule tickless operation lets tha CPU go into deeper power
> > > > saving states, which is not what we want. =20
> > >
> > > Even if that's true (which isn't entirely clear), it may be
> > > negligible depending on which level of power state it actually
> > > goes into. =20
> >
> > Maybe, but not negligible in my case.  With NO_HZ off I'm running a
> > whopping 5v and 0.400 amps.  Since I am on the AC mains the power
> > savings is too small to worry about. =20
>=20
> I meant negligible in terms of the timing effect.

It 5%.  S owe disagree on how many % nagligible is.

> > I'm not sure how that is relevant.  I do not have that either, yet
> > NO_HZ=3Doff clearly helps my RasPi. =20
>=20
> The processor doesn't magically use deeper C states on its own - a
> kernel driver is required to do that.  From what I can tell from
> documentation on that, this is normally handled by the "cpuidle"
> driver, which exports the aforementioned variables (including
> reporting what the latencies are for exiting from the supported C
> states).  The absence of the variables indicates that the driver
> isn't active.

I'm not gonna worry about it.  I was asked to try it, it works for
me.  YMMV.

> It does appear that default state of the *frequency* governor is
> influenced by whether it's running "tickless", but that's an
> overridable default.

no_hz=3Doff turns off tickless.

> In any case, "clearly helps" seems like a bit of a stretch. :-)

Clearly we don't agree on the words, so I'll just respond: 5%.

> > Nope.  That is due to the sidereal day effects of the sat orbits.
> > My =20
>=20
> That seems unlikely.  Each satellite has a different path through the
> sky during its period of visibility, and of course satellites come
> and go over periods of around six hours.  The probability that thwt
> complicated mess could just happen to turn into something looking
> very much like a daily sinusoid seems *very* unlikely.

The GPS sats return to the exact same positions, as a group, every
sideral day.

This has been discused on time-nuts.  They consider it settled fact.

If you want clarification, I suggest you go over there.


> One would expect DGPS to help with that,

I have a WAAS signal.  That provides the same corrections as DGPS.


> > Actually, if you look further down my URL, you'll see that a 20
> > microSec offset between my local RasPi's is normal.  Or, you would
> > se it, except for a reboot swamping the graph there.  Another
> > generation or two of RasPi and it might be that it will get PTP. =20
>=20
> Highly unlikely unless they switch to a better processor.  I'm pretty
> sure the NIC in the Pi has no hardware timestamping capability, and
> of course it's a totally lame crock that's connected via USB.  An
> undocumented USB controller with a binary blob for a driver, no less.

I stand by my data.  I encourage you to replicate the experiment.

> > The RasPi also has some counter timers in it and some people have
> > been connecting those to the CPU clock.  Way down on my todo list,
> > but making the RasPi a cheap GPSDO , with variable frequency
> > output, is a possibility. =20
>=20
> I'm pretty sure the Pi has no ability to time a GPIO signal with
> hardware. If you know otherwise, feel free to post the section of the
> documentation.

Check out PWM mode:

https://www.npmjs.com/package/raspi-llio
https://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripher=
als.pdf

> > Look in the ntpd stats files.  ntpd logs things to the nanoSecond. =20
>=20
> It could log things to the attosecond and that wouldn't change the
> fact that it only sees the *reported* PPS time, not the actual PPS
> time, which was my point.

Then you lost me.  I thought the whole point was to measure reported PPS
time?  We are talking NTP here, right??

> Also, the GPS PPS isn't really good down to single nanoseconds,
> anyway, for a number of reasons.

I never claimed it was.  I only claimed that ntpd reports down to
nanoseconds.  I never claimed that as accuracy, only as resolution.

And I mentioned it because you claimed to be limited to microSeconds,
where it is clearly deomonstrated that ntpd can do better, even on
the Pi.  Play with your logstats, you'll see, real data in there.

My results speak for themselves, show us yours.

> > > To measure it less invasively, I'd want to patch the KPPS driver
> > > to *output* a PPS signal right at the time that it timestamps the
> > > incoming PPS event, so that one could observe the latency on a
> > > 'scope. =20
> >
> > I believe that kernel driver exists.  I'd love to hear your
> > results. =20
>=20
> It would have to be part of the KPPS driver itself to be useful.

That was also my understanding.

> > I have heard of some kernel hacks for the RasPi to get the internal
> > DMA to hardware timestamp the PPS.  I look forward to seeing more
> > work on that. =20
>=20
> Doing it via DMA is a rather ugly approach, and still requires that
> the GPIO can be routed to something the DMA controller can see.

I'll take ugly if it buys me accuracy.

> Remember the Pi was designed for schoolkids, not hackers. :-)

When I grow up I wanna be a hacker!

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/ogv7maG9/FeXzx8odr5xXUa
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXdzsaAAoJEA0O2UlB0XnYaFoH/jF3HHlkh+IHSNOC8WGNMoB2
qsnC87F8zngdqcpNuyBVyDhf8Vlzfcc7epHirfcN0LW0iT4SSwNHBJhDg9MRjUTD
VNgcALwp5bKnNwY5GW4hdYDPAUH3YiIeqx4qtZjwsnz6GX7mrkzilUvq1ZhSoc3z
/MVsqLSsKk9nsoJkpGesacNZd+SzslWov4WDRJFP199Kw5QCtI4oF8nSimsAkxpv
NhCKWs2X7uB+/tP0CXkKfakcL6znQ0RkCzxjCh9fKIJL/2mHfjfDSX8UaTJ7lLES
vujiKAzx945KrJWXts9XntbedQFI0N5vAGllv4xxWPMMMq3nrkOuut0HUSsjv+E=
=QKjs
-----END PGP SIGNATURE-----

--Sig_/ogv7maG9/FeXzx8odr5xXUa--


From MAILER-DAEMON Sat Jul 02 15:20:00 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bJQSO-00028Y-A6
	for mharc-gpsd-dev@gnu.org; Sat, 02 Jul 2016 15:20:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33581)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bJQSL-00027e-Cu
	for gpsd-dev@nongnu.org; Sat, 02 Jul 2016 15:19:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bJQSF-00017S-6P
	for gpsd-dev@nongnu.org; Sat, 02 Jul 2016 15:19:56 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:44692)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bJQSE-00017B-Te
	for gpsd-dev@nongnu.org; Sat, 02 Jul 2016 15:19:51 -0400
Received: from localhost.localdomain
	(70-36-199-49.dsl.static.fusionbroadband.com [70.36.199.49])
	(authenticated bits=0)
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u62JJbjN004680
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); 
	Sat, 2 Jul 2016 12:19:46 -0700
From: Fred Wright <fw@fwright.net>
To: GPSD Developers List <gpsd-dev@nongnu.org>
Date: Sat,  2 Jul 2016 12:19:35 -0700
Message-Id: <20160702191935.85712-1-fw@fwright.net>
X-Mailer: git-send-email 2.9.0
X-Sonic-CAuth: UmFuZG9tSVaZyjTi3+9a6TYeFru5vaFDOXI37dIw6jkkSAw6bMr/PN/QDhFDOmU1oVibOvKztVcsjER+HX7NiqgfXHUdzifg
X-Sonic-ID: C;sJnw6olA5hGypZtMTlz00w== M;hEPX74lA5hGypZtMTlz00w==
X-Sonic-Spam-Details: 0.0/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: [gpsd-dev] [PATCH] Corrects info regarding 13-bit week numbers.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Jul 2016 19:19:58 -0000

Also updates the "GPS Date Calendar" link, as requested by that
website.
---
 www/hacking.html.in | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/www/hacking.html.in b/www/hacking.html.in
index 20a0d2e..53deac3 100644
--- a/www/hacking.html.in
+++ b/www/hacking.html.in
@@ -1192,11 +1192,11 @@ and bite on various future dates. </p>
 
 <ol>
   <li>The GPS radio format has a Y2K-style bug, the week counter
-  rollover, which happens either every 1024 weeks (roughly 20 years) or
-  every 8192 weeks (roughly 157 years), depending on whether your
-  receiver can decode a 10-bit or 13-bit GPS week field. At time of
-  writing the last 0 week was in 1999, the next 10-bit wraparound will
-  be in 2019, and the next 13-bit wraparound will be in 2157.</li>
+  rollover, which happens either every 1024 weeks (roughly 19.6 years)
+  or every 8192 weeks (roughly 157 years), depending on whether your
+  receiver can decode a 10-bit or 13-bit GPS week field.  At the time of
+  this writing the last 0 week was in 1999, the next 10-bit wraparound
+  will be in 2019, and the next 13-bit wraparound will be in 2137.</li>
 
   <li>NMEA delivers only two-digit years.</li>
 
@@ -1216,20 +1216,22 @@ after a rollover.  This can have side effects:</p>
   have a recent ephemeris.</li>
 </ol>
 
-<p>The public documentation is unclear, but it appears from a
-reference in the Transmission Week Number section of IS-GPS-200
-PIRN-002 that whether you can get 10 or 13 bits is a function of the
-satellite firmware revision, with 13 bits in the Block IIF and later
-birds (the first of these was launched in May 2010). Of course your
-receiver firmware also has to know that the extra three bits are
-present; at time of writing in late 2010 this capability is very rare
-and unavailable on consumer-grade receivers.</p>
+<p>The new 13-bit week number is only provided by the new "CNAV" data,
+which in turn is (or will be) available only in newly added GPS signals.
+Based on the carrier frequencies used, only the newest of the new
+signals (L1C) will be available to common civilian receivers, even with
+compatible hardware and firmware.  This signal is unavailable from
+satellites earlier than Block III, which are currently (July 2016) not
+expected to begin to launch earlier than September 2016.  Given that it
+takes years to launch a full constellation of satellites, it's highly
+unlikely that CNAV data with "operational" status will be available to
+common civilian receivers in time for the April 2019 10-bit rollover.</p>
 
 <p>For these reasons, GPSD needs the host computer's system clock to
 be accurate to within one second.</p>
 
-<p>When debugging time and date issues, you may find an
-<a href="http://adn.agi.com/GNSSWeb/">interactive GPS calendar</a>
+<p>When debugging time and date issues, you may find an interactive
+<a href="http://navigationservices.agi.com/GNSSWeb/">GPS Date Calendar</a>
 useful.</p>
 
 <h2 id="hotplug">Hotplug interface problems</h2>
-- 
2.9.0



From MAILER-DAEMON Thu Jul 07 21:15:00 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bLKNg-0003cq-Ca
	for mharc-gpsd-dev@gnu.org; Thu, 07 Jul 2016 21:15:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57952)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bLKNd-0003cQ-Np
	for gpsd-dev@nongnu.org; Thu, 07 Jul 2016 21:14:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bLKNZ-0006AV-LT
	for gpsd-dev@nongnu.org; Thu, 07 Jul 2016 21:14:57 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:43113)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bLKNZ-0006AP-CO
	for gpsd-dev@nongnu.org; Thu, 07 Jul 2016 21:14:53 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u681Emha026959
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Thu, 7 Jul 2016 18:14:49 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u681Emhb015088
	for <gpsd-dev@nongnu.org>; Thu, 7 Jul 2016 18:14:48 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u681EmE4015085
	for <gpsd-dev@nongnu.org>; Thu, 7 Jul 2016 18:14:48 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Thu, 7 Jul 2016 18:14:48 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160701205500.742f0f4a@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607071720380.6525@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1606301809230.17871@bolt.sonic.net>
	<20160630184831.22326057@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1606301857060.31471@bolt.sonic.net>
	<20160630202630.44c91612@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607012005010.20970@bolt.sonic.net>
	<20160701205500.742f0f4a@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVbKwpiZFROROLnyQkyxgg45EonoW8a3NoY1IQCJugWrxSGUN7eqMuFNKd9E1yB5+x5GG8hbb5gllvQf1i3vKwrq
X-Sonic-ID: C;8P9oXalE5hGf+JNwxPCmMQ== M;PO2EXalE5hGf+JNwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] NO_HZ Avoidance
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Jul 2016 01:14:59 -0000


On Fri, 1 Jul 2016, Gary E. Miller wrote:
> On Fri, 1 Jul 2016 20:33:38 -0700 (PDT)
> Fred Wright <fw@fwright.net> wrote:
>
[...]
> > > Nope.  That is due to the sidereal day effects of the sat orbits.
> > > My
> >
> > That seems unlikely.  Each satellite has a different path through the
> > sky during its period of visibility, and of course satellites come
> > and go over periods of around six hours.  The probability that thwt
> > complicated mess could just happen to turn into something looking
> > very much like a daily sinusoid seems *very* unlikely.
>
> The GPS sats return to the exact same positions, as a group, every
> sideral day.

I'm perfectly aware of that.  But the notion that the cacophony of
satellite orbits could result in a simple sort-of-sinusoidal diurnal
variation is akin to expecting a kazoo to sound like a tuning fork.

You snipped the paragraph where I suggested an ionospheric explanation,
but it shows up in a paper here:

	http://tf.nist.gov/general/pdf/879.pdf

It notes that even observations of *single satellites* show variations
correlated with a diurnal cycle, rather than with the satellites' orbital
movement. It concludes that it's some combination of ionospheric errors
and ephemeris errors, without further breaking it down.  There's brief
mention of tests with a dual-frequency receiver, which should have been
able to exclude the ionospheric effect, though it doesn't look like that
was looked at very closely (and see the next section).

There's also a page from a metrology textbook showing GPS time variations:

https://books.google.com/books?id=80p7AgAAQBAJ&pg=PA510#v=onepage&q&f=false

Note that the single-frequency graph shows diurnal variations while the
dual-frequency graphs don't, which is entirely consistent with its being
an ionospheric effect.  In a dual-frequency receiver, the frequency
dependence of the ionospheric delay can be exploited to remove about 99.9%
of the variation.

In fact, the effect of ionospheric delays on GPS is used as a means of
*measuring* ionospheric variations, e.g.:

https://earth-planets-space.springeropen.com/articles/10.1186/s40623-015-0206-2


However, the real elephant in the room is the *magnitude* of the frequency
errors.  Your data shows frequency variations on the order of 1ppm p-p
(and I see something similar here).  Based on a frequency of ~1/86400 Hz,
that integrates to an offset variation of 13.75 *milliseconds* p-p.  I
seriously doubt that the PPS signal is wandering by that much with respect
to the UTC/GPS second boundary (and it would be several orders of
magnitude out of any typical published spec if it did).  Also, look at the
offset errors in the documents referenced above.  The largest variation
was on the order of 300ns.  So either:

1) The bulk of the variation is in the frequency of the clock oscillator
rather than GPS (as I'd originally suggested).

or

2) NTPd is lying about the relationship.

> This has been discused on time-nuts.  They consider it settled fact.
>
> If you want clarification, I suggest you go over there.

Math trumps time-nuts.

> > One would expect DGPS to help with that,
>
> I have a WAAS signal.  That provides the same corrections as DGPS.

I'm perfectly aware of that.  It's actually not exactly the same
corrections, but it's similar.  But *if* such corrections are in play,
then that would compensate out most of the GPS errors regardless of
origin, making the "it's GPS's fault" explanation even less likely.
However, I wouldn't put it past the manufacturers not to bother
incorporating differential corrections into the method of generating the
PPS signal (and ditto regarding dual-frequency-derived ionospheric
corrections).  Anything related to time is usually an afterthought in the
receiver design.

> > > Actually, if you look further down my URL, you'll see that a 20
> > > microSec offset between my local RasPi's is normal.  Or, you would
> > > se it, except for a reboot swamping the graph there.  Another
> > > generation or two of RasPi and it might be that it will get PTP.
> >
> > Highly unlikely unless they switch to a better processor.  I'm pretty
> > sure the NIC in the Pi has no hardware timestamping capability, and
> > of course it's a totally lame crock that's connected via USB.  An
> > undocumented USB controller with a binary blob for a driver, no less.
>
> I stand by my data.  I encourage you to replicate the experiment.

Huh?  I was responding to "Another generation or two of RasPi and it might
be that it will get PTP."  Not likely as long as they stick with Broadcom.
The only "data" that's relevant is "datasheets". :-)

> > > The RasPi also has some counter timers in it and some people have
> > > been connecting those to the CPU clock.  Way down on my todo list,
> > > but making the RasPi a cheap GPSDO , with variable frequency
> > > output, is a possibility.
> >
> > I'm pretty sure the Pi has no ability to time a GPIO signal with
> > hardware. If you know otherwise, feel free to post the section of the
> > documentation.
>
> Check out PWM mode:
>
> https://www.npmjs.com/package/raspi-llio
> https://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf

That's for *outputting* signals in a configurable way.  It's of no use in
timing an input signal.

BTW, it appears that FreeBSD already has full support for timing the PPS
signal with hardware on the BBB, but I see no equivalent for Linux:

http://web.mit.edu/freebsd/head/sys/arm/ti/am335x/am335x_dmtimer.c

> > > > To measure it less invasively, I'd want to patch the KPPS driver
> > > > to *output* a PPS signal right at the time that it timestamps the
> > > > incoming PPS event, so that one could observe the latency on a
> > > > 'scope.
> > >
> > > I believe that kernel driver exists.  I'd love to hear your
> > > results.
> >
> > It would have to be part of the KPPS driver itself to be useful.
>
> That was also my understanding.

I see an "echo" option in the KPPS driver, but that appears to output a
text message in response to the PPS event, not drive a GPIO.  And the way
the driver is configured has no way to specify a second GPIO for the
purpose, anyway.

Fred Wright


From MAILER-DAEMON Fri Jul 08 13:53:31 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bLZxz-0004TZ-AX
	for mharc-gpsd-dev@gnu.org; Fri, 08 Jul 2016 13:53:31 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44913)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bLZxx-0004Rn-HS
	for gpsd-dev@nongnu.org; Fri, 08 Jul 2016 13:53:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bLZxu-0005JK-Dv
	for gpsd-dev@nongnu.org; Fri, 08 Jul 2016 13:53:29 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:57187)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bLZxu-0005J6-69
	for gpsd-dev@nongnu.org; Fri, 08 Jul 2016 13:53:26 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u68HrM08022563
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 8 Jul 2016 10:53:22 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u68HrMGD028395
	for <gpsd-dev@nongnu.org>; Fri, 8 Jul 2016 10:53:22 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u68HrLFl028385
	for <gpsd-dev@nongnu.org>; Fri, 8 Jul 2016 10:53:22 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 8 Jul 2016 10:53:21 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <Pine.LNX.4.58L1X.1607081048170.25045@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVardjg7NRiiyqoga2MZ1ybzaseOAR+c9vpAIwIC6yDeeH/VXNZ/Vs9dGr5sH7E2O/JVEyeN4xjDhw2rks7QqMPt
X-Sonic-ID: C;7jHi3DRF5hGGG5NwxPCmMQ== M;sMgB3TRF5hGGG5NwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: [gpsd-dev] Leap Second - end of December
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Jul 2016 17:53:30 -0000


IERS has announced that there will be a leap second at the end of December
(though it took them three tries to get the dates right in the
announcement :-)).

I don't yet see it in the NAV data, at least not in the Geneq binary data
derived therefrom (even after waiting long enough for the full superframe
to be seen).

Fred Wright


From MAILER-DAEMON Sun Jul 10 13:07:56 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bMICy-0000Um-KK
	for mharc-gpsd-dev@gnu.org; Sun, 10 Jul 2016 13:07:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36744)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <nunojpg@gmail.com>) id 1bMICw-0000Ue-4e
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 13:07:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <nunojpg@gmail.com>) id 1bMICt-0002a2-TW
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 13:07:53 -0400
Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:34582)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <nunojpg@gmail.com>) id 1bMICt-0002Zk-PN
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 13:07:51 -0400
Received: by mail-qk0-x236.google.com with SMTP id o67so10030286qke.1
	for <gpsd-dev@nongnu.org>; Sun, 10 Jul 2016 10:07:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-transfer-encoding;
	bh=ckKNp0TiDIs+VzZAqrM2VcHQqhmXOzQI71pSiAc1JKk=;
	b=o+EsSkL+0VNPqNBFZ+se3QtCFzCmGJO/KzdRb8f9Hcmzu1RW8kf10/tlcixof30VzF
	Xoe5KrKUFCgHQl4+i7iAbZXwJ5hNiUgDSlTCn1dyJyRLa0yxnCOBroY7/QQpm2+j6Wb3
	xLKtY4rB3ihP7yshdnNvO7A3+p9FWFeO+Ztl5BxcZkq7rDTX/vmPnr0n7sm41ODvlEWT
	+Eelt6iHUWhFbIBZhuTs1SXPgJ1ZRlHPs50dEFM8ZRYZYYnc1dHMyscj4FyZaP5A+E1M
	K5WsNJmTu/xCwSvNz9DpMnx6TgPweUNC4G00rGsbaKKWy25lmVvaAKG+P9/y7SFBWD6Z
	a40A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc:content-transfer-encoding;
	bh=ckKNp0TiDIs+VzZAqrM2VcHQqhmXOzQI71pSiAc1JKk=;
	b=YNREfyKg5qdlgjcRLpLO8egx8NF2PIAnBQFEKnb1mxYvjjy7Lqf+np02DGz6Qy5CZ6
	RTuBUbKuuFv7v77RP79ZL2J1UvJg5hWt7tpcGEispj4q8tQ7zA7eBeZQ7XgjHV9hOSyT
	CcLIGfssEeAi++mK2AsKI42yoDiq8+4W/D0hkNWE+OXiVe2Nl3VfSWFKyMJcHHtG8LbA
	nUiTUqTMAnyUs519cQf6pD0qAVgo2YIZTxCZdqg6+FP78TkUzttfYMbnp4xnm2TQm1Um
	/l/cfFp6h1TqKFVTqiu2g9wJ9hhuFs1x7yPFTDBbgedsJV924A4BXipMjbY+JKicH4sO
	Xr2g==
X-Gm-Message-State: ALyK8tKDuwOXPXYpX1X2xpXhiCeMWG8GTpK4d4d2XDu0RIAbzAD1FusLy86t3CkgFtjyYs2KzJ8v6Ov2Q721mQ==
X-Received: by 10.55.119.66 with SMTP id s63mr20739318qkc.63.1468170470161;
	Sun, 10 Jul 2016 10:07:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.237.55.129 with HTTP; Sun, 10 Jul 2016 10:07:30 -0700 (PDT)
In-Reply-To: <20160621112257.486953e9@spidey.rellim.com>
References: <CAEXMXLQc1OahaDRR=pwemBgH_wCF5wbdfxFmQPC6+FWmP1_7SA@mail.gmail.com>
	<20160620135600.4118e392@spidey.rellim.com>
	<CAEXMXLTKyB3CQ_xmX=sA3J2VZZJZKsBXqRrPR8d3FFeorOFeuw@mail.gmail.com>
	<20160620180651.11310d78@spidey.rellim.com>
	<CAEXMXLQuuFB3jan_Q0_R1Q93Zzjv6sV31+442Frbk0926b7Nrw@mail.gmail.com>
	<20160621105319.778c1446@spidey.rellim.com>
	<CAEXMXLTk3+7uCMvXFVGHhUYAy5dirF_staJGCwHmUwBLochmUw@mail.gmail.com>
	<20160621112257.486953e9@spidey.rellim.com>
From: =?UTF-8?Q?Nuno_Gon=C3=A7alves?= <nunojpg@gmail.com>
Date: Sun, 10 Jul 2016 19:07:30 +0200
Message-ID: <CAEXMXLQu=X41WO2wz+1OktLukkzy2iOsLUbFkAt1t33x=mg5wg@mail.gmail.com>
To: "Gary E. Miller" <gem@rellim.com>, Oliver Jowett <oliver@mutability.co.uk>
Cc: gpsd-dev@nongnu.org, igorsocec@gmail.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c09::236
Subject: Re: [gpsd-dev] [PATCH 1/3] TSIP: improve comments
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Jul 2016 17:07:55 -0000

I've stopped working with GPSD so I'm abandoning this patch series.
Anyway I'll leave my comments for anyone that wants to pick it in the
future:

I think there is no correct minimum value that we could put, since
I've seen delays from 0.028, but this magic value is just my
experience, for other devices, at present or in the future, it will
change for sure.

For me 0 is the only acceptable value.

Regarding the NMEA stuff, I don't know and I didn't investigate it.

Thanks,
Nuno

On Tue, Jun 21, 2016 at 8:22 PM, Gary E. Miller <gem@rellim.com> wrote:
> Yo Nuno!
>
> On Tue, 21 Jun 2016 19:11:53 +0100
> Nuno Gon=C3=A7alves <nunojpg@gmail.com> wrote:
>
>> On Tue, Jun 21, 2016 at 6:53 PM, Gary E. Miller <gem@rellim.com>
>> wrote:
>> > I don't have the NMEA doc, but one reference says only 12 PRNs are
>> > allowed in that sentence.  Another says 14.  We'll need to check
>> > that. Also, will there be GLONASS, BeiDou or other sats in there?
>> > Then maybe it should be a GNGSA.
>>
>> Yes, probably all L1 services (GPS, QZSS, SBASs, and Galileo) and
>> GLONASS.
>>
>> I have to look where is the NMEA being created. This will probably
>> take a while.
>
> If we can resolve the max count in the GPGSA I could live with that.
> There seems to be no consistency about usage of the xxGSA's.  So a bigger
> problem than just TSIP.
>
> Here is how Skytraq does it, others are wiildly different:
>
>         "Used to represent the ID=E2=80=99s of satellites which are
>         used for position fix. When both GPS and Beidou
>         satellites are used in position solution, a $GNGSA
>         sentence is used for GPS satellites and another
>         $GNGSA sentence is used for Beidou satellites. When
>         only GPS satellites are used for position fix, a
>         single $GPGSA sentence is output. When only Beidou
>         satellites are used, a single $BDGSA sentence is
>         output. "
>
>> > So what is the delay you see?  Can you identify your model and put
>> > in the fudge you see automagically?  If not can you add in your
>> > observed fudge as a comment?
>>
>> I see delays from 0.028 to 0.5s, depending on device, as specified in
>> the comments, depending on device, number of visible SV, and probably
>> firmware versions.
>>
>> I don't think it is reliable to assume any value, so 0 looks the
>> neutral assumption.
>
> A minimum value would be nice, but if we cant solve it, ttthen documentin=
g
> is a start.
>
> RGDS
> GARY
> -------------------------------------------------------------------------=
--
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
>         gem@rellim.com  Tel:+1 541 382 8588


From MAILER-DAEMON Sun Jul 10 14:45:46 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bMJje-0002YP-GZ
	for mharc-gpsd-dev@gnu.org; Sun, 10 Jul 2016 14:45:46 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36133)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bMJjc-0002LF-O5
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 14:45:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bMJjY-0001tE-K9
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 14:45:43 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:62420)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bMJjY-0001ss-4r
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 14:45:40 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 4FFA3406060; 
	Sun, 10 Jul 2016 11:45:34 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: =?UTF-8?Q?Nuno_Gon=C3=A7alves?= <nunojpg@gmail.com>
cc: gpsd-dev@nongnu.org, hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from =?UTF-8?Q?Nuno_Gon=C3=A7alves?= <nunojpg@gmail.com>
	of "Sun, 10 Jul 2016 19:07:30 +0200."
	<CAEXMXLQu=X41WO2wz+1OktLukkzy2iOsLUbFkAt1t33x=mg5wg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sun, 10 Jul 2016 11:45:34 -0700
Message-Id: <20160710184534.4FFA3406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] [PATCH 1/3] TSIP: improve comments
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Jul 2016 18:45:45 -0000


nunojpg@gmail.com said:
> >> > So what is the delay you see?  Can you identify your model and put
> >> > in the fudge you see automagically?  If not can you add in your
> >> > observed fudge as a comment? 

Don't fall into the trap of thinking that the offset is stable.  There are 
some/many devices where the offset is stable over a time scale of minutes but 
wanders with a time scale of hours.

Many of the SiRF chips have a peak-peak wander of 100 ms over a time scale of 
12 hours.

http://users.megapathdsl.net/~hmurray/ntp/GPSSiRF-off.gif

Yes, you can fudge out most of the error.  The point is watch for a day 
before concluding that you have the right answer.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Sun Jul 10 16:10:13 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bML3M-00015v-T2
	for mharc-gpsd-dev@gnu.org; Sun, 10 Jul 2016 16:10:12 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47493)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bML3K-00012S-Hq
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 16:10:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bML3G-0006XS-AK
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 16:10:09 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:34125)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bML3G-0006Wv-1o
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 16:10:06 -0400
Received: from localhost.localdomain
	(70-36-199-49.dsl.static.fusionbroadband.com [70.36.199.49])
	(authenticated bits=0)
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u6AK9kk4015183
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); 
	Sun, 10 Jul 2016 13:10:01 -0700
From: Fred Wright <fw@fwright.net>
To: GPSD Developers List <gpsd-dev@nongnu.org>
Date: Sun, 10 Jul 2016 13:09:37 -0700
Message-Id: <20160710200937.12226-2-fw@fwright.net>
X-Mailer: git-send-email 2.9.0
In-Reply-To: <20160710200937.12226-1-fw@fwright.net>
References: <20160710200937.12226-1-fw@fwright.net>
X-Sonic-CAuth: UmFuZG9tSVYJttEyb9mN6ebxsu7w2is2t7J6tqRGx1uV6VAWkxodADcNhLkO6KnBONaMVtsmCRLO/jaHzcJCO7caIAvlBQzu
X-Sonic-ID: C;GhmTP9pG5hG3QZtMTlz00w== M;eFdSSNpG5hG3QZtMTlz00w==
X-Sonic-Spam-Details: 0.0/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: [gpsd-dev] [PATCH 2/2] Fixes typo in logfile comment.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Jul 2016 20:10:11 -0000

---
 test/daemon/gp-320fw-2019-04-06-overflow.log | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/daemon/gp-320fw-2019-04-06-overflow.log b/test/daemon/gp-320fw-2019-04-06-overflow.log
index 694a859..7499e91 100644
--- a/test/daemon/gp-320fw-2019-04-06-overflow.log
+++ b/test/daemon/gp-320fw-2019-04-06-overflow.log
@@ -5,7 +5,7 @@
 # Date: 2010-10-16
 # Notes: This is the chip in normal operation after warm boot, but
 #        with a sat simulator spoofing it into thinking it is
-#        2019-06-04, just after a 10-bit GPS week wraparound.
+#        2019-04-06, just after a 10-bit GPS week wraparound.
 #        Because the receiver has not been restarted, it displays
 #        a correct time.
 #
-- 
2.9.0



From MAILER-DAEMON Sun Jul 10 16:10:13 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bML3N-00016C-1c
	for mharc-gpsd-dev@gnu.org; Sun, 10 Jul 2016 16:10:13 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47492)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bML3K-00012R-Hd
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 16:10:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bML3G-0006XX-AK
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 16:10:09 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:34124)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bML3G-0006Wu-2J
	for gpsd-dev@nongnu.org; Sun, 10 Jul 2016 16:10:06 -0400
Received: from localhost.localdomain
	(70-36-199-49.dsl.static.fusionbroadband.com [70.36.199.49])
	(authenticated bits=0)
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u6AK9kk3015183
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); 
	Sun, 10 Jul 2016 13:09:59 -0700
From: Fred Wright <fw@fwright.net>
To: GPSD Developers List <gpsd-dev@nongnu.org>
Date: Sun, 10 Jul 2016 13:09:36 -0700
Message-Id: <20160710200937.12226-1-fw@fwright.net>
X-Mailer: git-send-email 2.9.0
X-Sonic-CAuth: UmFuZG9tSVbu2h8MKjVdwwYRbHqCfAbkxMt9hlALVg9YVdcI70ACrgi7QnTeChfCOmEfnUCvF/pSr/HsgOe3vIKEz72UtJRU
X-Sonic-ID: C;GhmTP9pG5hG3QZtMTlz00w== M;rGOaR9pG5hG3QZtMTlz00w==
X-Sonic-Spam-Details: 0.0/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Jul 2016 20:10:11 -0000

---
 www/NMEA.txt                    | 23 ++++++++++++-----------
 www/gpsd-time-service-howto.txt | 23 ++++++++++++-----------
 2 files changed, 24 insertions(+), 22 deletions(-)

diff --git a/www/NMEA.txt b/www/NMEA.txt
index 8651ee1..0a0446f 100644
--- a/www/NMEA.txt
+++ b/www/NMEA.txt
@@ -198,21 +198,22 @@ broadcast a current leap-second correction which may be updated on
 three-month boundaries according to rotational bulletins issued by the
 International Earth Rotation and Reference Systems Service (IERS).
 
-The leap-second correction is only included in the satellite subframre
-broadcast, roughly once ever 20 minutes.  While the satellites do
+The leap-second correction is only included in the multiplexed satellite
+subframe broadcast, once every 12.5 minutes.  While the satellites do
 notify GPSes of upcoming leap-seconds, this notification is not
-necessarily processed correctly on consumer-grade devices, and will
-not be available at all when a GPS receiver has just
-cold-booted. Thus, reported UTC time may be slightly inaccurate
-between a cold boot or leap second and the following subframe
-broadcast.
+necessarily processed correctly on consumer-grade devices, and may not
+be available at all when a GPS receiver has just cold-booted. Thus,
+reported UTC time may be slightly inaccurate between a cold boot or leap
+second and the following subframe broadcast.
 
 GPS date and time are subject to a rollover problem in the 10-bit week
-number counter, which will re-zero every 1024 weeks (roughly every 20
+number counter, which will re-zero every 1024 weeks (roughly every 19.6
 years). The last rollover (and the first since GPS went live in 1980)
-was in 1999; the next would fall in 2019, but plans are afoot to
-upgrade the satellite counters to 13 bits; this will delay the next
-rollover until 2173.
+was in Aug-1999; the next will fall in Apr-2019.  The new "CNAV" data
+format extends the week number to 13 bits, with the first rollover
+occurring in Jan-2137, but this is only used with some newly added GPS
+signals, and is unlikely to be usable in most consumer-grade receivers
+prior to the 2019 rollover.
 
 For accurate time reporting, therefore, a GPS requires a supplemental
 time references sufficient to identify the current rollover period,
diff --git a/www/gpsd-time-service-howto.txt b/www/gpsd-time-service-howto.txt
index 5cf84ca..f46bc5b 100644
--- a/www/gpsd-time-service-howto.txt
+++ b/www/gpsd-time-service-howto.txt
@@ -120,21 +120,22 @@ broadcast a current leap-second correction which is updated on
 six-month boundaries according to rotational bulletins issued by the
 International Earth Rotation and Reference Systems Service (IERS).
 
-The leap-second correction is only included in the satellite subframe
-broadcast, roughly once ever 20 minutes. While the satellites do
+The leap-second correction is only included in the multiplexed satellite
+subframe broadcast, once every 12.5 minutes.  While the satellites do
 notify GPSes of upcoming leap-seconds, this notification is not
-necessarily processed correctly on consumer-grade devices, and will
-not be available at all when a GPS receiver has just
-cold-booted. Thus, UTC time reported from devices may be slightly
-inaccurate between a cold boot or leap second and the following
-subframe broadcast.
+necessarily processed correctly on consumer-grade devices, and may not
+be available at all when a GPS receiver has just cold-booted. Thus,
+reported UTC time may be slightly inaccurate between a cold boot or leap
+second and the following subframe broadcast.
 
 GPS date and time are subject to a rollover problem in the 10-bit week
-number counter, which will re-zero every 1024 weeks (roughly every 20
+number counter, which will re-zero every 1024 weeks (roughly every 19.6
 years). The last rollover (and the first since GPS went live in 1980)
-was 0000 22 August 1999; the next would fall in 2019, but plans are
-afoot to upgrade the satellite counters to 13 bits; this will delay
-the next rollover until 2173.
+was in Aug-1999; the next will fall in Apr-2019.  The new "CNAV" data
+format extends the week number to 13 bits, with the first rollover
+occurring in Jan-2137, but this is only used with some newly added GPS
+signals, and is unlikely to be usable in most consumer-grade receivers
+prior to the 2019 rollover.
 
 For accurate time reporting, therefore, a GPS requires a supplemental
 time references sufficient to identify the current rollover period,
-- 
2.9.0



From MAILER-DAEMON Mon Jul 11 16:50:47 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bMiAB-00067k-7G
	for mharc-gpsd-dev@gnu.org; Mon, 11 Jul 2016 16:50:47 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39414)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bMiA9-00067e-4L
	for gpsd-dev@nongnu.org; Mon, 11 Jul 2016 16:50:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bMiA7-0006EY-5Z
	for gpsd-dev@nongnu.org; Mon, 11 Jul 2016 16:50:44 -0400
Received: from rellim.com ([2001:470:e815::19]:44005 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bMiA6-0006DE-T4
	for gpsd-dev@nongnu.org; Mon, 11 Jul 2016 16:50:43 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6BKoVHv018920
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Mon, 11 Jul 2016 13:50:36 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6BKoVHv018920
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468270237; bh=8XcqemzQIAI946JEi3JosqJfMQfbYk3Z9mergkm/pRw=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=wCwWK7cKUsHykuGqaujaUu2OC6H8WW3nAK37IsIJOKg4xukH9tIimK9nkm59xpEbD
	Jr6nsvdn5WkvSUBJw8jDJLOXQbs9BT01jrLkUC4tkVrxAZZkqiLwsZTbIOkpMHU8OW
	C3K8ZO8GzDNXh3IV+VQyinuyptnNOZ/Mo/7Vlw+E=
Date: Mon, 11 Jul 2016 13:50:30 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160711135030.376710e5@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607071720380.6525@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1606301809230.17871@bolt.sonic.net>
	<20160630184831.22326057@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1606301857060.31471@bolt.sonic.net>
	<20160630202630.44c91612@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607012005010.20970@bolt.sonic.net>
	<20160701205500.742f0f4a@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607071720380.6525@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/sfaWR48Dq4YML=dILBnXZX1";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 11 Jul 2016 13:50:37 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] NO_HZ Avoidance
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Jul 2016 20:50:46 -0000

--Sig_/sfaWR48Dq4YML=dILBnXZX1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Thu, 7 Jul 2016 18:14:48 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> > > That seems unlikely.  Each satellite has a different path through
> > > the sky during its period of visibility, and of course satellites
> > > come and go over periods of around six hours.  The probability
> > > that thwt complicated mess could just happen to turn into
> > > something looking very much like a daily sinusoid seems *very*
> > > unlikely. =20
> >
> > The GPS sats return to the exact same positions, as a group, every
> > sideral day. =20
>=20
> I'm perfectly aware of that.  But the notion that the cacophony of
> satellite orbits could result in a simple sort-of-sinusoidal diurnal
> variation is akin to expecting a kazoo to sound like a tuning fork.

We can talk around this till the end of the year.  Show me some data.

> You snipped the paragraph where I suggested ...

Yup, going over the same things is pointless.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/sfaWR48Dq4YML=dILBnXZX1
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXhAaXAAoJEA0O2UlB0XnYthEIALRq7PnF74bx/ta2EfIQCtm6
iMzQCW0DazdhRe9vKKrfC7GvLROb3K3+Et2UXz6+Yvy2+07Hx3pO/i5mm2LdCiPC
X2KRoOScXHzrseS6kmDxjL/cdrWMvhYxMKUp5wNBs42wWX6SPlU3d4ql6jwKQJaS
N2wHfFtMMHhjyIfP2trViAGB/3WK7GMOCNWvSRLnSswu4CtRjD/EwVjWZlntcgiW
Z34QzICuLDvh+j/P/p2k3YtyeXXqNOJ6HRxygb/pFCIjeHzu0zBVPCHUvWz00cvg
JKgcFlvii3cM3+Gzk8N+gulzQarmE0l7LtS9j3IrB1WuHoE1PpVWQl7fSG+8Lcc=
=44do
-----END PGP SIGNATURE-----

--Sig_/sfaWR48Dq4YML=dILBnXZX1--


From MAILER-DAEMON Wed Jul 13 08:58:37 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bNJkL-0008Ry-JI
	for mharc-gpsd-dev@gnu.org; Wed, 13 Jul 2016 08:58:37 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34910)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <steven.f.lang@gmail.com>) id 1bNB8t-0000LM-B7
	for gpsd-dev@nongnu.org; Tue, 12 Jul 2016 23:47:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <steven.f.lang@gmail.com>) id 1bNB8r-00087G-7H
	for gpsd-dev@nongnu.org; Tue, 12 Jul 2016 23:47:22 -0400
Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:36247)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <steven.f.lang@gmail.com>) id 1bNB8r-00087C-0p
	for gpsd-dev@nongnu.org; Tue, 12 Jul 2016 23:47:21 -0400
Received: by mail-oi0-x230.google.com with SMTP id w18so52583357oiw.3
	for <gpsd-dev@nongnu.org>; Tue, 12 Jul 2016 20:47:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:from:date:message-id:subject:to;
	bh=a9Qw7QZd1hs+VRw/SCJFbTSV1txYXRHpC64wRivAu8M=;
	b=U+M23JxvjodGJzttlJj+KJN2ahfb9YXkNzLmapqzvlqSWTbzu/2EMGAqLR8ROhv6wl
	qkf7PxUueS1w0Auh7hcdn+VbcN+MLewFnGD9l67+bx3HcuA+bl1T13GSAz+EAHcZMu2X
	KrIAYrtAmnLNqsRape2x4ugQdhxAjNDdTDVGE8FlgluVPu8budGpbykcTPAdmVDoFUxv
	6RSHqNiKxENFCE1ZGIPJvictEdZ8WAhXDkhhpzkArtYJ6N1OGRaul+dwTLr5CEWUWm7e
	dgvUiEUnUrHMwh1nAcyx2yGmpHjR3MuvLzgcE5Bhml2A5JI9OQB8makva3MxmDPhPTDT
	fwhQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
	bh=a9Qw7QZd1hs+VRw/SCJFbTSV1txYXRHpC64wRivAu8M=;
	b=fMtbnyAw1XZ29p1A/TQEM0ii0jkgxcftKLu/JTkGTiocFhRDybbvytucRJF3xlNF1m
	N6S+jTuw2lZbigkVjbnJMIyJ6qgvMXCRbidEVpPQPw4ho+BPeieKh642BEYWj2Y8a4fv
	YTEIpK0KuPGZgZe29miWkC/Z1n5lB/H+l8gcQzt5kYzFaYwJhSXzYMiMvmRg4wq4Yk6v
	7m45kaueoOna0tcYcHSQZZg8zOn5sne/voMaw3T3Hut45UIwQL8EAT95GtuvyihFaDNL
	ox2YnJtjRkiEOyqqpVVXLQbtJSIGqqEZIzfMpjzE0L8FRRUED4k/jlXjAghgc+n0v3Fm
	kbnw==
X-Gm-Message-State: ALyK8tK7fZsRyLik+5iwio9dIY/znpzcmqLmVQNLfEl93qtrkuKfkHqh7WgFjcntuGihvE2Vk70xH+PoqC/+mQ==
X-Received: by 10.157.24.51 with SMTP id b48mr233136ote.116.1468381640144;
	Tue, 12 Jul 2016 20:47:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.108.65 with HTTP; Tue, 12 Jul 2016 20:47:19 -0700 (PDT)
From: Steve Lang <steven.f.lang@gmail.com>
Date: Tue, 12 Jul 2016 22:47:19 -0500
Message-ID: <CAPHg4FpnMiEGgKKSnqPFo6PFNOLwcrLf8Hv24c+OEX7sn_svjA@mail.gmail.com>
To: gpsd-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4003:c06::230
X-Mailman-Approved-At: Wed, 13 Jul 2016 08:58:36 -0400
Subject: [gpsd-dev] Need p/d help with gpsd and or gps HW - no response
 after gps polling
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Jul 2016 03:47:24 -0000

Folks .. would like some p/d help from the group to determine if I am
dealing with a gpsd defect or a gps hw bug.

HW Config: Pi 3, Adafruit GPS hat, and LNA
SW Config: latest Jessi / clockmaker install script abd SW updates to
support installing the following scons options:

shm option enabled with compiled ntpsec

scons timeservice=yes nmea0183=yes fixed_port_speed=9600
fixed_stop_bits=1 xgps=yes leapfetch=yes qt=yes gpsdclients=yes


Symptoms: gpsd appears to hang if gpsd does not receive data

-D6 logging enabled

gpsd work good maybe for a day at the most and as long as a few hours.
When the problem happens, ntp moves off the gps shm source to an
external provider and the following is logged:

-----------------Cut-------------------------

Jul 10 20:35:56 chilipi gpsd[430]: gpsd:PROG: GPRMC ends a reporting cycle.
Jul 10 20:35:56 chilipi gpsd[430]: gpsd:DATA: packet type 1 from
/dev/gpsd0 with {ONLINE|TIME|LATLON|SPEED|TRACK|PACKET|REPORT|NTPTIME}
Jul 10 20:35:56 chilipi gpsd[430]: gpsd:IO: <= GPS:
$GPVTG,286.74,T,,M,0.02,N,0.03,K,D*36
Jul 10 20:35:56 chilipi gpsd[430]: gpsd:DATA: packet type 1 from
/dev/gpsd0 with {ONLINE|PACKET}
Jul 10 20:35:57 chilipi gpsd[430]: gpsd:PROG: KPPS:/dev/pps0 assert
1468200957.000886155, sequence: 517, clear   0.000000000, sequence: 0
- using: assert
Jul 10 20:35:57 chilipi gpsd[430]: gpsd:PROG: KPPS:/dev/pps0 Assert
cycle: 1000001, duration:       0 @  1468200957.000886155
Jul 10 20:35:57 chilipi gpsd[430]: gpsd:PROG: PPS:/dev/pps0 Assert
cycle: 1000001, duration:       0 @  1468200957.000886155
Jul 10 20:35:57 chilipi gpsd[430]: gpsd:PROG: NTP:
ntpshm_put(/dev/gpsd0 pps)  1468200957.000000000 @
1468200957.000886155
Jul 10 20:35:57 chilipi gpsd[430]: gpsd:INFO: PPS:/dev/pps0 Assert
hooks called clock:  1468200957.000886155 real:  1468200957.000000000:
accepted
Jul 10 20:35:57 chilipi gpsd[430]: gpsd:PROG: PPS:/dev/pps0 Assert
accepted @  1468200957.000886155 offset -0.000886155
Jul 10 20:35:57 chilipi gpsd[430]: gpsd:DATA: /dev/gpsd0 returned zero bytes
Jul 10 20:35:57 chilipi gpsd[430]: gpsd:DATA: /dev/gpsd0 will be
repolled in 0.010000 seconds
Jul 10 20:35:58 chilipi gpsd[430]: gpsd:PROG: KPPS:/dev/pps0 assert
1468200958.000884876, sequence: 518, clear   0.000000000, sequence: 0
- using: assert
Jul 10 20:35:58 chilipi gpsd[430]: gpsd:PROG: KPPS:/dev/pps0 Assert
cycle:  999998, duration:       0 @  1468200958.000884876
Jul 10 20:35:58 chilipi gpsd[430]: gpsd:PROG: PPS:/dev/pps0 Assert
cycle:  999998, duration:       0 @  1468200958.000884876
Jul 10 20:35:58 chilipi gpsd[430]: gpsd:PROG: PPS:/dev/pps0 Assert
rejected this second already handled

----------------Cut----------------------------


The last 4 lines are repeated for the remainder of the log file.

Based on the following lines below

----------Cut------------
gpsd:DATA: /dev/gpsd0 returned zero bytes
gpsd:DATA: /dev/gpsd0 will be repolled in 0.010000 seconds
---------Cut-------------

ibgpsd_core.c

gpsd_multipoll()
..
..

            } else if (changed == NODATA_IS) {
                /*
                 * No data on the first fragment read means the device
                 * fd may have been in an end-of-file condition on select.
                 */
                if (fragments == 0) {
                    gpsd_log(&device->context->errout, LOG_DATA,
                             "%s returned zero bytes\n",  <-
                             device->gpsdata.dev.path);
..
..
                    } else {
                        /*
                         * Disable listening to this fd for long enough
                         * that the buffer can fill up again.
                         */
                        gpsd_log(&device->context->errout, LOG_DATA,
                                 "%s will be repolled in %f seconds\n",   <-
                                 device->gpsdata.dev.path, reawake_time);
                        device->reawake = time(NULL) + reawake_time;
                        return DEVICE_UNREADY;


taking us back to gpsd.c / main()

case DEVICE_UNREADY:
                    FD_CLR(device->gpsdata.gps_fd, &all_fds);
                    adjust_max_fd(device->gpsdata.gps_fd, false);


Due to lack of logging in this path I cant tell where we ended up and
if an attempt was planned to resume IO to this GPS.

I ran gpsmon when this condition is happening.which seems to return
valid data ..

I have spoken with another contributor who suggested I run cgps to
determine if the gps is actually alive which I will do tomorrow. Once
I have this info I'll return and re-post.


Regards,

--Steve


From MAILER-DAEMON Wed Jul 13 14:41:14 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bNP5u-0004Hq-2a
	for mharc-gpsd-dev@gnu.org; Wed, 13 Jul 2016 14:41:14 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59564)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNP5r-0004Bx-Hv
	for gpsd-dev@nongnu.org; Wed, 13 Jul 2016 14:41:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNP5o-0000sn-BX
	for gpsd-dev@nongnu.org; Wed, 13 Jul 2016 14:41:09 -0400
Received: from rellim.com ([2001:470:e815::19]:57697 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNP5o-0000rl-0n
	for gpsd-dev@nongnu.org; Wed, 13 Jul 2016 14:41:08 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6DIemtg016028
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Wed, 13 Jul 2016 11:40:53 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6DIemtg016028
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468435253; bh=rFK2ehC7P3sTPkM+WQ/OmI30Miy125jdLXzQxoW6zxo=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=aUDZEWTA5kQ5t3BaWVXgCycl/kyv88dCNfY5MFB3+H/HYeM37zln9Q2OBcqoe8YvB
	tWsf7/vPjJxLRMDONqBzoVnngrYvs92Yxy5XvZ5MCfs+kJp2eRID8fzZ1BAXLZPlsu
	m4DonjaXOg/sboIXbr5WG+iBDBrPtJtZOwcYpy40=
Date: Wed, 13 Jul 2016 11:40:48 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Steve Lang <steven.f.lang@gmail.com>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160713114048.025c6e00@spidey.rellim.com>
In-Reply-To: <CAPHg4FpnMiEGgKKSnqPFo6PFNOLwcrLf8Hv24c+OEX7sn_svjA@mail.gmail.com>
References: <CAPHg4FpnMiEGgKKSnqPFo6PFNOLwcrLf8Hv24c+OEX7sn_svjA@mail.gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/9bk/1Dj.9wupXAMn80rjlSE";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Wed, 13 Jul 2016 11:40:53 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] Need p/d help with gpsd and or gps HW - no response
 after gps polling
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Jul 2016 18:41:12 -0000

--Sig_/9bk/1Dj.9wupXAMn80rjlSE
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Steve!

On Tue, 12 Jul 2016 22:47:19 -0500
Steve Lang <steven.f.lang@gmail.com> wrote:

> HW Config: Pi 3, Adafruit GPS hat, and LNA
> SW Config: latest Jessi / clockmaker install script abd SW updates to
> support installing the following scons options:

OK.  What kernel version?  What did you do to get systemd out of the way?
I suspect that is your problem.  Systemd has been sabotaging many people.

I have the same config, except I use Gentoo stable and kernel
4.4.14-v7+.  No problems for me.  You can see how it works well here:

    https://pi3.rellim.com/week/

> scons timeservice=3Dyes nmea0183=3Dyes fixed_port_speed=3D9600
> fixed_stop_bits=3D1 xgps=3Dyes leapfetch=3Dyes qt=3Dyes gpsdclients=3Dyes

The Adafruit is a mediatek chip, so you should also enable the=20
"mtk3301" support.

> Symptoms: gpsd appears to hang if gpsd does not receive data

That is the design of gpsd.  Nothing in means nothing out.

B why would you ever not have data in?

> When the problem happens, ntp moves off the gps shm source to an
> external provider and the following is logged:

That all looks good.

> The last 4 lines are repeated for the remainder of the log file.

Yeah, you still have PPS, but no serial data.

> ----------Cut------------
> gpsd:DATA: /dev/gpsd0 returned zero bytes
> gpsd:DATA: /dev/gpsd0 will be repolled in 0.010000 seconds
> ---------Cut-------------

Yup, no serial data.  No data in, thus no data out.  As designed.

> Due to lack of logging in this path I cant tell where we ended up and
> if an attempt was planned to resume IO to this GPS.

Nothing to log.  No data in, thus no data out.

> I ran gpsmon when this condition is happening.which seems to return
> valid data ..

Forget gpsmon, it will just confuse the issue.  Use cgps.  If gpsd is
disconnected then gpsmon may directly connect to the GPS and mislead you
into thinking gpsd is fine.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/9bk/1Dj.9wupXAMn80rjlSE
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXhoswAAoJEA0O2UlB0XnYyjMH/iDiCshQvAdpNtcxjIwG9z4/
Z4fMMat4efZPXBlmoeBT3hQy8id+12TBkYbiLD+e141XagWU1oGxTXn6+0Re1Xps
i3YT/rnzuAOurs7JWeFrYk5cSLS/V4Mr/tu7nfj91/llkfkD7yFgXB2xOlk9QHGe
3jPyqEmAt3aAyYkXzM3BUSVcXtB/GjXK83cejHXKEvRBv9nrpq4+h6j80ygpLCBl
j/GR66yx36+x74EIGaRnaLeMkQG0f/x+ieM7it2LijIMQpvUymppyundrlPk4fxn
SwygF4EMRIWDrllNaVanlkOxuk8w24FWkXb37cOFKXjnY2JBgcQeCTRnJ7rYM7U=
=M8qD
-----END PGP SIGNATURE-----

--Sig_/9bk/1Dj.9wupXAMn80rjlSE--


From MAILER-DAEMON Thu Jul 14 10:11:11 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bNhM7-0002Ls-KF
	for mharc-gpsd-dev@gnu.org; Thu, 14 Jul 2016 10:11:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40102)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mailings@hupie.com>) id 1bNfyD-00082S-1S
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 08:42:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mailings@hupie.com>) id 1bNfy9-0004qL-S9
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 08:42:25 -0400
Received: from hupie.dyndns.org ([80.101.237.101]:37264)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mailings@hupie.com>) id 1bNfy9-0004pm-Kg
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 08:42:21 -0400
Received: from paul.internal.Hupie.com (hupie.dyndns.org [80.101.237.101])
	by hupie.dyndns.org (Postfix) with ESMTP id 80E1A481DE8
	for <gpsd-dev@nongnu.org>; Thu, 14 Jul 2016 14:42:13 +0200 (CEST)
To: gpsd-dev@nongnu.org
From: Ferry Huberts <mailings@hupie.com>
Message-ID: <ac862aa9-f52f-828e-16f6-951a1d420321@hupie.com>
Date: Thu, 14 Jul 2016 14:42:13 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.1.1
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------8B53B79C7DB04540C7E51FB4"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 80.101.237.101
X-Mailman-Approved-At: Thu, 14 Jul 2016 10:11:10 -0400
Subject: [gpsd-dev] Uninitialised data
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Jul 2016 12:42:26 -0000

This is a multi-part message in MIME format.
--------------8B53B79C7DB04540C7E51FB4
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I'm on Fedora 24 and valgrind complains about uninitialised data:

> $ valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all ./Debug64/testgpsd -d 2 -c 400000 -i br0 -t 1 -s 127.0.0.1:2947 224.0.0.224:2240 ::1:2240
> ==19106== Memcheck, a memory error detector
> ==19106== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
> ==19106== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
> ==19106== Command: ./Debug64/testgpsd -d 2 -c 400000 -i br0 -t 1 -s 127.0.0.1:2947 224.0.0.224:2240 ::1:2240
> ==19106==
> ==19106== Conditional jump or move depends on uninitialised value(s)
> ==19106==    at 0x4E4B9D4: gps_sock_read (in /usr/lib64/libgps.so.22.0.0)
> ==19106==    by 0x4E48A59: gps_read (in /usr/lib64/libgps.so.22.0.0)
> ==19106==    by 0x404022: main (main.c:453)
> ==19106==  Uninitialised value was created by a heap allocation
> ==19106==    at 0x4C2BBAD: malloc (vg_replace_malloc.c:299)
> ==19106==    by 0x4E4B721: gps_sock_open (in /usr/lib64/libgps.so.22.0.0)
> ==19106==    by 0x4E489DD: gps_open (in /usr/lib64/libgps.so.22.0.0)
> ==19106==    by 0x4027CF: gpsdConnect (gpsd-util.c:48)
> ==19106==    by 0x403FBB: main (main.c:443)
> ==19106==
> testgpsd[19106]: Connected to gpsd 3.16-2.fc24 on localhost, protocol 3.11
> testgpsd[19106]: Using u-blox device SW 6.02 (36023),HW 00040005,5.00 (28483) on /dev/ttyACM0
 > ...



I can fix this with the attached patch.

Please consider it for inclusion.

PS. I'm not on the mailing list.


-- 
Ferry Huberts

--------------8B53B79C7DB04540C7E51FB4
Content-Type: text/x-patch;
 name="gpsd.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="gpsd.patch"

--- libgps_sock.c.org	2016-07-14 14:36:05.864753326 +0200
+++ libgps_sock.c	2016-07-14 14:36:48.580586123 +0200
@@ -79,6 +79,7 @@
 	return -1;
     PRIVATE(gpsdata)->newstyle = false;
     PRIVATE(gpsdata)->waiting = 0;
+    PRIVATE(gpsdata)->buffer[0] = '\0';
 
 #ifdef LIBGPS_DEBUG
     PRIVATE(gpsdata)->waitcount = 0;

--------------8B53B79C7DB04540C7E51FB4--


From MAILER-DAEMON Thu Jul 14 10:11:12 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bNhM7-0002M2-Q2
	for mharc-gpsd-dev@gnu.org; Thu, 14 Jul 2016 10:11:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40519)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mailings@hupie.com>) id 1bNfz0-0000KX-Sw
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 08:43:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mailings@hupie.com>) id 1bNfyx-00051v-OT
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 08:43:14 -0400
Received: from hupie.dyndns.org ([80.101.237.101]:37265)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mailings@hupie.com>) id 1bNfyx-00051r-Hs
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 08:43:11 -0400
Received: from paul.internal.Hupie.com (hupie.dyndns.org [80.101.237.101])
	by hupie.dyndns.org (Postfix) with ESMTP id 0E4AB481DE8
	for <gpsd-dev@nongnu.org>; Thu, 14 Jul 2016 14:43:11 +0200 (CEST)
To: gpsd-dev@nongnu.org
References: <ac862aa9-f52f-828e-16f6-951a1d420321@hupie.com>
From: Ferry Huberts <mailings@hupie.com>
Message-ID: <bc25bb86-83e5-985d-abc6-725b8d418d09@hupie.com>
Date: Thu, 14 Jul 2016 14:43:11 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <ac862aa9-f52f-828e-16f6-951a1d420321@hupie.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 80.101.237.101
X-Mailman-Approved-At: Thu, 14 Jul 2016 10:11:10 -0400
Subject: Re: [gpsd-dev] Uninitialised data
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Jul 2016 12:43:16 -0000

Forgot to mention:

Fedora 24 has gpsd-3.16-2.fc24.x86_64

On 14/07/16 14:42, Ferry Huberts wrote:
> Hi,
>
> I'm on Fedora 24 and valgrind complains about uninitialised data:
>
>> $ valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all
>> ./Debug64/testgpsd -d 2 -c 400000 -i br0 -t 1 -s 127.0.0.1:2947
>> 224.0.0.224:2240 ::1:2240
>> ==19106== Memcheck, a memory error detector
>> ==19106== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
>> ==19106== Using Valgrind-3.11.0 and LibVEX; rerun with -h for
>> copyright info
>> ==19106== Command: ./Debug64/testgpsd -d 2 -c 400000 -i br0 -t 1 -s
>> 127.0.0.1:2947 224.0.0.224:2240 ::1:2240
>> ==19106==
>> ==19106== Conditional jump or move depends on uninitialised value(s)
>> ==19106==    at 0x4E4B9D4: gps_sock_read (in /usr/lib64/libgps.so.22.0.0)
>> ==19106==    by 0x4E48A59: gps_read (in /usr/lib64/libgps.so.22.0.0)
>> ==19106==    by 0x404022: main (main.c:453)
>> ==19106==  Uninitialised value was created by a heap allocation
>> ==19106==    at 0x4C2BBAD: malloc (vg_replace_malloc.c:299)
>> ==19106==    by 0x4E4B721: gps_sock_open (in /usr/lib64/libgps.so.22.0.0)
>> ==19106==    by 0x4E489DD: gps_open (in /usr/lib64/libgps.so.22.0.0)
>> ==19106==    by 0x4027CF: gpsdConnect (gpsd-util.c:48)
>> ==19106==    by 0x403FBB: main (main.c:443)
>> ==19106==
>> testgpsd[19106]: Connected to gpsd 3.16-2.fc24 on localhost, protocol
>> 3.11
>> testgpsd[19106]: Using u-blox device SW 6.02 (36023),HW 00040005,5.00
>> (28483) on /dev/ttyACM0
>> ...
>
>
>
> I can fix this with the attached patch.
>
> Please consider it for inclusion.
>
> PS. I'm not on the mailing list.
>
>

-- 
Ferry Huberts


From MAILER-DAEMON Thu Jul 14 11:35:40 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bNifs-00071m-Lo
	for mharc-gpsd-dev@gnu.org; Thu, 14 Jul 2016 11:35:40 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39700)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mailings@hupie.com>) id 1bNhca-0006wC-90
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 10:28:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mailings@hupie.com>) id 1bNhcU-0003zP-8l
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 10:28:11 -0400
Received: from hupie.dyndns.org ([80.101.237.101]:37300)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mailings@hupie.com>) id 1bNhcU-0003yp-1P
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 10:28:06 -0400
Received: from paul.internal.Hupie.com (hupie.dyndns.org [80.101.237.101])
	by hupie.dyndns.org (Postfix) with ESMTP id B9E2648144B
	for <gpsd-dev@nongnu.org>; Thu, 14 Jul 2016 16:28:02 +0200 (CEST)
To: gpsd-dev@nongnu.org
References: <ac862aa9-f52f-828e-16f6-951a1d420321@hupie.com>
	<bc25bb86-83e5-985d-abc6-725b8d418d09@hupie.com>
From: Ferry Huberts <mailings@hupie.com>
Message-ID: <89d61941-22b1-3594-6454-7e99b99e289f@hupie.com>
Date: Thu, 14 Jul 2016 16:28:02 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <bc25bb86-83e5-985d-abc6-725b8d418d09@hupie.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 80.101.237.101
X-Mailman-Approved-At: Thu, 14 Jul 2016 11:35:39 -0400
Subject: Re: [gpsd-dev] Uninitialised data
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Jul 2016 14:28:13 -0000

I'm on the list now

On 14/07/16 14:43, Ferry Huberts wrote:
> Forgot to mention:
>
> Fedora 24 has gpsd-3.16-2.fc24.x86_64
>
> On 14/07/16 14:42, Ferry Huberts wrote:
>> Hi,
>>
>> I'm on Fedora 24 and valgrind complains about uninitialised data:
>>
>>> $ valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all
>>> ./Debug64/testgpsd -d 2 -c 400000 -i br0 -t 1 -s 127.0.0.1:2947
>>> 224.0.0.224:2240 ::1:2240
>>> ==19106== Memcheck, a memory error detector
>>> ==19106== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et
>>> al.
>>> ==19106== Using Valgrind-3.11.0 and LibVEX; rerun with -h for
>>> copyright info
>>> ==19106== Command: ./Debug64/testgpsd -d 2 -c 400000 -i br0 -t 1 -s
>>> 127.0.0.1:2947 224.0.0.224:2240 ::1:2240
>>> ==19106==
>>> ==19106== Conditional jump or move depends on uninitialised value(s)
>>> ==19106==    at 0x4E4B9D4: gps_sock_read (in
>>> /usr/lib64/libgps.so.22.0.0)
>>> ==19106==    by 0x4E48A59: gps_read (in /usr/lib64/libgps.so.22.0.0)
>>> ==19106==    by 0x404022: main (main.c:453)
>>> ==19106==  Uninitialised value was created by a heap allocation
>>> ==19106==    at 0x4C2BBAD: malloc (vg_replace_malloc.c:299)
>>> ==19106==    by 0x4E4B721: gps_sock_open (in
>>> /usr/lib64/libgps.so.22.0.0)
>>> ==19106==    by 0x4E489DD: gps_open (in /usr/lib64/libgps.so.22.0.0)
>>> ==19106==    by 0x4027CF: gpsdConnect (gpsd-util.c:48)
>>> ==19106==    by 0x403FBB: main (main.c:443)
>>> ==19106==
>>> testgpsd[19106]: Connected to gpsd 3.16-2.fc24 on localhost, protocol
>>> 3.11
>>> testgpsd[19106]: Using u-blox device SW 6.02 (36023),HW 00040005,5.00
>>> (28483) on /dev/ttyACM0
>>> ...
>>
>>
>>
>> I can fix this with the attached patch.
>>
>> Please consider it for inclusion.
>>
>> PS. I'm not on the mailing list.
>>
>>
>

-- 
Ferry Huberts


From MAILER-DAEMON Thu Jul 14 21:37:33 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bNs4L-0003Cx-Gl
	for mharc-gpsd-dev@gnu.org; Thu, 14 Jul 2016 21:37:33 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44158)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNs4I-0003Ci-I5
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 21:37:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNs4G-0008HF-IM
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 21:37:29 -0400
Received: from rellim.com ([2001:470:e815::19]:45743 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNs4G-0008G7-9s
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 21:37:28 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6F1b8A1029828
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Thu, 14 Jul 2016 18:37:13 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6F1b8A1029828
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468546633; bh=SUzjVsuP5+ZmYEHdQhTYvofdYWeeqgZKJxiNnnyuB40=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=kwkkot6tpSZCFzi53oF5npCymVwC9icXlqQDSpMGoIqFF7jjsYzEMJCXUOoGrMfWg
	oviMWHDV8+5vJzlfPdmgVpnySCmky3TtsHFG6sPKNq1dGEnVzRRrZFjGxqVHi9qa6M
	jx9evJdMLNqW8MZCcfSQwAvWL9WG4QNxn7rqBD1U=
Date: Thu, 14 Jul 2016 18:37:08 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Ferry Huberts <mailings@hupie.com>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160714183708.29a3a45c@spidey.rellim.com>
In-Reply-To: <89d61941-22b1-3594-6454-7e99b99e289f@hupie.com>
References: <ac862aa9-f52f-828e-16f6-951a1d420321@hupie.com>
	<bc25bb86-83e5-985d-abc6-725b8d418d09@hupie.com>
	<89d61941-22b1-3594-6454-7e99b99e289f@hupie.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/8sVNvmlioUK1BRhfXxfd82F";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 14 Jul 2016 18:37:13 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] Uninitialised data
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2016 01:37:31 -0000

--Sig_/8sVNvmlioUK1BRhfXxfd82F
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Ferry!

Thanks for the patch.  I've been on the road and behind on patches.
Looks like you found an interesting case.

I just pushed your patch after looking at the surronding Code.

Wow, that PRIVATE() stuff is some weird code.  I'll bet there are
more bugs in there...

On Thu, 14 Jul 2016 16:28:02 +0200
Ferry Huberts <mailings@hupie.com> wrote:

> I'm on the list now
>=20
> On 14/07/16 14:43, Ferry Huberts wrote:
> > Forgot to mention:
> >
> > Fedora 24 has gpsd-3.16-2.fc24.x86_64
> >
> > On 14/07/16 14:42, Ferry Huberts wrote: =20
> >> Hi,
> >>
> >> I'm on Fedora 24 and valgrind complains about uninitialised data:
> >> =20
> >>> $ valgrind --track-origins=3Dyes --leak-check=3Dfull
> >>> --show-leak-kinds=3Dall ./Debug64/testgpsd -d 2 -c 400000 -i br0 -t
> >>> 1 -s 127.0.0.1:2947 224.0.0.224:2240 ::1:2240
> >>> =3D=3D19106=3D=3D Memcheck, a memory error detector
> >>> =3D=3D19106=3D=3D Copyright (C) 2002-2015, and GNU GPL'd, by Julian
> >>> Seward et al.
> >>> =3D=3D19106=3D=3D Using Valgrind-3.11.0 and LibVEX; rerun with -h for
> >>> copyright info
> >>> =3D=3D19106=3D=3D Command: ./Debug64/testgpsd -d 2 -c 400000 -i br0 -=
t 1
> >>> -s 127.0.0.1:2947 224.0.0.224:2240 ::1:2240
> >>> =3D=3D19106=3D=3D
> >>> =3D=3D19106=3D=3D Conditional jump or move depends on uninitialised
> >>> value(s) =3D=3D19106=3D=3D    at 0x4E4B9D4: gps_sock_read (in
> >>> /usr/lib64/libgps.so.22.0.0)
> >>> =3D=3D19106=3D=3D    by 0x4E48A59: gps_read
> >>> (in /usr/lib64/libgps.so.22.0.0) =3D=3D19106=3D=3D    by 0x404022: ma=
in
> >>> (main.c:453) =3D=3D19106=3D=3D  Uninitialised value was created by a =
heap
> >>> allocation =3D=3D19106=3D=3D    at 0x4C2BBAD: malloc
> >>> (vg_replace_malloc.c:299) =3D=3D19106=3D=3D    by 0x4E4B721:
> >>> gps_sock_open (in /usr/lib64/libgps.so.22.0.0)
> >>> =3D=3D19106=3D=3D    by 0x4E489DD: gps_open
> >>> (in /usr/lib64/libgps.so.22.0.0) =3D=3D19106=3D=3D    by 0x4027CF:
> >>> gpsdConnect (gpsd-util.c:48) =3D=3D19106=3D=3D    by 0x403FBB: main
> >>> (main.c:443) =3D=3D19106=3D=3D
> >>> testgpsd[19106]: Connected to gpsd 3.16-2.fc24 on localhost,
> >>> protocol 3.11
> >>> testgpsd[19106]: Using u-blox device SW 6.02 (36023),HW
> >>> 00040005,5.00 (28483) on /dev/ttyACM0
> >>> ... =20
> >>
> >>
> >>
> >> I can fix this with the attached patch.
> >>
> >> Please consider it for inclusion.
> >>
> >> PS. I'm not on the mailing list.
> >>
> >> =20
> > =20
>=20




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/8sVNvmlioUK1BRhfXxfd82F
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXiD5EAAoJEA0O2UlB0XnYKqEH/1/S9PcYLIwYdTz1ijXj698v
yb7gHeHH/GB1TRMd2eFEydTqtuZI1UEd3RkXxYMsYkTsAmMZw+l3qKuY9x20rup0
sEKngnVL+xRCHNxrrgzC2xE0/cIBeb/mNxZUmRFTFUqu6qtgC7Vcg5kWdE1JoGic
UBQKCaVX+Fu3Fk44gThXdab7WGjw7gnWSTD9AlSmm+fvAtYMAKcpz1FXidRhW303
gsUIqQMQPy2YhaoMRRrFmWQHBDgWj3Ao0u8m6+UZHJCzR5ePnSokOhMRw6EVLfm1
RfKDCBBoh8EzXn/q3u2jPTl7U9ft76Z3Nf2GCHt2Z+j+M/+zQGTldCHhpBVWFhg=
=imyp
-----END PGP SIGNATURE-----

--Sig_/8sVNvmlioUK1BRhfXxfd82F--


From MAILER-DAEMON Thu Jul 14 22:09:51 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bNsZb-00084V-8B
	for mharc-gpsd-dev@gnu.org; Thu, 14 Jul 2016 22:09:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49352)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNsZX-00083z-Rx
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 22:09:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNsZV-0005qu-JF
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 22:09:46 -0400
Received: from rellim.com ([2001:470:e815::19]:53408 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNsZU-0005qL-QB
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 22:09:45 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6F29WW8027237
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Thu, 14 Jul 2016 19:09:38 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6F29WW8027237
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468548578; bh=KcxPP7fC/uJaAnH77yO8LObxUHYW5xAfqvMIrnz/LVE=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=b4uumGs/xD6HmmDANThYUlTCFawURwiY7yu/KdKw+BDmExL0VNSVzKFBdnPFbnEbD
	9S470o5QCCDGyBPCY120dcq78817r+CY0IHORkGT/9XjOoIcpAgq367Xvnrd+3YwOE
	ky7HFl7YDmgS3xGz5HkmcuxiqHATBLcN7LkIS3qg=
Date: Thu, 14 Jul 2016 19:09:32 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160714190932.61ef612e@spidey.rellim.com>
In-Reply-To: <20160710200937.12226-1-fw@fwright.net>
References: <20160710200937.12226-1-fw@fwright.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/gfb6AKqGu7i5qqachE5mYNI";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 14 Jul 2016 19:09:38 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2016 02:09:49 -0000

--Sig_/gfb6AKqGu7i5qqachE5mYNI
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

Sorry for the delay,  I've been on the road.  Looks good to me, pushed.

Thanks for the patch!

On Sun, 10 Jul 2016 13:09:36 -0700
Fred Wright <fw@fwright.net> wrote:

> ---
>  www/NMEA.txt                    | 23 ++++++++++++-----------
>  www/gpsd-time-service-howto.txt | 23 ++++++++++++-----------
>  2 files changed, 24 insertions(+), 22 deletions(-)
>=20
> diff --git a/www/NMEA.txt b/www/NMEA.txt
> index 8651ee1..0a0446f 100644
> --- a/www/NMEA.txt
> +++ b/www/NMEA.txt
> @@ -198,21 +198,22 @@ broadcast a current leap-second correction
> which may be updated on three-month boundaries according to
> rotational bulletins issued by the International Earth Rotation and
> Reference Systems Service (IERS).=20
> -The leap-second correction is only included in the satellite
> subframre -broadcast, roughly once ever 20 minutes.  While the
> satellites do +The leap-second correction is only included in the
> multiplexed satellite +subframe broadcast, once every 12.5 minutes.
> While the satellites do notify GPSes of upcoming leap-seconds, this
> notification is not -necessarily processed correctly on
> consumer-grade devices, and will -not be available at all when a GPS
> receiver has just -cold-booted. Thus, reported UTC time may be
> slightly inaccurate -between a cold boot or leap second and the
> following subframe -broadcast.
> +necessarily processed correctly on consumer-grade devices, and may
> not +be available at all when a GPS receiver has just cold-booted.
> Thus, +reported UTC time may be slightly inaccurate between a cold
> boot or leap +second and the following subframe broadcast.
> =20
>  GPS date and time are subject to a rollover problem in the 10-bit
> week -number counter, which will re-zero every 1024 weeks (roughly
> every 20 +number counter, which will re-zero every 1024 weeks
> (roughly every 19.6 years). The last rollover (and the first since
> GPS went live in 1980) -was in 1999; the next would fall in 2019, but
> plans are afoot to -upgrade the satellite counters to 13 bits; this
> will delay the next -rollover until 2173.
> +was in Aug-1999; the next will fall in Apr-2019.  The new "CNAV" data
> +format extends the week number to 13 bits, with the first rollover
> +occurring in Jan-2137, but this is only used with some newly added
> GPS +signals, and is unlikely to be usable in most consumer-grade
> receivers +prior to the 2019 rollover.
> =20
>  For accurate time reporting, therefore, a GPS requires a supplemental
>  time references sufficient to identify the current rollover period,
> diff --git a/www/gpsd-time-service-howto.txt
> b/www/gpsd-time-service-howto.txt index 5cf84ca..f46bc5b 100644
> --- a/www/gpsd-time-service-howto.txt
> +++ b/www/gpsd-time-service-howto.txt
> @@ -120,21 +120,22 @@ broadcast a current leap-second correction
> which is updated on six-month boundaries according to rotational
> bulletins issued by the International Earth Rotation and Reference
> Systems Service (IERS).=20
> -The leap-second correction is only included in the satellite subframe
> -broadcast, roughly once ever 20 minutes. While the satellites do
> +The leap-second correction is only included in the multiplexed
> satellite +subframe broadcast, once every 12.5 minutes.  While the
> satellites do notify GPSes of upcoming leap-seconds, this
> notification is not -necessarily processed correctly on
> consumer-grade devices, and will -not be available at all when a GPS
> receiver has just -cold-booted. Thus, UTC time reported from devices
> may be slightly -inaccurate between a cold boot or leap second and
> the following -subframe broadcast.
> +necessarily processed correctly on consumer-grade devices, and may
> not +be available at all when a GPS receiver has just cold-booted.
> Thus, +reported UTC time may be slightly inaccurate between a cold
> boot or leap +second and the following subframe broadcast.
> =20
>  GPS date and time are subject to a rollover problem in the 10-bit
> week -number counter, which will re-zero every 1024 weeks (roughly
> every 20 +number counter, which will re-zero every 1024 weeks
> (roughly every 19.6 years). The last rollover (and the first since
> GPS went live in 1980) -was 0000 22 August 1999; the next would fall
> in 2019, but plans are -afoot to upgrade the satellite counters to 13
> bits; this will delay -the next rollover until 2173.
> +was in Aug-1999; the next will fall in Apr-2019.  The new "CNAV" data
> +format extends the week number to 13 bits, with the first rollover
> +occurring in Jan-2137, but this is only used with some newly added
> GPS +signals, and is unlikely to be usable in most consumer-grade
> receivers +prior to the 2019 rollover.
> =20
>  For accurate time reporting, therefore, a GPS requires a supplemental
>  time references sufficient to identify the current rollover period,




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/gfb6AKqGu7i5qqachE5mYNI
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXiEXcAAoJEA0O2UlB0XnYaxsIAILCQjt/rAnzqlP4gJQtKL4D
A+mCZJbYsPMQ6vwWKaGBxi6qE+0jR3Jx7PuL6wKZuaZ7ydX6Vq6jSFtP8+Sk1TwY
7O04XMUN0xQGaq+wSU+r5ehsmgReuyaUMOYk4NUqIS9lWyFwzJ3b8+OpP4o54mm6
eJfbfuQmn/ex8xkiimBd1g+axr9bALiSvCkG56AlYCPK+vUGSFBFa9idRawG66SO
cguxI1RrXpY9+e5Zh8PbSsxRTuTXEu7UXYlXzu2wvSOritk11zmhF4LfAqopwWzF
mTgsAIm++NA4ONvqWsN27FFtDCMPcNk3EMxlSMp/MNixtGqPcWgeExnOx9xV5mA=
=CYxi
-----END PGP SIGNATURE-----

--Sig_/gfb6AKqGu7i5qqachE5mYNI--


From MAILER-DAEMON Thu Jul 14 22:13:06 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bNsck-0000dZ-2t
	for mharc-gpsd-dev@gnu.org; Thu, 14 Jul 2016 22:13:06 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49948)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNsci-0000dH-Dz
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 22:13:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNsch-0006Gf-Hx
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 22:13:04 -0400
Received: from rellim.com ([2001:470:e815::19]:47866 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNsch-0006GW-Aa
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 22:13:03 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6F2Ct7v030167
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Thu, 14 Jul 2016 19:13:00 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6F2Ct7v030167
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468548780; bh=mfCusRWi1o7GwGJ/ZXmIfak7O3n16wH14Nogbzm07wY=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=Howzb+nQiWzoP9nKUn2QYh89NGKg+wws7jVPD6j0gz+rfPqxRVu+zGYdH2ut4HydI
	FwAfCvOTnmW9N7HaxQVDT4dShBbY361aqq1Erk15OM3SOnjNqH9YRZQeUhAxWfCGtY
	3e6r/2nN6zXQeMk5bW+DCoPDXsa7et5NUVRW/oQQ=
Date: Thu, 14 Jul 2016 19:12:55 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160714191255.35bd86d4@spidey.rellim.com>
In-Reply-To: <20160710200937.12226-2-fw@fwright.net>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160710200937.12226-2-fw@fwright.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/23E.YCd/ZJ847+.Fx0y5tmr";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 14 Jul 2016 19:13:00 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH 2/2] Fixes typo in logfile comment.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2016 02:13:05 -0000

--Sig_/23E.YCd/ZJ847+.Fx0y5tmr
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

Fix pushed.  Thanks for the patch.

That test was new to me, nice to know gpsd already has a patch for the
next GPS week rollover.

On Sun, 10 Jul 2016 13:09:37 -0700
Fred Wright <fw@fwright.net> wrote:

> ---
>  test/daemon/gp-320fw-2019-04-06-overflow.log | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>=20
> diff --git a/test/daemon/gp-320fw-2019-04-06-overflow.log
> b/test/daemon/gp-320fw-2019-04-06-overflow.log index 694a859..7499e91
> 100644 --- a/test/daemon/gp-320fw-2019-04-06-overflow.log
> +++ b/test/daemon/gp-320fw-2019-04-06-overflow.log
> @@ -5,7 +5,7 @@
>  # Date: 2010-10-16
>  # Notes: This is the chip in normal operation after warm boot, but
>  #        with a sat simulator spoofing it into thinking it is
> -#        2019-06-04, just after a 10-bit GPS week wraparound.
> +#        2019-04-06, just after a 10-bit GPS week wraparound.
>  #        Because the receiver has not been restarted, it displays
>  #        a correct time.
>  #




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/23E.YCd/ZJ847+.Fx0y5tmr
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXiEanAAoJEA0O2UlB0XnY0KoH/2w4wNzbmgDVEAhJAC81dwnm
jrgdv3bgUo1aPedEakJoLp5vVV92EcUN3jd4Q4O5kYFHet4CYQn2uy1PnE5eLDbi
z8YurjsLnbh3CoAQcOdVD02l7N6DD6NCqWH5D56PPG+/7oR02DwF1+7HynD0iSmW
btwXRes9iJonomujesPDLDXpUnli+IGg9FJGTXzlkERhNA8YhY+pfk8l14i4gVPx
2eS485OlTz4tkE7fUyllUKQAs/0i2DK2bSya2687kfcip+EImOIt+IqfUN3kFJMc
kIKoMsDns73yEcMs0huA0uF0hp/oM6i2cJDiLDJkZrJzFxrq0FXZ2rlEeZdsnz8=
=7xOt
-----END PGP SIGNATURE-----

--Sig_/23E.YCd/ZJ847+.Fx0y5tmr--


From MAILER-DAEMON Thu Jul 14 22:39:56 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bNt2i-0007tu-8H
	for mharc-gpsd-dev@gnu.org; Thu, 14 Jul 2016 22:39:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53758)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNt2f-0007tj-Sl
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 22:39:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNt2e-0002jp-Cv
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 22:39:53 -0400
Received: from rellim.com ([2001:470:e815::19]:57832 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bNt2e-0002jU-3Z
	for gpsd-dev@nongnu.org; Thu, 14 Jul 2016 22:39:52 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6F2dgaS019457
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Thu, 14 Jul 2016 19:39:47 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6F2dgaS019457
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468550388; bh=h9mUTbePT3qpKB5LEfGqzwqLKUx8OVQqcaHlwk8e2Og=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=MZeC2ZGbFoSuEErQMAKCz8syu+e3sEi2EUtbT4AlNbsIa0BhTiAwYXl+MlSDx46UO
	loJjhahxhp0rvEVEiTJmDTU8l00uiyrQRANbjPeds8wuc9cRhWBvUfSp7i7I5Z2zgN
	fYoab3qQQ4CG30SAxM7RWKJz7hdTKmKcvV6fvphI=
Date: Thu, 14 Jul 2016 19:39:42 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Robert Norris <rw_norris@hotmail.com>
Cc: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Message-ID: <20160714193942.1b3c5929@spidey.rellim.com>
In-Reply-To: <DB6PR0601MB216828EF35837C1BB57A0EE88E220@DB6PR0601MB2168.eurprd06.prod.outlook.com>
References: <DB6PR0601MB216828EF35837C1BB57A0EE88E220@DB6PR0601MB2168.eurprd06.prod.outlook.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/6kK3/QEwT5WvH7M04+uu1Q4";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 14 Jul 2016 19:39:48 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH] Building test_libgps can fail with specifc
 build options.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2016 02:39:54 -0000

--Sig_/6kK3/QEwT5WvH7M04+uu1Q4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Robert!

Sorry for the delay.  The patch works for me as you described.

Applied and pushed.

Thanks for the patch!

On Tue, 28 Jun 2016 22:53:33 +0000
Robert Norris <rw_norris@hotmail.com> wrote:

> test_libgps will fail with this build command:
>  scons shared=3DTrue socket_export=3DTrue minimal=3DTrue test_libgps
> resulting with undefined reference to 'libgps_dump_state' errors
>=20
> As test_libgps would force debugging on, yet libgps_dump_state() is
> compiled out.
>=20
> Simply wrap libgps_dump_state() calls with suitable ifdefs
>  and don't force the LIBGPS_DEBUG define in code.
> ---
>  test_libgps.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
>=20
> diff --git a/test_libgps.c b/test_libgps.c
> index c9db543..8baadf7 100644
> --- a/test_libgps.c
> +++ b/test_libgps.c
> @@ -10,8 +10,6 @@
>  #include <stdarg.h>
>  #include <ctype.h>
> =20
> -#define LIBGPS_DEBUG
> -
>  #include "gps.h"
>  #include "libgps.h"
>  #include "gpsdclient.h"
> @@ -94,7 +92,9 @@ int main(int argc, char *argv[])
>  	while (fgets(buf, sizeof(buf), stdin) !=3D NULL) {
>  	    if (buf[0] =3D=3D '{' || isalpha(buf[0])) {
>  		gps_unpack(buf, &gpsdata);
> +#ifdef LIBGPS_DEBUG
>  		libgps_dump_state(&gpsdata);
> +#endif
>  	    }
>  	}
>  #endif
> @@ -115,8 +115,10 @@ int main(int argc, char *argv[])
>  			errno, gps_errstr(errno));
>  	}
>  #ifdef SOCKET_EXPORT_ENABLE
> +#ifdef LIBGPS_DEBUG
>  	libgps_dump_state(&collect);
>  #endif
> +#endif
>  	(void)gps_close(&collect);
>      } else {
>  	int tty =3D isatty(0);
> @@ -135,8 +137,10 @@ int main(int argc, char *argv[])
>  	    (void)gps_send(&collect, buf);
>  	    (void)gps_read(&collect);
>  #ifdef SOCKET_EXPORT_ENABLE
> +#ifdef LIBGPS_DEBUG
>  	    libgps_dump_state(&collect);
>  #endif
> +#endif
>  	}
>  	(void)gps_close(&collect);
>      }




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/6kK3/QEwT5WvH7M04+uu1Q4
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXiEzuAAoJEA0O2UlB0XnYIUAH/j3HTvk9t/VfPaY5NgH+QD68
vKlJspDrmpWZzWt8efxNa3CYYDP7Hu9VJWTbIo477brIrpJ7Oc/MKeplFwJRJnFD
yQcefTcfenuqiZaaSb8X74a3Umr7TtNKrWLA0cd1WUvdDIDW1kfA0e8TVi9u8fDn
RlWqUQFZ9y4VhFZ6CDqMOTpYaD2/Y5pQ2gzy1lNEaW9luSD64HcekPfxpVtVcxon
FnZnoQSYEjd3JNUlUNohIAIZYqawAE0ipuraYu73wDfM1mhNj5jZGUdSygrhqTl1
QTTbLbZzDRT9O3Va/EjKJbwwgWripNPI9vPNIDw//niZUn6WCbZnyk8iqjStxrk=
=yyzD
-----END PGP SIGNATURE-----

--Sig_/6kK3/QEwT5WvH7M04+uu1Q4--


From MAILER-DAEMON Fri Jul 15 15:29:03 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bO8nH-0005Zl-O6
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 15:29:03 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42426)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bO8nF-0005ZD-Ac
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 15:29:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bO8nB-0002WA-0F
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 15:29:00 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:56901)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bO8nA-0002Va-NA
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 15:28:56 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6FJSoq3012787
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 12:28:50 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6FJSoPQ005058
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 12:28:50 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6FJSn2d005047
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 12:28:50 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 15 Jul 2016 12:28:49 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160714190932.61ef612e@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVb/lFFR1UARz2T29KYigFthRAaoepuAG0lHe0CPPx9MTfO/jpGtnsqxspX/MJoPYhItidDmAQug4ql5I8L0Rk2w
X-Sonic-ID: C;pprhW8JK5hGsQ5NwxPCmMQ== M;vJ4DXMJK5hGsQ5NwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2016 19:29:02 -0000


On Thu, 14 Jul 2016, Gary E. Miller wrote:

> Sorry for the delay,  I've been on the road.  Looks good to me, pushed.

Thanks.  Don't forget the related earlier one I emailed on 02-Jul (which
is why this one said "more" :-)).

Please consider using "git am" to apply emailed patches generated with
"git format-patch" (all of mine, at least).  This takes the commit message
directly from the email, which is both less work and less error-prone than
creating a new commit message from scratch.  One can still add an SOB line
with "-s" if desired.  This is the way Eric does it.

Fred Wright


From MAILER-DAEMON Fri Jul 15 15:38:17 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bO8wD-0004Vr-3V
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 15:38:17 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44677)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bO8wA-0004UN-K3
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 15:38:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bO8w9-00054S-MB
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 15:38:14 -0400
Received: from rellim.com ([2001:470:e815::19]:51911 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bO8w9-00053P-Bq
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 15:38:13 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6FJc2mr006492
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 15 Jul 2016 12:38:08 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6FJc2mr006492
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468611488; bh=25pj9w7uc/LxjoCy7f10QdKOefMd0FpdrWzognnZLVs=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=Mw997AD1/B6z2rLxk5voL8sf09VI+Txy6DOptNywwIoXWEzmdvtQ4IapB6P+/hlsX
	mdI9aoi50ueEy0zaniOMUrDRbQvUUNEPplg7YGrXdCNTsR2aQD8yJplVXNYV7NoKQn
	xXdoRDB3FOx0rTq2EAsWKgF4NEqnhqnrT0jPRTLY=
Date: Fri, 15 Jul 2016 12:38:02 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160715123802.4bfaf2dd@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/SWF4ZuPzKaHng+CYxrgHM_b";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 15 Jul 2016 12:38:08 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2016 19:38:15 -0000

--Sig_/SWF4ZuPzKaHng+CYxrgHM_b
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Fri, 15 Jul 2016 12:28:49 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> On Thu, 14 Jul 2016, Gary E. Miller wrote:
>=20
> > Sorry for the delay,  I've been on the road.  Looks good to me,
> > pushed. =20
>=20
> Thanks.  Don't forget the related earlier one I emailed on 02-Jul
> (which is why this one said "more" :-)).

I thought I had all of your changes in now.  Please resubmit.

> Please consider using "git am" to apply emailed patches generated with
> "git format-patch" (all of mine, at least).  This takes the commit
> message directly from the email, which is both less work and less
> error-prone than creating a new commit message from scratch.  One can
> still add an SOB line with "-s" if desired.  This is the way Eric
> does it.

Gack.  Email mungs patchs.  Which is why I had to manually apply.
I like format-patch, but to really work it needs to be sent as an=20
attachment.  Send you patchs as attachments and maybe I'll apply
them as-is.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/SWF4ZuPzKaHng+CYxrgHM_b
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXiTuaAAoJEA0O2UlB0XnYhuoH/AsxAVCCiZ+eXJBmQYqNcKr5
BcRdFq9SNMjXsHGUeWwc6iyz+04yKfNSA9bm/tfPWeGzVESuSuww4hqRgfoagOq6
ODqLO8SrWGoxVZ/eH8sqorFH1abxE0zUkrkvEUtg7Xj2FIksPUKdtyfkxx+0jy5d
KypTs5d/Q20bAbn+dPXhiKr2koNFEOTHH1KLJfTyrIsPnF8TFWfXEPHW5N4gHtLQ
fa6ngvr0KJKJp/sbTIT9VzMPHDONqBt0Z0NXi+2LRmYheqens/0cgVgquEKJR2hg
yi1JjApnwAHrq6vhakJm8yanb61LH31O1ngm2S75CJTqJMAXfxfRmojt4gMebQo=
=L1sr
-----END PGP SIGNATURE-----

--Sig_/SWF4ZuPzKaHng+CYxrgHM_b--


From MAILER-DAEMON Fri Jul 15 16:36:03 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bO9q6-0004Di-Vd
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 16:36:03 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54786)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fercerpav@gmail.com>) id 1bO9q4-0004Az-UY
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 16:36:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fercerpav@gmail.com>) id 1bO9q2-0008Ju-Q4
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 16:35:59 -0400
Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:35487)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fercerpav@gmail.com>) id 1bO9q2-0008Jl-HM
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 16:35:58 -0400
Received: by mail-lf0-x241.google.com with SMTP id l89so7653328lfi.2
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 13:35:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:from:to:cc:subject:message-id:references:mime-version
	:content-disposition:in-reply-to:user-agent;
	bh=NXBWYgcf+qZPNh2+8xUFjDRxrWjSAIzYsXf14ZvoteE=;
	b=ovO7DxZjImtF0lHXH/g6ZOiJaS3xsrWQLq8/0tSWsqdWi4rL3iz0qoU4qsSENpTqKX
	DTOVRKMfZIjD1paXcfa06ul+eurC6s0mIiFnxpe01p2nXepU275BQi3UNZNh/HIvpcIU
	D7MlPEbHU+y7MOhXSFaEJWh9FHbo38mBV0Ejlm6elyA+8yJyw8aG69NUw65LFUFo/BcE
	qyRuE545Mb5gLpoECGpAFV3OXEmT01OjQ7H6JPXV3vkGz2kJdwA/NtTohVRf/PAuuZg4
	ECT8V4EkHNuRQsbOcLZPE0f87YRB5eJ5bxofKAXYNmXUqzLenTwhLWDFdIb3YrOLGUQa
	m/oQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-disposition:in-reply-to:user-agent;
	bh=NXBWYgcf+qZPNh2+8xUFjDRxrWjSAIzYsXf14ZvoteE=;
	b=MQt6OBuLfvAlEOkGcV+Fvr2u6xZ8QnlbNeUK20BsS9op9c9da98QL1IEyjmIrdva+V
	fjBJkE9u9LHwcqBO8v3S0IvjZCGvphPhYAVOBGkluO97x5TdqTh5gkwMY5ZezkICx0RC
	c0QNN/7JQmIAWuxud3/dCNFFFzxM2BxT9YheNQt/7JC+1niISbELrjYyX5EbhIy64zux
	5/4tMGm7pGYUllw9wrOSmL8kOYRy9TwYgTj7Gxx2tMFxld9rksclViW1Tlr7KvPGTO/S
	XLHE8/YTaYQoTWxsOZ3DG0z5NAwpXS0iVI6/SEBgN4Ss8kfwGfU4mah/qf3OJJY6beRW
	pKlA==
X-Gm-Message-State: ALyK8tLYZFtfZyOqRNxHTD2s3s3gKTPVYe+OevWQIZ1f3euTa8ui/wWjqvgxOhL883NHlA==
X-Received: by 10.25.153.203 with SMTP id b194mr2052064lfe.185.1468614957440; 
	Fri, 15 Jul 2016 13:35:57 -0700 (PDT)
Received: from home.paul.comp (paulfertser.info.
	[2001:470:26:54b:250:70ff:fee7:41ec])
	by smtp.gmail.com with ESMTPSA id f66sm337328lfe.4.2016.07.15.13.35.56
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 15 Jul 2016 13:35:56 -0700 (PDT)
Received: from home.paul.comp (localhost [127.0.0.1])
	by home.paul.comp (8.14.4/8.15.2/Debian-3) with ESMTP id u6FKZseX001263;
	Fri, 15 Jul 2016 23:35:54 +0300
Received: (from paul@localhost)
	by home.paul.comp (8.14.4/8.14.4/Submit) id u6FKZs1X001262;
	Fri, 15 Jul 2016 23:35:54 +0300
Date: Fri, 15 Jul 2016 23:35:53 +0300
From: Paul Fertser <fercerpav@gmail.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: Fred Wright <fw@fwright.net>, GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160715203553.GA32154@home.paul.comp>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
	<20160715123802.4bfaf2dd@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160715123802.4bfaf2dd@spidey.rellim.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2a00:1450:4010:c07::241
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2016 20:36:02 -0000

Hey Gary,

On Fri, Jul 15, 2016 at 12:38:02PM -0700, Gary E. Miller wrote:
> Gack.  Email mungs patchs.  Which is why I had to manually apply.

I haven't heard about MTAs mangling patches. Only some misconfigured
MUAs do that. Also, many people use git send-email when sending
patches which obviously always does the right thing.

So there should be no reason why a patch sent inline might be
inapplicable with "git am". Also, inline patches are easier to view
and comment on. So IMHO your suggestion to send patches as attachments
seems to be misguided.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav@gmail.com


From MAILER-DAEMON Fri Jul 15 16:47:39 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOA1L-0006t3-34
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 16:47:39 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56966)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOA1J-0006sv-9z
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 16:47:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOA1F-0002Bi-2t
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 16:47:36 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:47158)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOA1E-0002Bb-R8
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 16:47:33 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6FKlTNb006471
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 13:47:29 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6FKlTPP016212
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 13:47:29 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6FKlS3P016189
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 13:47:29 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 15 Jul 2016 13:47:28 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160715123802.4bfaf2dd@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607151325560.31811@bolt.sonic.net>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
	<20160715123802.4bfaf2dd@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVYXKv3nJ2ZzXnC2lO0u4/2u2Z+/5zEIBFPQoaWxFdvVd05mwgewqxVBytmkZpLrhqpF6xrOSnbJUWyuoWseO8Nn
X-Sonic-ID: C;+mNsWM1K5hG9rJtMTlz00w== M;RNiZWM1K5hG9rJtMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2016 20:47:38 -0000


On Fri, 15 Jul 2016, Gary E. Miller wrote:
> On Fri, 15 Jul 2016 12:28:49 -0700 (PDT)
> Fred Wright <fw@fwright.net> wrote:
>
> > Thanks.  Don't forget the related earlier one I emailed on 02-Jul
> > (which is why this one said "more" :-)).
>
> I thought I had all of your changes in now.  Please resubmit.

Ok, will do.

> > Please consider using "git am" to apply emailed patches generated with
> > "git format-patch" (all of mine, at least).  This takes the commit
> > message directly from the email, which is both less work and less
> > error-prone than creating a new commit message from scratch.  One can
> > still add an SOB line with "-s" if desired.  This is the way Eric
> > does it.
>
> Gack.  Email mungs patchs.  Which is why I had to manually apply.
> I like format-patch, but to really work it needs to be sent as an
> attachment.  Send you patchs as attachments and maybe I'll apply
> them as-is.

It must be your email client that's doing the munging.  I normally don't
use an email client to send patches at all; I just use "git send-email",
which talks to the SMTP server directly.

An even cleaner approach is to fetch directly from my GitHub repo (which
doesn't require having a GitHub account).  Patches via email are just sooo
twentieth-century. :-) But so far the only one who's taken patches that
way is Jon.

Try this:

	git fetch https://github.com/fhgwright/gpsd +doc-fixes:fwpatch

That will give you a new branch "fwpatch" derived from my doc-fixes
branch (where the missing patch lives).  Then you can diff and/or merge as
usual.  I've already rebased it to the current master, so it's
fast-forwardable ATM.

If that doesn't work, I'll send an attachment, though the non-attachment
approach seems to be better for most people (particularly when the sending
email client insists on encoding the attachment in a way that isn't
directly viewable in some clients).

Fred Wright


From MAILER-DAEMON Fri Jul 15 16:59:26 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOACk-00056a-NZ
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 16:59:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58928)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOACi-00055d-IG
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 16:59:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOACg-0003wU-Fk
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 16:59:23 -0400
Received: from rellim.com ([2001:470:e815::19]:54337 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOACg-0003vZ-5f
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 16:59:22 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6FKxCQi032519
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 15 Jul 2016 13:59:17 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6FKxCQi032519
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468616358; bh=+PY/QHGjJfs3WQgI0YshS1C7vPr4kyC5kjyUymkBMcU=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=gMsSUFSSFvzXLcTkGH32jQzr3cFG+hGGct6Y1cp3hNTQfoISu8HvT3ST+uWXrQCJ7
	3/wvCzFM52bnMC/p/+m4KJLhyDpdfahARXUdZx9LzHLVia9knHGiNmJ/Ro9kNz3hkx
	9YAPCUXY0kUppZL8O+HktOQgwclBHe5GwU9YP4TY=
Date: Fri, 15 Jul 2016 13:59:12 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Paul Fertser <fercerpav@gmail.com>
Cc: Fred Wright <fw@fwright.net>, GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160715135912.5e5eeeb5@spidey.rellim.com>
In-Reply-To: <20160715203553.GA32154@home.paul.comp>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
	<20160715123802.4bfaf2dd@spidey.rellim.com>
	<20160715203553.GA32154@home.paul.comp>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/FOHy2VG+n/kkspOrhs=.4XB";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 15 Jul 2016 13:59:18 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2016 20:59:25 -0000

--Sig_/FOHy2VG+n/kkspOrhs=.4XB
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Paul!

On Fri, 15 Jul 2016 23:35:53 +0300
Paul Fertser <fercerpav@gmail.com> wrote:

> On Fri, Jul 15, 2016 at 12:38:02PM -0700, Gary E. Miller wrote:
> > Gack.  Email mungs patchs.  Which is why I had to manually apply. =20
>=20
> I haven't heard about MTAs mangling patches. Only some misconfigured
> MUAs do that. Also, many people use git send-email when sending
> patches which obviously always does the right thing.

I'm just saying what I'm seeing...

At a minimum the gpsd-dev mailing list server is adding things to the
subject, which gets sucked into the commit comment.
=20
> So there should be no reason why a patch sent inline might be
> inapplicable with "git am". Also, inline patches are easier to view
> and comment on. So IMHO your suggestion to send patches as attachments
> seems to be misguided.

Which is why many people inline the patch, AND attach it.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/FOHy2VG+n/kkspOrhs=.4XB
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXiU6gAAoJEA0O2UlB0XnYQ7gIALKp5CBnAlVSolD6RMl3Nvr3
+3ObHlE/rh0Ur/alE1sy4/E+kaHw4bjd3pDLle6GGFH2oqAWPLoPA1LZRgA/yjN9
trQ79nvvaEOkHELmX4cg4scEexG7uRvLugAPdIiiJZQgmBsnRHCKyh0OsXFEzCqI
KEx7Y9SeE0eP+3yWkWV7DZV0ipUiPr5LrV12w1QcA5l9XjCdbicxkNLRnnKrXEbB
+8nOOKToywF4oefdWIGTkQzLRNcrlKVk2qnfSmfj3ypuiXuq1ghCpe1y0ZxLabPB
rCPFNp0/ilpG/KNjSK4gGxN4kn1KN268hO/0zCvPI7hRUApWMBUUoazVoO1ggB0=
=MlRr
-----END PGP SIGNATURE-----

--Sig_/FOHy2VG+n/kkspOrhs=.4XB--


From MAILER-DAEMON Fri Jul 15 17:09:49 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOAMn-0003xh-Fl
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 17:09:49 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60858)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOAMk-0003jh-3U
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 17:09:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOAMh-0006Tv-SQ
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 17:09:45 -0400
Received: from rellim.com ([2001:470:e815::19]:38842 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOAMh-0006Tj-LB
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 17:09:43 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6FL9YZC003922
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 15 Jul 2016 14:09:40 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6FL9YZC003922
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468616980; bh=YsrO+5NWMfkiptkSuh3vU8Ahesw4C3dGwtwcdS0QCbM=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=HAmIx0UhIWFiZkp/+7iWiilRBxtTt+zP3uMG2HYpwFz+mTQ/yfXC8kulX9lzePuR8
	5w2dli5z9gtiUlm767ccfcnpudmc9HUkykGyvC869gBmtElrMWKv0bXh9WBd/dUVQF
	HI6tEryYK94P2xcHcMLRySoJ4Lp77YtKv6/N/SXo=
Date: Fri, 15 Jul 2016 14:09:34 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160715140934.7721caa7@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607151325560.31811@bolt.sonic.net>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
	<20160715123802.4bfaf2dd@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151325560.31811@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/si9EZQxbYF+cocsc67R6UVO";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 15 Jul 2016 14:09:40 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2016 21:09:47 -0000

--Sig_/si9EZQxbYF+cocsc67R6UVO
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Fri, 15 Jul 2016 13:47:28 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> > > Please consider using "git am" to apply emailed patches generated
> > > with "git format-patch" (all of mine, at least).  This takes the
> > > commit message directly from the email, which is both less work
> > > and less error-prone than creating a new commit message from
> > > scratch.  One can still add an SOB line with "-s" if desired.
> > > This is the way Eric does it. =20
> >
> > Gack.  Email mungs patchs.  Which is why I had to manually apply.
> > I like format-patch, but to really work it needs to be sent as an
> > attachment.  Send you patchs as attachments and maybe I'll apply
> > them as-is. =20
>=20
> It must be your email client that's doing the munging.=20

At a minimum we know the gpsd-dev mail server is munging the
subject.  The subject gets sucked into the git commit comment.

> An even cleaner approach is to fetch directly from my GitHub repo
> (which doesn't require having a GitHub account).  Patches via email
> are just sooo twentieth-century. :-) But so far the only one who's
> taken patches that way is Jon.

I guess I better learn how..
=20
> 	git fetch https://github.com/fhgwright/gpsd +doc-fixes:fwpatch

I did that:

    pi2 gpsd # git fetch https://github.com/fhgwright/gpsd +doc-fixes:fwpat=
ch
    remote: Counting objects: 4, done.
    remote: Compressing objects: 100% (3/3), done.
    remote: Total 4 (delta 1), reused 1 (delta 1), pack-reused 0
    Unpacking objects: 100% (4/4), done.
    From https://github.com/fhgwright/gpsd
     * [new branch]      doc-fixes  -> fwpatch
    pi2 gpsd # git diff

But nothing in the diff, nothing in git status, and nothing in git log.

What did I do wrong?

> That will give you a new branch "fwpatch" derived from my doc-fixes
> branch (where the missing patch lives).  Then you can diff and/or
> merge as usual.

Well, maybe usual for you, I'm a bit lost...

> If that doesn't work, I'll send an attachment, though the
> non-attachment approach seems to be better for most people
> (particularly when the sending email client insists on encoding the
> attachment in a way that isn't directly viewable in some clients).

The value to sending to the list is that more eyes get to see the patch.
This is a lot more work for the casual lurker, and I don't have it
working yet.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/si9EZQxbYF+cocsc67R6UVO
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXiVEOAAoJEA0O2UlB0XnYfhYH+wWyMRSei2qvG1eWoDa7Zj1t
6LMpkC4up9FLszkHELsCQMdvEQYQCTEWxJDLYuKTkarDZaLXDjQTxrKnH7QTnfiz
iWzccKbdeIXPEwqxmiR39dfaoSJrEBXgb75px9JE9Lb7vAOrdLZtg5O7MiYOh/3s
QbD7LsWTOmjWKGtM+9xi8qtWgJ/Xq0nPsg/RKxk1ICH0uaG7GUYkT8LELv95Y4Y/
60BXQyX1EOrz+kAFVzTzkorvTgudv5KKLhuyJJW7j8SYbpb5NSEukgpQssY4CDQa
9/cP8hFVIsSAExypwbQhmtNXhCiemnIjdC9Cv6HTFvsMXRpLN5+wqNI7Jav3LKk=
=lEDf
-----END PGP SIGNATURE-----

--Sig_/si9EZQxbYF+cocsc67R6UVO--


From MAILER-DAEMON Fri Jul 15 21:14:50 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOEBu-0004Kb-FG
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 21:14:50 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39701)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOEBr-0004K8-7e
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:14:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOEBn-0006Bd-UT
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:14:47 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:42263)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOEBn-0006BU-LU
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:14:43 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6G1Edql011184
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 18:14:39 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6G1EdRF021721
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 18:14:39 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6G1EdGY021718
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 18:14:39 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 15 Jul 2016 18:14:39 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160715140934.7721caa7@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607151724320.26941@bolt.sonic.net>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
	<20160715123802.4bfaf2dd@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151325560.31811@bolt.sonic.net>
	<20160715140934.7721caa7@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVZW5lauapF4zhyfMHamGn7wV9Mj3zVgRbwHy1AY43RfIUZGEe7JYa46KXkATqa0urEI+72VHyAUPQ6oj0iKy1ZH
X-Sonic-ID: C;AAEpq/JK5hGI7JtMTlz00w== M;RklPq/JK5hGI7JtMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Jul 2016 01:14:49 -0000


On Fri, 15 Jul 2016, Gary E. Miller wrote:
> On Fri, 15 Jul 2016 13:47:28 -0700 (PDT)
> Fred Wright <fw@fwright.net> wrote:
>
> > > > Please consider using "git am" to apply emailed patches generated
> > > > with "git format-patch" (all of mine, at least).  This takes the
> > > > commit message directly from the email, which is both less work
> > > > and less error-prone than creating a new commit message from
> > > > scratch.  One can still add an SOB line with "-s" if desired.
> > > > This is the way Eric does it.
> > >
> > > Gack.  Email mungs patchs.  Which is why I had to manually apply.
> > > I like format-patch, but to really work it needs to be sent as an
> > > attachment.  Send you patchs as attachments and maybe I'll apply
> > > them as-is.
> >
> > It must be your email client that's doing the munging.
>
> At a minimum we know the gpsd-dev mail server is munging the
> subject.  The subject gets sucked into the git commit comment.

I thought it filtered out that portion.  I'll have to check.

BTW, the one time I have been screwed by email involved excessively long
lines, but "git send-email" (or maybe "git format-patch", I forget) was
smart enough to complain.  I just got Jon to fetch from my GitHub and push
the change(s).  It had to do with some regression-test data with humongous
lines.

> > An even cleaner approach is to fetch directly from my GitHub repo
> > (which doesn't require having a GitHub account).  Patches via email
> > are just sooo twentieth-century. :-) But so far the only one who's
> > taken patches that way is Jon.
>
> I guess I better learn how..
>
> > 	git fetch https://github.com/fhgwright/gpsd +doc-fixes:fwpatch
>
> I did that:
>
>     pi2 gpsd # git fetch https://github.com/fhgwright/gpsd +doc-fixes:fwpatch
>     remote: Counting objects: 4, done.
>     remote: Compressing objects: 100% (3/3), done.
>     remote: Total 4 (delta 1), reused 1 (delta 1), pack-reused 0
>     Unpacking objects: 100% (4/4), done.
>     From https://github.com/fhgwright/gpsd
>      * [new branch]      doc-fixes  -> fwpatch
>     pi2 gpsd # git diff
>
> But nothing in the diff, nothing in git status, and nothing in git log.
>
> What did I do wrong?

You now have it in a new branch called fwpatch (and your working
directory and index are untouched so far).  It happens in this case
that there's only one new commit, so "git show fwpatch" will show you the
diff.  More generally, you can do things like "git log master...fwpatch",
"git show master...fwpatch", etc., provided that the tip of master is the
starting point.

The version of git here always reports the range of commits that it just
fetched, though I don't see that in your output.  That's handy since you
can just paste that commit range into "git log" or "git show" (or "git log
--oneline" for a compact version) to see what changes you fetched.

BTW, when merging changes of this form, it's usually preferable to use
"git cherry-pick" rather than "git merge", for a couple of reasons:

1) If the changes aren't fast-forwardable, "git merge" will create a merge
commit, which is usually not what's wanted in this context.  That can be
suppressed by using the --ff-only" option, in which case a
non-fast-forwardable merge will simply fail.

2) If the changes *are* fast-forwardable, then there's no opportunity to
add a SOB line, since the commits are taken verbatim.

However, "git cherry-pick" takes the specified commit(s) and applies
it/them as patches to the current HEAD, so it's just like "git am" but
with the source being commits instead of emails.  Adding "-s" includes the
SOB line in the process.  And it doesn't matter whether the patches are
referenced to the current HEAD, as long as they apply cleanly.

In this particular case, since there's only one new commit, you can simply
say (with the "master" branch checked out) "git cherry-pick -s fwpatch",
though in the more general case you might need a commit range.

After doing it, a simple "git show" will show what you just did, though
you'd need a range if you added multiple commits.  And if it's screwed up
in some fashion, you can undo the latest commit with "git reset --hard
HEAD~1" (replace the ~1 with a different number to drop multiple commits).

You can delete the new branch once the change is merged if you like.  It
needs "-D" rather than "-d" if it was merged via cherry-pick, since it
doesn't know that the reconsitituted changes were merged (it only allows
"-d" if it thinks that deleting the branch won't orphan any commits).

Also note that you can always make sure patches in this form are
referenced to the current "master" by, e.g., "git rebase master fwpatch".
That's a NOP if the patches are already based on the current master tip,
but otherwise updates all patches in the branch to the new master base,
and fails if the patches don't merge cleanly.  The nice thing about this
approach is that you can now refer to the entire patchset as
"master...fwpass" (for diffing, cherrypicking, or whatever), regardless of
how many commits it includes, or whether it was based on the latest master
at the time you fetched it.

> > That will give you a new branch "fwpatch" derived from my doc-fixes
> > branch (where the missing patch lives).  Then you can diff and/or
> > merge as usual.
>
> Well, maybe usual for you, I'm a bit lost...
>
> > If that doesn't work, I'll send an attachment, though the
> > non-attachment approach seems to be better for most people
> > (particularly when the sending email client insists on encoding the
> > attachment in a way that isn't directly viewable in some clients).
>
> The value to sending to the list is that more eyes get to see the patch.
> This is a lot more work for the casual lurker, and I don't have it
> working yet.

Usually when I've posted GitHub references, I've also posted the GitHub
diff URL, though I didn't do that this time.  The GitHub web interface
lets you see the combined diff or individual by-commit diffs, with or
without the full commit messages in the former case.  E.g.:

https://github.com/fhgwright/gpsd/compare/master...doc-fixes

This is kind of a degenerate case since it's only one commit, but note
that the ellipsis gadget to the right of the summary line is a toggle to
display the full commit message, and clicking on the commit ID at the
right of any summary line takes you to the single-commit view.

Fred Wright


From MAILER-DAEMON Fri Jul 15 21:23:47 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOEKZ-00006a-Jr
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 21:23:47 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40466)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOEKW-0008W2-Hp
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:23:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOEKU-0007Uw-RI
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:23:44 -0400
Received: from rellim.com ([2001:470:e815::19]:44932 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOEKU-0007Uq-CG
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:23:42 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6G1NYqJ022282
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 15 Jul 2016 18:23:39 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6G1NYqJ022282
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468632219; bh=A2XAtJcbR+PJ8EaS6eOxOLHtyx+khrlB5v5p0pMI2Tg=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=wGjUPPtsl4MoIcbhEslOG366Z2qczSkbXOm7ZEkXkhCATU0D0QaHfDz5yvm0gMuIh
	8CLwolCt1p4JsHOZJU7l81zpvwJrmwfNqROUSavorTh0Xsv7ofkUb9pidy4LFkaJDq
	0NhiXjVjCYNMF6qzDkfNamC/U+s5sa+TQaqcB4+M=
Date: Fri, 15 Jul 2016 18:23:33 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160715182333.1766014e@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607151724320.26941@bolt.sonic.net>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
	<20160715123802.4bfaf2dd@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151325560.31811@bolt.sonic.net>
	<20160715140934.7721caa7@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151724320.26941@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/csEZo=G2jBDUzOgZzq==qZY";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 15 Jul 2016 18:23:39 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Jul 2016 01:23:46 -0000

--Sig_/csEZo=G2jBDUzOgZzq==qZY
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

You make it sound so simple.  :-)

Only 10 paragraphs on how to grab your patch, on top of what's already
been said.

As for the merges, I have been listening to Eric's rants on botched merges,
so I'm gonna go real slow on this...

Wouldn't it have been a lot easier to jsut resend the patch?

On Fri, 15 Jul 2016 18:14:39 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> On Fri, 15 Jul 2016, Gary E. Miller wrote:
> > On Fri, 15 Jul 2016 13:47:28 -0700 (PDT)
> > Fred Wright <fw@fwright.net> wrote:
> > =20
> > > > > Please consider using "git am" to apply emailed patches
> > > > > generated with "git format-patch" (all of mine, at least).
> > > > > This takes the commit message directly from the email, which
> > > > > is both less work and less error-prone than creating a new
> > > > > commit message from scratch.  One can still add an SOB line
> > > > > with "-s" if desired. This is the way Eric does it. =20
> > > >
> > > > Gack.  Email mungs patchs.  Which is why I had to manually
> > > > apply. I like format-patch, but to really work it needs to be
> > > > sent as an attachment.  Send you patchs as attachments and
> > > > maybe I'll apply them as-is. =20
> > >
> > > It must be your email client that's doing the munging. =20
> >
> > At a minimum we know the gpsd-dev mail server is munging the
> > subject.  The subject gets sucked into the git commit comment. =20
>=20
> I thought it filtered out that portion.  I'll have to check.
>=20
> BTW, the one time I have been screwed by email involved excessively
> long lines, but "git send-email" (or maybe "git format-patch", I
> forget) was smart enough to complain.  I just got Jon to fetch from
> my GitHub and push the change(s).  It had to do with some
> regression-test data with humongous lines.
>=20
> > > An even cleaner approach is to fetch directly from my GitHub repo
> > > (which doesn't require having a GitHub account).  Patches via
> > > email are just sooo twentieth-century. :-) But so far the only
> > > one who's taken patches that way is Jon. =20
> >
> > I guess I better learn how..
> > =20
> > > 	git fetch https://github.com/fhgwright/gpsd
> > > +doc-fixes:fwpatch =20
> >
> > I did that:
> >
> >     pi2 gpsd # git fetch https://github.com/fhgwright/gpsd
> > +doc-fixes:fwpatch remote: Counting objects: 4, done.
> >     remote: Compressing objects: 100% (3/3), done.
> >     remote: Total 4 (delta 1), reused 1 (delta 1), pack-reused 0
> >     Unpacking objects: 100% (4/4), done.
> >     From https://github.com/fhgwright/gpsd
> >      * [new branch]      doc-fixes  -> fwpatch
> >     pi2 gpsd # git diff
> >
> > But nothing in the diff, nothing in git status, and nothing in git
> > log.
> >
> > What did I do wrong? =20
>=20
> You now have it in a new branch called fwpatch (and your working
> directory and index are untouched so far).  It happens in this case
> that there's only one new commit, so "git show fwpatch" will show you
> the diff.  More generally, you can do things like "git log
> master...fwpatch", "git show master...fwpatch", etc., provided that
> the tip of master is the starting point.
>=20
> The version of git here always reports the range of commits that it
> just fetched, though I don't see that in your output.  That's handy
> since you can just paste that commit range into "git log" or "git
> show" (or "git log --oneline" for a compact version) to see what
> changes you fetched.
>=20
> BTW, when merging changes of this form, it's usually preferable to use
> "git cherry-pick" rather than "git merge", for a couple of reasons:
>=20
> 1) If the changes aren't fast-forwardable, "git merge" will create a
> merge commit, which is usually not what's wanted in this context.
> That can be suppressed by using the --ff-only" option, in which case a
> non-fast-forwardable merge will simply fail.
>=20
> 2) If the changes *are* fast-forwardable, then there's no opportunity
> to add a SOB line, since the commits are taken verbatim.
>=20
> However, "git cherry-pick" takes the specified commit(s) and applies
> it/them as patches to the current HEAD, so it's just like "git am" but
> with the source being commits instead of emails.  Adding "-s"
> includes the SOB line in the process.  And it doesn't matter whether
> the patches are referenced to the current HEAD, as long as they apply
> cleanly.
>=20
> In this particular case, since there's only one new commit, you can
> simply say (with the "master" branch checked out) "git cherry-pick -s
> fwpatch", though in the more general case you might need a commit
> range.
>=20
> After doing it, a simple "git show" will show what you just did,
> though you'd need a range if you added multiple commits.  And if it's
> screwed up in some fashion, you can undo the latest commit with "git
> reset --hard HEAD~1" (replace the ~1 with a different number to drop
> multiple commits).
>=20
> You can delete the new branch once the change is merged if you like.
> It needs "-D" rather than "-d" if it was merged via cherry-pick,
> since it doesn't know that the reconsitituted changes were merged (it
> only allows "-d" if it thinks that deleting the branch won't orphan
> any commits).
>=20
> Also note that you can always make sure patches in this form are
> referenced to the current "master" by, e.g., "git rebase master
> fwpatch". That's a NOP if the patches are already based on the
> current master tip, but otherwise updates all patches in the branch
> to the new master base, and fails if the patches don't merge
> cleanly.  The nice thing about this approach is that you can now
> refer to the entire patchset as "master...fwpass" (for diffing,
> cherrypicking, or whatever), regardless of how many commits it
> includes, or whether it was based on the latest master at the time
> you fetched it.
>=20
> > > That will give you a new branch "fwpatch" derived from my
> > > doc-fixes branch (where the missing patch lives).  Then you can
> > > diff and/or merge as usual. =20
> >
> > Well, maybe usual for you, I'm a bit lost...
> > =20
> > > If that doesn't work, I'll send an attachment, though the
> > > non-attachment approach seems to be better for most people
> > > (particularly when the sending email client insists on encoding
> > > the attachment in a way that isn't directly viewable in some
> > > clients). =20
> >
> > The value to sending to the list is that more eyes get to see the
> > patch. This is a lot more work for the casual lurker, and I don't
> > have it working yet. =20
>=20
> Usually when I've posted GitHub references, I've also posted the
> GitHub diff URL, though I didn't do that this time.  The GitHub web
> interface lets you see the combined diff or individual by-commit
> diffs, with or without the full commit messages in the former case.
> E.g.:
>=20
> https://github.com/fhgwright/gpsd/compare/master...doc-fixes
>=20
> This is kind of a degenerate case since it's only one commit, but note
> that the ellipsis gadget to the right of the summary line is a toggle
> to display the full commit message, and clicking on the commit ID at
> the right of any summary line takes you to the single-commit view.
>=20
> Fred Wright
>=20




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/csEZo=G2jBDUzOgZzq==qZY
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXiYyWAAoJEA0O2UlB0XnYHhMH/2ZyQRAxagDQ2s26VzSCZ2rI
AJKT0VVjQIoM5IJTH5Xk/tpLMAUOXvZUB/q/aDMP1ysP4/haNO2xKilyrm+7RMij
EPJCtkO1NkCbYLNO8QzI0ao/SLnCok3v4tOFFYk2Ref3b7f5nN8SrMChTtaL/TEx
dx1b6XvxIi1I6NQ0WQVohKWwB9NtYQ+4wn+igw//9WWg4ywluZeKYiPIYQ0DJEkX
xr52Rc45sbzAr+xbv9kagmfJMiyZPPnc+qajmA3TEJJST95pbL8ahjMBiq1vc94B
yg+jwMMJB+ZfxJjNFTOJsXOphtkBSNzfsGpY8Nro1kElJb6r6naYfF0tFiphz4g=
=SaOd
-----END PGP SIGNATURE-----

--Sig_/csEZo=G2jBDUzOgZzq==qZY--


From MAILER-DAEMON Fri Jul 15 21:47:34 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOEha-0005Vw-2T
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 21:47:34 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43206)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOEhX-0005Vc-QR
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:47:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOEhU-00032F-LP
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:47:31 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:57656)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOEhU-000327-Cq
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:47:28 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6G1lPAF024004
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 18:47:26 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6G1lPdl004912
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 18:47:25 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6G1lP05004909
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 18:47:25 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 15 Jul 2016 18:47:25 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160715182333.1766014e@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607151837030.31718@bolt.sonic.net>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
	<20160715123802.4bfaf2dd@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151325560.31811@bolt.sonic.net>
	<20160715140934.7721caa7@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151724320.26941@bolt.sonic.net>
	<20160715182333.1766014e@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVZ4TRXYzGJUkUnNcAcAwDeaA9ue812LZHI2uguvBE5y7IwHyRlMaz9Mp6Rk6qZytai9/5UYlrE7ZwUz/bufW6pp
X-Sonic-ID: C;FA8ZP/dK5hGNpZNwxPCmMQ== M;UrFHP/dK5hGNpZNwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Jul 2016 01:47:32 -0000


On Fri, 15 Jul 2016, Gary E. Miller wrote:

> Yo Fred!
>
> You make it sound so simple.  :-)
>
> Only 10 paragraphs on how to grab your patch, on top of what's already
> been said.

I was taking the long view and assuming that knowing how to use git more
effectively is good in general, rather than just worrying about the most
expeditious way to get this one patch in.

> As for the merges, I have been listening to Eric's rants on botched merges,
> so I'm gonna go real slow on this...

I recall Eric complaining about problems with trying to get patches from
*GitHub pull requests*, but that's not the same thing as just fetching
commits from GitHub.  AFAIK, Eric's never even tried the latter.

> Wouldn't it have been a lot easier to jsut resend the patch?

I'll do that now, but having confirmed that "git am" is smart enough to
remove "[PATCH]" tags, "[gpsd-dev]" tags, and "Re:", I'll just send it the
usual way.  Try it.  I think that's what Eric normally does.  If your git
screws it up, maybe you're running an ancient version (2.9.1 here).

You can also try the other way and see if you get the same result. :-)

If you can't get either to work, I'll send it as an attachment.

Fred Wright


From MAILER-DAEMON Fri Jul 15 21:49:57 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOEjt-0007Ry-DH
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 21:49:57 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43756)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOEjq-0007Rs-TV
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:49:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOEjm-0003Ws-OC
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:49:53 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:58453)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOEjm-0003Wm-EX
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 21:49:50 -0400
Received: from localhost.localdomain
	(70-36-199-49.dsl.static.fusionbroadband.com [70.36.199.49])
	(authenticated bits=0)
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u6G1nf0H026288
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); 
	Fri, 15 Jul 2016 18:49:47 -0700
From: Fred Wright <fw@fwright.net>
To: GPSD Developers List <gpsd-dev@nongnu.org>
Date: Fri, 15 Jul 2016 18:49:39 -0700
Message-Id: <20160716014939.60889-1-fw@fwright.net>
X-Mailer: git-send-email 2.9.1
X-Sonic-CAuth: UmFuZG9tSVZVWbYhJT7404KB3fOsj6Yl9AfltN834xHb2iE68iILVRoRfijLLj4uUfrM99zrvpUoipUnMtLKNEHihN56IgVQ
X-Sonic-ID: C;ZPsckPdK5hGUdJNwxPCmMQ== M;jvnSk/dK5hGUdJNwxPCmMQ==
X-Sonic-Spam-Details: 0.0/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: [gpsd-dev] [PATCH] Corrects info regarding 13-bit week numbers.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Jul 2016 01:49:56 -0000

Also updates the "GPS Date Calendar" link, as requested by that
website.
---
 www/hacking.html.in | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/www/hacking.html.in b/www/hacking.html.in
index 20a0d2e..53deac3 100644
--- a/www/hacking.html.in
+++ b/www/hacking.html.in
@@ -1192,11 +1192,11 @@ and bite on various future dates. </p>
 
 <ol>
   <li>The GPS radio format has a Y2K-style bug, the week counter
-  rollover, which happens either every 1024 weeks (roughly 20 years) or
-  every 8192 weeks (roughly 157 years), depending on whether your
-  receiver can decode a 10-bit or 13-bit GPS week field. At time of
-  writing the last 0 week was in 1999, the next 10-bit wraparound will
-  be in 2019, and the next 13-bit wraparound will be in 2157.</li>
+  rollover, which happens either every 1024 weeks (roughly 19.6 years)
+  or every 8192 weeks (roughly 157 years), depending on whether your
+  receiver can decode a 10-bit or 13-bit GPS week field.  At the time of
+  this writing the last 0 week was in 1999, the next 10-bit wraparound
+  will be in 2019, and the next 13-bit wraparound will be in 2137.</li>
 
   <li>NMEA delivers only two-digit years.</li>
 
@@ -1216,20 +1216,22 @@ after a rollover.  This can have side effects:</p>
   have a recent ephemeris.</li>
 </ol>
 
-<p>The public documentation is unclear, but it appears from a
-reference in the Transmission Week Number section of IS-GPS-200
-PIRN-002 that whether you can get 10 or 13 bits is a function of the
-satellite firmware revision, with 13 bits in the Block IIF and later
-birds (the first of these was launched in May 2010). Of course your
-receiver firmware also has to know that the extra three bits are
-present; at time of writing in late 2010 this capability is very rare
-and unavailable on consumer-grade receivers.</p>
+<p>The new 13-bit week number is only provided by the new "CNAV" data,
+which in turn is (or will be) available only in newly added GPS signals.
+Based on the carrier frequencies used, only the newest of the new
+signals (L1C) will be available to common civilian receivers, even with
+compatible hardware and firmware.  This signal is unavailable from
+satellites earlier than Block III, which are currently (July 2016) not
+expected to begin to launch earlier than September 2016.  Given that it
+takes years to launch a full constellation of satellites, it's highly
+unlikely that CNAV data with "operational" status will be available to
+common civilian receivers in time for the April 2019 10-bit rollover.</p>
 
 <p>For these reasons, GPSD needs the host computer's system clock to
 be accurate to within one second.</p>
 
-<p>When debugging time and date issues, you may find an
-<a href="http://adn.agi.com/GNSSWeb/">interactive GPS calendar</a>
+<p>When debugging time and date issues, you may find an interactive
+<a href="http://navigationservices.agi.com/GNSSWeb/">GPS Date Calendar</a>
 useful.</p>
 
 <h2 id="hotplug">Hotplug interface problems</h2>
-- 
2.9.1



From MAILER-DAEMON Fri Jul 15 22:00:16 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOEts-0005Ha-DR
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 22:00:16 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44967)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bOEtq-00058n-7T
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 22:00:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bOEtm-0005IN-4c
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 22:00:13 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:49670)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bOEtl-0005EP-T6
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 22:00:10 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 2571A406063; 
	Fri, 15 Jul 2016 18:59:51 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Fred Wright <fw@fwright.net>
cc: GPSD Developers List <gpsd-dev@nongnu.org>,
	hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Fred Wright <fw@fwright.net> of "Fri,
	15 Jul 2016 18:47:25 PDT."
	<Pine.LNX.4.58L1X.1607151837030.31718@bolt.sonic.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 15 Jul 2016 18:59:51 -0700
Message-Id: <20160716015951.2571A406063@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Jul 2016 02:00:15 -0000


fw@fwright.net said:
> I was taking the long view and assuming that knowing how to use git more
> effectively is good in general, rather than just worrying about the most
> expeditious way to get this one patch in. 

Many thanks.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Fri Jul 15 22:16:18 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOF9O-0007hG-E4
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 22:16:18 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46608)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOF9L-0007fg-Hz
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 22:16:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOF9K-0007sn-3W
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 22:16:15 -0400
Received: from rellim.com ([2001:470:e815::19]:40622 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bOF9J-0007mu-LK
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 22:16:14 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6G2Fq5P006984
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 15 Jul 2016 19:15:57 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6G2Fq5P006984
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468635357; bh=tuiStj1vJngg+kh6p7ScvlUdahVrLK2eIvAonYJrbfg=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=d29u7NpOb6pyJUfsZzIhms79GvpOLIR/p6TxY4pSUL5oo9ENS4MTEBJ1K8Yf/rvUH
	rrthVRLKWp+oL78NbtVyfrcWElwN1eaAa8kurJhRckh7icmhBmuAqLrP0rQ30qFkHv
	KVcsi5YzPoqfHEH1L//FxxCfwMCcEJenwUNOC8SE=
Date: Fri, 15 Jul 2016 19:15:52 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160715191552.697c79fa@spidey.rellim.com>
In-Reply-To: <20160716014939.60889-1-fw@fwright.net>
References: <20160716014939.60889-1-fw@fwright.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/Rji7yWM84gyHHBR0DNhYs=f";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 15 Jul 2016 19:15:57 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH] Corrects info regarding 13-bit week numbers.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Jul 2016 02:16:16 -0000

--Sig_/Rji7yWM84gyHHBR0DNhYs=f
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

Thanks for this patch.  Seems like 'git am' properly stripped munged
subject header.  Applied and pushed.

Looking at the patch, I woulda swore I already applied that.  That probably
added to my confusion on your git merge.  Somewhere I have a git outta
sink with head.

I'll spend some time looking at the merge stuff to get a handle on that,
but I've got some more old patches to get to first.

On Fri, 15 Jul 2016 18:49:39 -0700
Fred Wright <fw@fwright.net> wrote:

> Also updates the "GPS Date Calendar" link, as requested by that
> website.
> ---
>  www/hacking.html.in | 32 +++++++++++++++++---------------
>  1 file changed, 17 insertions(+), 15 deletions(-)
>=20
> diff --git a/www/hacking.html.in b/www/hacking.html.in
> index 20a0d2e..53deac3 100644
> --- a/www/hacking.html.in
> +++ b/www/hacking.html.in
> @@ -1192,11 +1192,11 @@ and bite on various future dates. </p>
> =20
>  <ol>
>    <li>The GPS radio format has a Y2K-style bug, the week counter
> -  rollover, which happens either every 1024 weeks (roughly 20 years)
> or
> -  every 8192 weeks (roughly 157 years), depending on whether your
> -  receiver can decode a 10-bit or 13-bit GPS week field. At time of
> -  writing the last 0 week was in 1999, the next 10-bit wraparound
> will
> -  be in 2019, and the next 13-bit wraparound will be in 2157.</li>
> +  rollover, which happens either every 1024 weeks (roughly 19.6
> years)
> +  or every 8192 weeks (roughly 157 years), depending on whether your
> +  receiver can decode a 10-bit or 13-bit GPS week field.  At the
> time of
> +  this writing the last 0 week was in 1999, the next 10-bit
> wraparound
> +  will be in 2019, and the next 13-bit wraparound will be in
> 2137.</li>=20
>    <li>NMEA delivers only two-digit years.</li>
> =20
> @@ -1216,20 +1216,22 @@ after a rollover.  This can have side
> effects:</p> have a recent ephemeris.</li>
>  </ol>
> =20
> -<p>The public documentation is unclear, but it appears from a
> -reference in the Transmission Week Number section of IS-GPS-200
> -PIRN-002 that whether you can get 10 or 13 bits is a function of the
> -satellite firmware revision, with 13 bits in the Block IIF and later
> -birds (the first of these was launched in May 2010). Of course your
> -receiver firmware also has to know that the extra three bits are
> -present; at time of writing in late 2010 this capability is very rare
> -and unavailable on consumer-grade receivers.</p>
> +<p>The new 13-bit week number is only provided by the new "CNAV"
> data, +which in turn is (or will be) available only in newly added
> GPS signals. +Based on the carrier frequencies used, only the newest
> of the new +signals (L1C) will be available to common civilian
> receivers, even with +compatible hardware and firmware.  This signal
> is unavailable from +satellites earlier than Block III, which are
> currently (July 2016) not +expected to begin to launch earlier than
> September 2016.  Given that it +takes years to launch a full
> constellation of satellites, it's highly +unlikely that CNAV data
> with "operational" status will be available to +common civilian
> receivers in time for the April 2019 10-bit rollover.</p>=20
>  <p>For these reasons, GPSD needs the host computer's system clock to
>  be accurate to within one second.</p>
> =20
> -<p>When debugging time and date issues, you may find an
> -<a href=3D"http://adn.agi.com/GNSSWeb/">interactive GPS calendar</a>
> +<p>When debugging time and date issues, you may find an interactive
> +<a href=3D"http://navigationservices.agi.com/GNSSWeb/">GPS Date
> Calendar</a> useful.</p>
> =20
>  <h2 id=3D"hotplug">Hotplug interface problems</h2>




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/Rji7yWM84gyHHBR0DNhYs=f
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXiZjYAAoJEA0O2UlB0XnYxq4H/RHoAVgF09bdkkKFGwyBGKLV
SG0pbw/iukEhl8RunKM1DKquahQuX+mFm6J/eshl44oSXYPAKDicyLnG9vjSDpGL
g4KKX0YdIxI4j/t4x/Hyddyesm/jfWPctUN/vv87PxV9+m/nJKJTpylFWifM9VqX
UQc3xqLD9OLaSjgm6Wi2VqqjlVa1ehluoieJjvNYfI0XPetM2ci12S1glfuJSv8H
KIJ7dyoQkzk+Al0LS3d3FQE0OOiRyOfj/kge3sqNUiD07yz+hsefGXbjfuz/Icnh
XxMn85mcSHttoyF2LHDvISleKdF5NnKeuFI93N/5wzUAs1vZdOiJAZ74JJLth6k=
=SvfJ
-----END PGP SIGNATURE-----

--Sig_/Rji7yWM84gyHHBR0DNhYs=f--


From MAILER-DAEMON Fri Jul 15 22:41:19 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOFXb-0005Zi-2l
	for mharc-gpsd-dev@gnu.org; Fri, 15 Jul 2016 22:41:19 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49145)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOFXZ-0005Zc-7f
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 22:41:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOFXV-0003hi-2A
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 22:41:16 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:45227)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOFXU-0003gn-PJ
	for gpsd-dev@nongnu.org; Fri, 15 Jul 2016 22:41:12 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6G2f9hY017169
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 19:41:10 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6G2f9Es030376
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 19:41:09 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6G2f9OH030373
	for <gpsd-dev@nongnu.org>; Fri, 15 Jul 2016 19:41:09 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 15 Jul 2016 19:41:09 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160715191552.697c79fa@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607151938120.28041@bolt.sonic.net>
References: <20160716014939.60889-1-fw@fwright.net>
	<20160715191552.697c79fa@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVYJKyIxRkIHxq24E4fmoL2zhp9Oj5EVaf79Yh3IXNQsLuENcbHHpvNHvHmyGgTb/bfMrSaxxKGRYW6Gg8xUv9ic
X-Sonic-ID: C;yuTbwP5K5hG5ZpNwxPCmMQ== M;Fsb+wP5K5hG5ZpNwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] [PATCH] Corrects info regarding 13-bit week numbers.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Jul 2016 02:41:18 -0000


On Fri, 15 Jul 2016, Gary E. Miller wrote:

> Yo Fred!
>
> Looking at the patch, I woulda swore I already applied that.  That probably
> added to my confusion on your git merge.  Somewhere I have a git outta
> sink with head.

There are multiple places that talk about the 10-bit week number issue, so
it's not hard to get confused.  Also, the other patch applied to text
that's verbatim duplicated in two places (both updated).

It was in trying to track all the places down that I grepped for "10-bit"
and stumbled across the logfile typo. :-)

Fred Wright


From MAILER-DAEMON Sat Jul 16 21:54:07 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bObHT-0001tG-AI
	for mharc-gpsd-dev@gnu.org; Sat, 16 Jul 2016 21:54:07 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57081)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <frank@nicholasfamilycentral.com>) id 1bObHR-0001rL-1d
	for gpsd-dev@nongnu.org; Sat, 16 Jul 2016 21:54:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <frank@nicholasfamilycentral.com>) id 1bObHO-0001ir-Qy
	for gpsd-dev@nongnu.org; Sat, 16 Jul 2016 21:54:04 -0400
Received: from mail-it0-x234.google.com ([2607:f8b0:4001:c0b::234]:37182)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <frank@nicholasfamilycentral.com>) id 1bObHO-0001hz-JP
	for gpsd-dev@nongnu.org; Sat, 16 Jul 2016 21:54:02 -0400
Received: by mail-it0-x234.google.com with SMTP id f6so47994810ith.0
	for <gpsd-dev@nongnu.org>; Sat, 16 Jul 2016 18:54:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=nicholasfamilycentral-com.20150623.gappssmtp.com; s=20150623;
	h=mime-version:subject:from:in-reply-to:date:cc:message-id:references
	:to; bh=BPr1QvWcQrFff95omGfwa0G2xtnxY3NPimFM6ntZ1o4=;
	b=uu92bdwjfZZgCX5MHmsQ5Hv+m3/eniiEi78r47CLKMI7ieiLdB08k2RXMHTATygNhk
	tyP54PbxOATJaUXswerCjtrszyIC8I+RwxyBasitKIsQFyL55XAM8zhFLUBWkkcrh2rS
	0V/eeyoIXsi7Me7KuT1Dch2kBrDGj70w3yCbyRpJGIwfbpvlwg+4UzKgoqqBG1DRBPU3
	eP23/a+9z/rh5WHFklUyCGIVuqE7a85Bbv9n1QOH0EURnpZ1ro7yMbI0215UrV0hLpeE
	EHqOo7BM6QWWTzZrSyxYp9vncf+TdEaMW2ZdjeW1aOWUeGrjEqAI0Y2IgmgZsKndcBsY
	qtNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
	:message-id:references:to;
	bh=BPr1QvWcQrFff95omGfwa0G2xtnxY3NPimFM6ntZ1o4=;
	b=V3iTTuiAvwqGB1TibUtgI5UERCgKhBiUb1CIv+Hatw5S2skgv3epXMsU+Vq3/qsngF
	ElD0VNn0Zy+HEzgf2MIFevwdOH8iYQP8rcG7+CyQLSBh1W7VPzvX+6f9Cju3aYmQLQPs
	1tPDNkKYTeQ6MD4BkAH2wFL4Jn27p7Q5qjjePwWu82q74/fatDxZXfMPEUDmsR+vXs3J
	ZaVdH/xMoy2QENzMPCqzT/7WEedxP9/fl681XtB8CpoyPgL4SS/SIBPp9Q1FIRR/X3di
	MgMJGl50bWua3Wg0WlY3H/LuPZEXPm1WeTRygqWrOaJuqAfAbwET/c6gryKDTlUQC8nU
	E7gw==
X-Gm-Message-State: ALyK8tLNr4XWAgzUybl0oWDiew3bWKliFGn6L3WR0T9FFrR+hwACXOPQ/N4YOes/vx4b9w==
X-Received: by 10.36.203.69 with SMTP id u66mr39589458itg.8.1468720440062;
	Sat, 16 Jul 2016 18:54:00 -0700 (PDT)
Received: from ?IPv6:2601:801:4003:53b3:e432:f4d5:2626:7266?
	([2601:801:4003:53b3:e432:f4d5:2626:7266])
	by smtp.gmail.com with ESMTPSA id
	s84sm6240956ioe.39.2016.07.16.18.53.58
	(version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
	Sat, 16 Jul 2016 18:53:59 -0700 (PDT)
Content-Type: multipart/signed;
	boundary="Apple-Mail=_9CC62E88-A990-4871-8555-20108F8199D2";
	protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Frank Nicholas <frank@nicholasfamilycentral.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607151724320.26941@bolt.sonic.net>
Date: Sat, 16 Jul 2016 21:53:58 -0400
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-Id: <BF71A3BE-63DB-4641-9158-2FDB1A137BBF@nicholasfamilycentral.com>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
	<20160715123802.4bfaf2dd@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151325560.31811@bolt.sonic.net>
	<20160715140934.7721caa7@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151724320.26941@bolt.sonic.net>
To: Fred Wright <fw@fwright.net>
X-Mailer: Apple Mail (2.3124)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4001:c0b::234
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Jul 2016 01:54:06 -0000


--Apple-Mail=_9CC62E88-A990-4871-8555-20108F8199D2
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_2CE02C5B-E928-4EA0-8568-BF2E3757BB56"


--Apple-Mail=_2CE02C5B-E928-4EA0-8568-BF2E3757BB56
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Jul 15, 2016, at 9:14 PM, Fred Wright <fw@fwright.net> wrote:
>=20
> Usually when I've posted GitHub references, I've also posted the =
GitHub
> diff URL, though I didn't do that this time.  The GitHub web interface
> lets you see the combined diff or individual by-commit diffs, with or
> without the full commit messages in the former case.  E.g.:

I read & follow all the discussion & patches.  **I=E2=80=99m** not very =
likely to click a link to read a patch (unless it really interests me).  =
When the patches are in the e-mail I at least skim through them all.  =
But that=E2=80=99s just me.

Thanks,
Frank


--Apple-Mail=_2CE02C5B-E928-4EA0-8568-BF2E3757BB56
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jul 15, 2016, at 9:14 PM, Fred Wright &lt;<a =
href=3D"mailto:fw@fwright.net" class=3D"">fw@fwright.net</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Usually when I've posted GitHub references, I've =
also posted the GitHub</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">diff URL, though I didn't do that this =
time. &nbsp;The GitHub web interface</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">lets you see the combined diff or =
individual by-commit diffs, with or</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">without the full commit messages in the =
former case. &nbsp;E.g.:</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote></div><br class=3D""><div class=3D"">I =
read &amp; follow all the discussion &amp; patches. &nbsp;**I=E2=80=99m** =
not very likely to click a link to read a patch (unless it really =
interests me). &nbsp;When the patches are in the e-mail I at least skim =
through them all. &nbsp;But that=E2=80=99s just me.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Thanks,</div><div =
class=3D"">Frank</div><div class=3D""><br class=3D""></div></body></html>=

--Apple-Mail=_2CE02C5B-E928-4EA0-8568-BF2E3757BB56--

--Apple-Mail=_9CC62E88-A990-4871-8555-20108F8199D2
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILMTCCBUcw
ggQvoAMCAQICECWoG851LwZ2at3t1gpxgUYwDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCSUwx
FjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g
QXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQTAeFw0xNjA3MDEx
MzQ5MjVaFw0xOTEwMDExMzQ5MjVaMIGCMSYwJAYDVQQNDB1Gb3IgbG9naW4gYXV0aGVudGljYXRp
b24gb25seTEoMCYGA1UEAwwfZnJhbmtAbmljaG9sYXNmYW1pbHljZW50cmFsLmNvbTEuMCwGCSqG
SIb3DQEJARYfZnJhbmtAbmljaG9sYXNmYW1pbHljZW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kD/sAngR0Py15M9awxktUQ1rxGEg57fd4EBuLfAdKTfRLg1esHQy
/5DAUmOt6g6T+6DQ3M7W0iMWZr9Yh5E+kw/3twZMkrmyqovukpPT/kqBx66sRtzpMgZzr+RDGiuc
P3/q7/yolS80+lR3eS6I7/gIm5QqK9mUrBpz1BfQKrUmhpMXFqiikcj+RJj89gobKq2iviLNLNhI
bVjGCWhST/n2DJLwWBg6YMMlP7M+qggb/VWqOyvm7MUfC7/IYygjFJvpQuPC+N0iYfjtX9eb2pHh
OyhjpWcAAAAAAAA=
--Apple-Mail=_9CC62E88-A990-4871-8555-20108F8199D2--


From MAILER-DAEMON Sun Jul 17 16:46:06 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOsww-0000ce-BU
	for mharc-gpsd-dev@gnu.org; Sun, 17 Jul 2016 16:46:06 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43558)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOswv-0000bH-1u
	for gpsd-dev@nongnu.org; Sun, 17 Jul 2016 16:46:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOswq-0005Bg-T5
	for gpsd-dev@nongnu.org; Sun, 17 Jul 2016 16:46:03 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:58093)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOswq-0005BL-KX
	for gpsd-dev@nongnu.org; Sun, 17 Jul 2016 16:46:00 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6HKjuOH028990
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sun, 17 Jul 2016 13:45:56 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6HKju5D025028
	for <gpsd-dev@nongnu.org>; Sun, 17 Jul 2016 13:45:56 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6HKjuwg025024
	for <gpsd-dev@nongnu.org>; Sun, 17 Jul 2016 13:45:56 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sun, 17 Jul 2016 13:45:56 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <BF71A3BE-63DB-4641-9158-2FDB1A137BBF@nicholasfamilycentral.com>
Message-ID: <Pine.LNX.4.58L1X.1607171339350.15277@bolt.sonic.net>
References: <20160710200937.12226-1-fw@fwright.net>
	<20160714190932.61ef612e@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151220040.32150@bolt.sonic.net>
	<20160715123802.4bfaf2dd@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151325560.31811@bolt.sonic.net>
	<20160715140934.7721caa7@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607151724320.26941@bolt.sonic.net>
	<BF71A3BE-63DB-4641-9158-2FDB1A137BBF@nicholasfamilycentral.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVaUHh3BDnsC3WFSDZ/QL4h7zmVwyZbtgYv/njU/8S2pZcrDU+jF2DXSnuwONiTbIGFNp2OWD3FU8PhmGfGrIndb
X-Sonic-ID: C;RjjmdV9M5hGxSZtMTlz00w== M;AGESdl9M5hGxSZtMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] [PATCH 1/2] More 13-bit week number corrections.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Jul 2016 20:46:06 -0000


On Sat, 16 Jul 2016, Frank Nicholas wrote:
> > On Jul 15, 2016, at 9:14 PM, Fred Wright <fw@fwright.net> wrote:
> >
> > Usually when I've posted GitHub references, I've also posted the GitHub
> > diff URL, though I didn't do that this time.  The GitHub web interface
> > lets you see the combined diff or individual by-commit diffs, with or
> > without the full commit messages in the former case.  E.g.:
>
> I read & follow all the discussion & patches.  **I'm** not very likely
> to click a link to read a patch (unless it really interests me).  When
> the patches are in the e-mail I at least skim through them all.  But
> that's just me.

Bear in mind that changes made by people with commit access don't normally
appear on this list at all, so if you're relying on email bodies to get a
complete picture, you'll be sorely disappointed, anyway.

Fred Wright


From MAILER-DAEMON Sun Jul 17 16:49:03 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bOszn-0003Ft-QT
	for mharc-gpsd-dev@gnu.org; Sun, 17 Jul 2016 16:49:03 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43917)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOszl-0003FM-8P
	for gpsd-dev@nongnu.org; Sun, 17 Jul 2016 16:49:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOszh-0005Wj-3R
	for gpsd-dev@nongnu.org; Sun, 17 Jul 2016 16:49:00 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:47674)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bOszg-0005WZ-R1
	for gpsd-dev@nongnu.org; Sun, 17 Jul 2016 16:48:57 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6HKmsnx024693
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sun, 17 Jul 2016 13:48:54 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6HKmsLJ026307
	for <gpsd-dev@nongnu.org>; Sun, 17 Jul 2016 13:48:54 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6HKms89026304
	for <gpsd-dev@nongnu.org>; Sun, 17 Jul 2016 13:48:54 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sun, 17 Jul 2016 13:48:54 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <Pine.LNX.4.58L1X.1607171346580.15277@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVaDHSXwmwqJfI73cPCfx7YS/NcKYaJML2klxYily/UMNZ8ztdaJTYUVZPPCPLu6eH4zKMx1gZlg4Pi3iU420RtO
X-Sonic-ID: C;Rtj+319M5hGLMpNwxPCmMQ== M;XEEb4F9M5hGLMpNwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: [gpsd-dev] Happy Birthday GPS
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Jul 2016 20:49:02 -0000


"On July 17,1995 the Air Force announced that GPS had met all
requirements for Full Operational Capability with 24 Block II SVs in
orbit." [1]

So now GPS can drink. :-)

Fred Wright

[1] http://www.pdana.com/phdwww_files/rtgps.pdf



From MAILER-DAEMON Mon Jul 18 17:44:00 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPGKW-0004RQ-Of
	for mharc-gpsd-dev@gnu.org; Mon, 18 Jul 2016 17:44:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54681)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPGKU-0004Ms-Hh
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 17:43:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPGKS-0002WI-PW
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 17:43:57 -0400
Received: from rellim.com ([2001:470:e815::19]:53950 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPGKS-0002SM-HX
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 17:43:56 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6ILhaL1003426
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Mon, 18 Jul 2016 14:43:41 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6ILhaL1003426
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468878222; bh=xViNRNGKuS8iVtvjH5/VCAwBWNLl4HXa0b6aHo7qCm8=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=aL0esDrS4q70sbYmkcc1euv3cvNLMllgxVjLXjJVPjt3PsDqJZQHUBbjeFDG+3kBJ
	ZxMRgmzNZpewqyRRZCfEJaDFW0Z9H4AFUJyeugqVLHbUIn+1dc+PvpQjVb4ThxVIAq
	BYrOPZ1WfkAs9LSh6i/+d94h2C4XdCnl7NgHLi9Y=
Date: Mon, 18 Jul 2016 14:43:36 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Nuno =?UTF-8?B?R29uw6dhbHZlcw==?= <nunojpg@gmail.com>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160718144336.7e84f238@spidey.rellim.com>
In-Reply-To: <CAEXMXLQc1OahaDRR=pwemBgH_wCF5wbdfxFmQPC6+FWmP1_7SA@mail.gmail.com>
References: <CAEXMXLQc1OahaDRR=pwemBgH_wCF5wbdfxFmQPC6+FWmP1_7SA@mail.gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/1aK/6=ZOSHGSQ7BVjVxFxVJ";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 18 Jul 2016 14:43:42 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH 1/3] TSIP: improve comments
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Jul 2016 21:43:59 -0000

--Sig_/1aK/6=ZOSHGSQ7BVjVxFxVJ
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo Nuno!

On Mon, 20 Jun 2016 16:04:20 +0100
Nuno Gon=C3=A7alves <nunojpg@gmail.com> wrote:

> Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
> ---
>  driver_tsip.c | 3 ++-
>  packet.c      | 9 ++++++---
>  2 files changed, 8 insertions(+), 4 deletions(-)

Since you are not going to clean these up I spent a bit of time on this
one.  Fixed and pushed.

Mostly some format errors, and i added a few more packet types to the
comments.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/1aK/6=ZOSHGSQ7BVjVxFxVJ
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjU2IAAoJEA0O2UlB0XnYz70H/21SiMhN7Ws5dt+Bi4IZehbh
c7G3xI1XA34WycBjR6JEBGtdatqFg741L+Hfw2ywCbx19PBQTsXJi8ykPABWU2Ok
EP0M1tXXk6LprBsgTdUudYfbqaU7MK7188GP1wAJujbE5VZg5j144lEWgjJNUUFh
mfENxU+SV8V4ESUAMs9CJqAIEJCnPgpWQzufBQnTWpGufXlGJtIQU7jPaaaOU2dJ
wOqItcX9efoswgEKgEKtHCwIfTYYd31MJuveDo6gYTRdbnQANv8i/JidmPsmCDh0
Ngt0I5/gu/uSb0s/5TKNNRvWQ7gj0gbr9m+8WLlEs8ODoNup3vIoQAQJCDev7DI=
=kiLI
-----END PGP SIGNATURE-----

--Sig_/1aK/6=ZOSHGSQ7BVjVxFxVJ--


From MAILER-DAEMON Mon Jul 18 17:57:58 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPGY2-0003Cw-Jx
	for mharc-gpsd-dev@gnu.org; Mon, 18 Jul 2016 17:57:58 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56815)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPGY1-00036V-0e
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 17:57:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPGY0-000554-0y
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 17:57:57 -0400
Received: from rellim.com ([2001:470:e815::19]:43418 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPGXz-00054x-Pl
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 17:57:55 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6ILvnT0008128
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Mon, 18 Jul 2016 14:57:54 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6ILvnT0008128
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468879074; bh=bTG4CoL9D6ndMOY3QT49GH9ko5CTwjyTfSsH6ZRHiLE=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=OMLhe3j/mBkujJTVUOimkEdiCXxW07wqQ7n7Ixwrj+YYIn7lfzT9nBs4ZsK9hOWJo
	9XhK5t39fPIQP/LdRTfAI5O32CO+6x39JE849E9j39pHBKIpszRpfNJ1nNsh+jmxNP
	yskn4hC/JYvtMuRIkMfIn/HplbCa0f4hRjGubkmg=
Date: Mon, 18 Jul 2016 14:57:49 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Nuno =?UTF-8?B?R29uw6dhbHZlcw==?= <nunojpg@gmail.com>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160718145749.6fab8e46@spidey.rellim.com>
In-Reply-To: <CAEXMXLRhGbdzEjP1xXNo5CMnh0Ea+TA22mTgXYXVyx2NbgG+pQ@mail.gmail.com>
References: <CAEXMXLRhGbdzEjP1xXNo5CMnh0Ea+TA22mTgXYXVyx2NbgG+pQ@mail.gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/fbdwW_.BgXy1EjFzZrNt8S_";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 18 Jul 2016 14:57:54 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH 2/3] TSIP: fix time offset
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Jul 2016 21:57:58 -0000

--Sig_/fbdwW_.BgXy1EjFzZrNt8S_
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo Nuno!

On Mon, 20 Jun 2016 16:05:15 +0100
Nuno Gon=C3=A7alves <nunojpg@gmail.com> wrote:

> Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
> ---
>  driver_tsip.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)


Since have not cleaned up the formatting, I have done that and
pushed it.

This may be provide a few pointers on proper comments:
	http://www.theregister.co.uk/2016/07/11/linus_torvalds_in_sweary_rant_abou=
t_punctuation_in_kernel_comments/

YMMV.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/fbdwW_.BgXy1EjFzZrNt8S_
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjVDdAAoJEA0O2UlB0XnY6Z0IAJ1zAndCgjMdc6EyKjx2oOrf
s08UdfijRYqs4LYS1aX+e+LMCQdYrXBCSqp7I8E8quCx+mFilNiuTpXHaKiE32Ss
z2aZ7RhHAf+xTnCXmCazzQfNt/FZk3hxOH3x2Xqc+pfCZ5GkQkwkzNW74BMc9/U2
RQ5vUT/MkQ28p85oLg0XJzvY1ae3mEL/E+cGA+xsyhUMxZqGlRAHAFozLgwFROMT
01V1kpsuqJey5i2qkDOzyeZEqhQgy0g5KuRcTNhzBtY/a9P0RQJFt/88uVQh4g/y
H9HxqESS4U+rCok/0p1q0lTSvWg58Ops/uITI7T5iNpVXHJDkfYT2i6u88znE8M=
=GMK4
-----END PGP SIGNATURE-----

--Sig_/fbdwW_.BgXy1EjFzZrNt8S_--


From MAILER-DAEMON Mon Jul 18 20:59:05 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPJNJ-0008AG-1H
	for mharc-gpsd-dev@gnu.org; Mon, 18 Jul 2016 20:59:05 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57918)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPJNG-0008A8-8n
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 20:59:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPJNE-000672-FR
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 20:59:01 -0400
Received: from rellim.com ([2001:470:e815::19]:46580 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPJNE-00066S-4e
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 20:59:00 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6J0wqLf001350
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Mon, 18 Jul 2016 17:58:58 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6J0wqLf001350
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468889938; bh=BW2vBVZkOO6qhZxKVBLQAO+VoeZ7IlbcsHabMVj4IbQ=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=hBi7T33ZJA+Yjd3cV6r9e56cmTFDiZfohrYjyUA1s+/sCavnSju2aVJInp8KlMJ+W
	2HgHNDFOkYOO7ZKH45sQSGva/Efr7x/Lj1LW6Of5Ieu8mTxsJVMKKhRQZwkDjDh9IN
	KYS/HVdKq021l0iTMzWnr7vVO6DattuS7Zk91/T8=
Date: Mon, 18 Jul 2016 17:58:52 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Nuno =?UTF-8?B?R29uw6dhbHZlcw==?= <nunojpg@gmail.com>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160718175852.62a2397d@spidey.rellim.com>
In-Reply-To: <CAEXMXLSt3bRWXN2hHJT+JDsj_HRgXuGO-qm8L1twbp3PFgAM4g@mail.gmail.com>
References: <CAEXMXLSt3bRWXN2hHJT+JDsj_HRgXuGO-qm8L1twbp3PFgAM4g@mail.gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/_WyS=Nv=jLZ=TylmYykE5gp";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 18 Jul 2016 17:58:58 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH 3/3] TSIP: support multi-constelation chip
 packets
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 00:59:03 -0000

--Sig_/_WyS=Nv=jLZ=TylmYykE5gp
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo Nuno!

On Mon, 20 Jun 2016 16:06:02 +0100
Nuno Gon=C3=A7alves <nunojpg@gmail.com> wrote:

>  driver_tsip.c | 116
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
> packet.c      |  32 ++++++++++++---- 2 files changed, 139
> insertions(+), 9 deletions(-)


I came up with a way for changing TSIP_CHANNELS to not break GPGSA.

Along the way I found a few other things wrong with GPGSA, and there
will need to be more changes when we actually see GPS using more then
12 sats.

So I cleaned up your patch, mostly line length and comment problems,=20
commited and pushed it.

What this still needs is a good regression test for these changes.
Without regression tests there is no way to know if something gets changed
that break the output of your patch.

Could you please send a few minutes of TSIP output that has the
0x5d and 0x6c sentences?  Then I can add to the regression tests.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/_WyS=Nv=jLZ=TylmYykE5gp
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjXtMAAoJEA0O2UlB0XnYV+AH/AkoesBHbP8f+a8Xeu98AHLy
sh0hFx5C3KX/NxEsSGXbAgEgZt9vDVHW8r0VklDZD+R/HWz85UJ3kj+7hQr9VSxz
LEks2HqIhwCyCjNdtmqsyhnxXg8mhLAjJDwOgq68LKNWgx8PWCst3SnxNv7gY5z6
Fg24G+QzFAtaXZeQh88L4twqlqO7qs3B11m5BosmO3qn0FMvXydnXTPD2gMd6r47
3tWx610XKRerBsRgHyw7LzV9PMoovgqsaCHC2buaLC/hNI3OFGXZZeR6LMFQNec6
49GxSNuCX3ktTI/hpPQYuUVQbE/ZQUQuB4elUzsXvFfMSHz4SjGzaEf+3Rr6REk=
=Jr9c
-----END PGP SIGNATURE-----

--Sig_/_WyS=Nv=jLZ=TylmYykE5gp--


From MAILER-DAEMON Mon Jul 18 21:07:24 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPJVM-0004Ct-7s
	for mharc-gpsd-dev@gnu.org; Mon, 18 Jul 2016 21:07:24 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59867)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPJVJ-0004Cn-M2
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 21:07:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPJVH-00083y-Il
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 21:07:20 -0400
Received: from rellim.com ([2001:470:e815::19]:55778 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPJVH-00083h-6W
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 21:07:19 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6J17CLG004786
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
	for <gpsd-dev@nongnu.org>; Mon, 18 Jul 2016 18:07:17 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6J17CLG004786
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468890437; bh=2xHmEbWzWuIN2+ZymM1v+c5nZZ+fC6Eis3snQuMk3A0=;
	h=Date:From:To:Subject;
	b=C8M5XHFFgrdEbyxIC2fdtU+ezC0LNT1HiTvSRLeEKV5rlbaei6A8qrXASinvcYVXE
	i8E2Hit8QSlggfuMX3q5sRnBSv13D4lSpyvvaovT4pNhSY1wlaNMKTzRkblya8hhX+
	sGsvUsypHQPbL7fyVLA+cFhrT4S1o1Yfj7ffJJkY=
Date: Mon, 18 Jul 2016 18:07:12 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160718180712.549821d6@spidey.rellim.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/Bdb0DHnqE5itM_BQL38yQa0";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 18 Jul 2016 18:07:17 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 01:07:22 -0000

--Sig_/Bdb0DHnqE5itM_BQL38yQa0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo All!

I think I've cleared the gpsd patch queue.  Currently all the regression
tests pass.

Anyone knows of any pending patches?  Please resend a copy to the list.

Given the new leap second for the end of this year, and thus a new
leapseconds.cache file, I'd like to get a new gpsd revision out in
early September.  Anything sooner and people will miss it.

So, open call, anything we should get changed before September?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/Bdb0DHnqE5itM_BQL38yQa0
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjX1AAAoJEA0O2UlB0XnYmBsIALZvmIeTrULQH+Rdg/rPAWJg
HBaW9asq/FDvBFzCqGN8uNeJ0A9YaYpRN6GmygU87J3iqnk7aLrfXvu5fSuPbOR2
ZD7PK9or4UzzJQG3s3J2ZIdpvnuG1HF3qlRjAHyhUtjeoTaqx1U1rMlJSuMUUp4Q
rvcsDYtmA6NofyKaQeAr2N4S4Q7kIET4TYaTNNxhyya3QQeRKtAy1Y1SnGBvpPhP
j0E5duheBPJOmDFwG/ROkUEPU1SrXbjV3Op8SWiOYN+eixrFeEEocebkoWurby+8
M0ns4/eJtUx3x35Ev0p5PX1Zn6TzXUgG1ftnXzLvIkAg5+sAu4C61RCdqlBY/dU=
=SjP4
-----END PGP SIGNATURE-----

--Sig_/Bdb0DHnqE5itM_BQL38yQa0--


From MAILER-DAEMON Mon Jul 18 21:37:26 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPJyQ-000723-4G
	for mharc-gpsd-dev@gnu.org; Mon, 18 Jul 2016 21:37:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34956)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPJyN-00071t-SJ
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 21:37:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPJyK-0004pj-KJ
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 21:37:23 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:51700)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPJyJ-0004pM-Mp
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 21:37:20 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 15B9F406057; 
	Mon, 18 Jul 2016 18:37:12 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: gpsd dev <gpsd-dev@nongnu.org>, hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Mon,
	18 Jul 2016 18:07:12 PDT." <20160718180712.549821d6@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 18 Jul 2016 18:37:12 -0700
Message-Id: <20160719013712.15B9F406057@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 01:37:24 -0000

> So, open call, anything we should get changed before September?

What happened to the tangle with the Venus chip that starts sending just 
before the top of second getting mixed up with PPS?


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Mon Jul 18 22:18:19 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPKbz-0003bU-9C
	for mharc-gpsd-dev@gnu.org; Mon, 18 Jul 2016 22:18:19 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40581)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPKbx-0003Mx-5S
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 22:18:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPKbv-0003p8-CE
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 22:18:16 -0400
Received: from rellim.com ([2001:470:e815::19]:37645 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPKbv-0003p3-1p
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 22:18:15 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6J2I3Ee028189
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Mon, 18 Jul 2016 19:18:09 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6J2I3Ee028189
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468894689; bh=IheZmzhAO4rRIPX2+ahf1Cm38CrRAmiiJkIAcc3z1SM=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=o2zzHbj5c6WrwYeIM94SlEB7d/Bdrnqa/WKT/Uqb0fIHrloz6u2TDzXtD2ifyZGAu
	ImYgdG1sV+qVhb2PemJ3klQ2xJkx5nCePSwwoX2D1jOvJLJ4SF2dCLhy8ucrGd+rQB
	HYrzUTIc/+yHF5LEXJi6LBXsxxJwP36fuUoS78+A=
Date: Mon, 18 Jul 2016 19:18:03 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160718191803.0885f3f0@spidey.rellim.com>
In-Reply-To: <20160719013712.15B9F406057@ip-64-139-1-69.sjc.megapath.net>
References: <20160718180712.549821d6@spidey.rellim.com>
	<20160719013712.15B9F406057@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/0qm15_gDkML3..1lOj2DJBi";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 18 Jul 2016 19:18:09 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 02:18:18 -0000

--Sig_/0qm15_gDkML3..1lOj2DJBi
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Mon, 18 Jul 2016 18:37:12 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> > So, open call, anything we should get changed before September? =20
>=20
> What happened to the tangle with the Venus chip that starts sending
> just before the top of second getting mixed up with PPS?

The simple solution is to set the option to output the time near the
top of the second.  Which is not the default.

The hard solution, that could figure out what to do with the
overlap uncertainty, is a lot harder.  Might be worth some code
to test for the issue and log it.  Maybe someone will be inspired.

Patches welcome, but not high on my list.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/0qm15_gDkML3..1lOj2DJBi
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjY3bAAoJEA0O2UlB0XnYCtsH/AqVOJDhM76MhJYD4bSdEBBZ
Hh0S+5crpcIacIdy7ZkR9aBZ1ujrn+DDdShaDWqRecVj1YYIKRydFzCbohesnlGm
wlnuC2GtAHzOj2fhLuX0NesuT20sWIOjuSLrRDbnCa9mPi9Q20+Jt0G5f7y59MR6
AX0fsqvftgTWeawHOuY9Sx5c84kRyj4jkZc/qW1qiXxj8I01krt5bQBR2ncbb/VJ
w80FItkPgX1s65BB/gNUpttGf+ID844QUHpfFQhkpCEldPcgCU1oPS2FgFEda3jy
4G8y0AV0GZjQQfzZYkHP2Zq1gu42otZmuSN7CEa3xAHxSNlaKVdkohfprPuyDe0=
=sNC/
-----END PGP SIGNATURE-----

--Sig_/0qm15_gDkML3..1lOj2DJBi--


From MAILER-DAEMON Mon Jul 18 22:44:36 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPL1Q-0006tH-BO
	for mharc-gpsd-dev@gnu.org; Mon, 18 Jul 2016 22:44:36 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44160)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPL1O-0006rI-2d
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 22:44:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPL1L-0000hx-21
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 22:44:34 -0400
Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]:33076)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPL1K-0000ht-Td
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 22:44:30 -0400
Received: by mail-qt0-x22d.google.com with SMTP id w38so2735904qtb.0
	for <gpsd-dev@nongnu.org>; Mon, 18 Jul 2016 19:44:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=reply-to:subject:references:to:cc:from:message-id:date:user-agent
	:mime-version:in-reply-to:content-transfer-encoding;
	bh=1hbj3GyM6SwgN84wQB63YHJns3eTQ45JywrYrdLoxgY=;
	b=KvGmiwJNLp1qk3NslWjXYZyx/0pRLptNMoCD3OfINJcvGZ3xMKzxeSfI367t1zWWyJ
	H9WekUI/87Cn76NzDxXl5N8viRRa4WkTWw7K9BecorzRIWNoZbzxTdYgdmIbCcRHiN+0
	/pdqM3hjjs75/LskbDn865bpSb2+qIWNO4BVxP1PW1HXX1B5uGpLEXNRtkn0HZjgQBPH
	FLACl86JGFQs2241XCUgXihWPpDSnavbcYOD3Qd8lZrKRPq02sY3600h/AI+g4mYEgxY
	lOOsF4hQfqci4nGEov/ahxOAq2BVkw8J5x5MFxxIID5Sy2SdsqXgg1Kz7BgF7zqhgweA
	NkGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:reply-to:subject:references:to:cc:from
	:message-id:date:user-agent:mime-version:in-reply-to
	:content-transfer-encoding;
	bh=1hbj3GyM6SwgN84wQB63YHJns3eTQ45JywrYrdLoxgY=;
	b=ixA3FwWRUT4aLqTOnSpY9Glfea1a1Kn6OpKqaNxyGt4rK/yo+RUGL0AhMlXCnOa8HJ
	84tM2sJPjP3U1DJmemWoHIZWfnzcEtDM9C+vQTYtfAp4obDcPLhDGhsU3Ys+IA4BQOU5
	AdbJ5W+utNQTOkNAPWCcSCz6o/Ty42np94kiGZ17N8WCqvS89Vqc67zZQ+xlS3/EAOLY
	OCDEuyfBD1xqGX7ReUBT6qVA0s1nAZCmHG8HCCY4V/rYeu6YinnSTEU1O66XqKpmQmwS
	fKGw3cVysqNZ/+uloyGRd+ztL96CO/S0xcpeZjQIJ8MRvvcfN1imCTUl5iIyjEi2dWW5
	2B+g==
X-Gm-Message-State: ALyK8tK0X/wdrTVOYvcWID1g3WhpsYDe0H9KSX5SMNNpMYZAkCQGTfdQpX0ymhve5HhhSQ==
X-Received: by 10.200.45.108 with SMTP id o41mr57113309qta.100.1468896270307; 
	Mon, 18 Jul 2016 19:44:30 -0700 (PDT)
Received: from [192.168.96.5] (dynamic-acs-24-144-185-158.zoominternet.net.
	[24.144.185.158]) by smtp.gmail.com with ESMTPSA id
	a67sm3009674qkc.24.2016.07.18.19.44.29
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Mon, 18 Jul 2016 19:44:29 -0700 (PDT)
Reply-To: bellyacres@gmail.com
References: <20160719013712.15B9F406057@ip-64-139-1-69.sjc.megapath.net>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd dev <gpsd-dev@nongnu.org>
From: Mike <bellyacres@gmail.com>
Message-ID: <436b4fc7-341d-389a-1c02-7e282491f07a@gmail.com>
Date: Mon, 18 Jul 2016 22:44:28 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160719013712.15B9F406057@ip-64-139-1-69.sjc.megapath.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c0d::22d
Subject: Re: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 02:44:35 -0000

On 07/18/2016 09:37 PM, Hal Murray wrote:
>> So, open call, anything we should get changed before September?
> What happened to the tangle with the Venus chip that starts sending just
> before the top of second getting mixed up with PPS?
I believe that was my issue.  I have figured out how to set it (Venus 6 
chip) so that the output is much closer to the top of the second.  If 
memory serves it was coming in around xx.941 or so. Occasionally it 
seems to drift one way or the other.  My take is it's not a great piece 
of hardware.  Perhaps the firmware is buggy? Been trying to just let it 
run and collect some logs to see what the out come is.

Mike


From MAILER-DAEMON Mon Jul 18 23:02:21 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPLIb-0002h4-2S
	for mharc-gpsd-dev@gnu.org; Mon, 18 Jul 2016 23:02:21 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47559)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPLIY-0002gr-Ly
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 23:02:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPLIW-0005PW-JA
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 23:02:17 -0400
Received: from rellim.com ([2001:470:e815::19]:37666 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPLIW-0005Ow-8j
	for gpsd-dev@nongnu.org; Mon, 18 Jul 2016 23:02:16 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6J322gB010235
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Mon, 18 Jul 2016 20:02:07 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6J322gB010235
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468897327; bh=LWIwMlmoDTq7BOeRxOPcjLK9fgIWwr/t2HkgTGcVQ+s=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=GokMQkKbRT8UlB6m+vPjUHmoQaSj1hbxIWTmtbjCkLQh4il6nA0pXUAlHHSia4E8u
	zn3yNDDM6cPKGt2o71kQ/gAt0FibInqxptAId/IwBLIFiocubNVBeXYWaQf4BpZ0gi
	lI4fe/rd9ycMSTXCnwSf37yOmFOA1/wqxXyW2LO0=
Date: Mon, 18 Jul 2016 20:02:02 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Mike <bellyacres@gmail.com>
Cc: Hal Murray <hmurray@megapathdsl.net>, gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160718200202.638ec8d3@spidey.rellim.com>
In-Reply-To: <436b4fc7-341d-389a-1c02-7e282491f07a@gmail.com>
References: <20160719013712.15B9F406057@ip-64-139-1-69.sjc.megapath.net>
	<436b4fc7-341d-389a-1c02-7e282491f07a@gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/eZUMQtQxQw01.UjRVxS0dr1";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 18 Jul 2016 20:02:07 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 03:02:19 -0000

--Sig_/eZUMQtQxQw01.UjRVxS0dr1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Mike!

On Mon, 18 Jul 2016 22:44:28 -0400
Mike <bellyacres@gmail.com> wrote:

> On 07/18/2016 09:37 PM, Hal Murray wrote:
> >> So, open call, anything we should get changed before September? =20
> > What happened to the tangle with the Venus chip that starts sending
> > just before the top of second getting mixed up with PPS? =20
> I believe that was my issue.  I have figured out how to set it (Venus
> 6 chip) so that the output is much closer to the top of the second.
> If memory serves it was coming in around xx.941 or so. Occasionally
> it seems to drift one way or the other.  My take is it's not a great
> piece of hardware.  Perhaps the firmware is buggy? Been trying to
> just let it run and collect some logs to see what the out come is.


Yeah, the Venus 6 is getting a bit old, but it should be not too bad.

The Skytraq Windows tool leets you set the top of second mode and
set it into flash memory.  So a one time thing.

You can download the 'GNSS Viewer Program' here:
	http://navspark.mybigcommerce.com/resources/

Hmm, looking at the Venus 6 binary commands, I do not see the
way to force the top of second mode.  It must be in later firmware:

https://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/GPS/AN0003_v1.4.19.=
pdf

So this part will need to hard solution.  I guess if the GPS serial
time is stamped after say: 850 milliSeconds, wait 500 milliseconds to
set the PPS base time (+1).

Patches welcome.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/eZUMQtQxQw01.UjRVxS0dr1
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjZgqAAoJEA0O2UlB0XnYBAMH/3G1uPediYNbd8cVy/uTX3k5
bmnqf8MJuNkAt69uriDnjwadKMoj/zCcBrlu0GQc9Xn96O276Nq6wgQ5BoLcHYfz
nClWOH0caygfHGy71LaswOnurt2rVfsntavuvBaZc9YGpIHOl1qif+d2Vz2CufoL
dHaPwzn7XZvGrlrkcyiXQY/2ZD9S/xhF5dOslhgAM6pQKo3WQVKnTm1k1LEo2YAP
FoyDmF5t/khMzRgfeUa61NE84bx/z5c4D7aCC2h5kKLuFApmF0JRud5bOZBjM10z
6lu4JfSqpKEAlMSl4mpiPp51hKeBv9jzv2E6Pqs31xWaTWcJ8AMH9JSQnUEprc8=
=i0Bu
-----END PGP SIGNATURE-----

--Sig_/eZUMQtQxQw01.UjRVxS0dr1--


From MAILER-DAEMON Tue Jul 19 02:58:27 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPOz4-0000GL-V5
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 02:58:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49316)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPOz2-000057-LA
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 02:58:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPOyw-0007KF-RE
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 02:58:23 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:49900)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPOyw-0007Jz-JW
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 02:58:18 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id DA0D2406057; 
	Mon, 18 Jul 2016 23:58:16 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>, gpsd dev <gpsd-dev@nongnu.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Mon,
	18 Jul 2016 19:18:03 PDT." <20160718191803.0885f3f0@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 18 Jul 2016 23:58:16 -0700
Message-Id: <20160719065816.DA0D2406057@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 06:58:25 -0000


gem@rellim.com said:
> The simple solution is to set the option to output the time near the top of
> the second.  Which is not the default. 

Is there any documentation for how to do that?  (Running a Windows program 
doesn't count.)

Does gpsd know anything about Venus chips?  I poked from gpsmon and it didn't 
get out of NMEA mode.  There was stuff on the screen, but it's not in the log 
file.
>>>[probing enabled]
$GPRMC,065433.484,A,3726.0845,N,12212.2612,W,000.0,313.1,190716,,,A*77^M


There used to be a web page of all the packages/chips and how well they 
worked.  Is that still around?  Should we add a slot?



-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Tue Jul 19 09:10:28 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPUn5-00047b-M7
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 09:10:27 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47203)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPUn2-0003q3-Ul
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 09:10:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPUmy-0007ej-Fg
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 09:10:23 -0400
Received: from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]:35431)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPUmy-0007eX-Af
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 09:10:20 -0400
Received: by mail-qt0-x233.google.com with SMTP id x25so8672132qtx.2
	for <gpsd-dev@nongnu.org>; Tue, 19 Jul 2016 06:10:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=reply-to:from:subject:to:message-id:date:user-agent:mime-version;
	bh=VQf+4A1TGcUIWGbhJT11NSquFVPtQwfT9OLjSMm/MP4=;
	b=DTpf3vexNqeGakWEYSVgcX1gXwH68O2G7UlabRYgwS0xLuKJwO1Z+dDOuzZQprcw2T
	cQJn+QaqfdfdpIGDQ0tZ9HPSx6wHB/Ne5KmG7ZfcKt1/JVLzlJ+hlnO51+DoQgf5NnbJ
	4269lnTGn716HPvfq+qhDiJL7SWjbAGFyr/vHHVNPvlxj4SgjUSqKdTTx0SFVb6Hiyki
	du37iE5AySb52/bzgf4TZwJyh/oksyn5SmTt6PXU6BomSq3ssm2wTzlOoB9+3rYIyVk+
	5HClLYOlga63bkbvKUyPxen/7vua6kE+qL6XJ7tXaVOp4NYbN87enjZ1t1FLIzwlhW4Z
	l3NQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:reply-to:from:subject:to:message-id:date
	:user-agent:mime-version;
	bh=VQf+4A1TGcUIWGbhJT11NSquFVPtQwfT9OLjSMm/MP4=;
	b=kx8Wk+ZeP3oumUhV/Fi1M7DGcSxJGLoOa0trx9bb8YYYWRYOIm3SFmK/kRT3rRrE1t
	NM/1sFgnATudQnvXmjb/HTruWEyBEWWPZQ8bt5b7ZgR5twkfjt9XkOnUW2HFuCCAua2I
	K2xw9HojD7/BZsOEPHqcbnWIJyV//PBRUdzANh/vkzD2O/oxuYIri9nWFvu/6ZU3ymBS
	wnaZHAS0yg61mUeViKHoXHjSBeaucw7Uswq82K+oGg6GwzvPuhYWqA2hHGMj/TzbhShI
	vhw7yENVwVSqAyjpP4JYob2zS1DEbQsEZF+2eMfXNjycv2gJ7m2FE9K0OCROlmt557uI
	zLzw==
X-Gm-Message-State: ALyK8tK7YnaFgijhI7n+jNfLrL6ux+W6NmrAxcpHhHd1z1ah27qg3yra0lem5e2h0MrvnA==
X-Received: by 10.200.48.112 with SMTP id g45mr62552635qte.70.1468933819913;
	Tue, 19 Jul 2016 06:10:19 -0700 (PDT)
Received: from [192.168.96.5] (dynamic-acs-24-144-185-158.zoominternet.net.
	[24.144.185.158]) by smtp.gmail.com with ESMTPSA id
	i13sm1015123qte.42.2016.07.19.06.10.19 for <gpsd-dev@nongnu.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Tue, 19 Jul 2016 06:10:19 -0700 (PDT)
Reply-To: bellyacres@gmail.com
From: Mike <bellyacres@gmail.com>
To: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
Date: Tue, 19 Jul 2016 09:10:18 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.2.0
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="------------610462B4DD7E1D32D8BFAB57"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c0d::233
Subject: [gpsd-dev] =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98Pa?=
 =?utf-8?q?tch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 13:10:27 -0000

This is a multi-part message in MIME format.
--------------610462B4DD7E1D32D8BFAB57
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

On 07/19/2016 02:58 AM, Hal Murray wrote:
> gem@rellim.com said:
>> The simple solution is to set the option to output the time near the top of
>> the second.  Which is not the default.
> Is there any documentation for how to do that?  (Running a Windows program
> doesn't count.)
>
> Does gpsd know anything about Venus chips?  I poked from gpsmon and it didn't
> get out of NMEA mode.  There was stuff on the screen, but it's not in the log
> file.
>>>> [probing enabled]
> $GPRMC,065433.484,A,3726.0845,N,12212.2612,W,000.0,313.1,190716,,,A*77^M
>
>
> There used to be a web page of all the packages/chips and how well they
> worked.  Is that still around?  Should we add a slot?
Hal, Gary,

I searched for quite some time looking for a way using something other 
than Windows to configure this module.
Here is the only real attempt that I found.

_https://github.com/r0ro/skytraq

_I was unsuccessful in getting that code to do anything...

I have been working from that and have code that can guess the serial 
speed, set the serial speed, get the software version(s) of the module, 
get the CRC of the software.  Lastly and most important to me set when 
the NMEA message is delivered.

It's my non-programmer attempt to get something working that doesn't 
require me finding a Windows box simply to change a setting or two.

If there is an interest I can put it up on github or somewhere.

The docs do not directly state a command that changes when the NMEA 
message is delivered.  After some experimentation I've found that the 
0x08 command will indeed do just that.

To the best of my knowledge the Venus 6 will only ever show up to gpsd 
as a NMEA device.  As such none of the related tools can change settings 
on the module.  I believe that it's either in NMEA mode or Skytraq 
binary mode.

Mike_
___

--------------610462B4DD7E1D32D8BFAB57
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 07/19/2016 02:58 AM, Hal Murray
      wrote:<br>
    </div>
    <blockquote
      cite="mid:20160719065816.DA0D2406057@ip-64-139-1-69.sjc.megapath.net"
      type="cite">
      <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:gem@rellim.com">gem@rellim.com</a> said:
</pre>
      <blockquote type="cite">
        <pre wrap="">The simple solution is to set the option to output the time near the top of
the second.  Which is not the default. 
</pre>
      </blockquote>
      <pre wrap="">Is there any documentation for how to do that?  (Running a Windows program 
doesn't count.)

Does gpsd know anything about Venus chips?  I poked from gpsmon and it didn't 
get out of NMEA mode.  There was stuff on the screen, but it's not in the log 
file.
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">[probing enabled]
</pre>
          </blockquote>
        </blockquote>
      </blockquote>
      <pre wrap="">$GPRMC,065433.484,A,3726.0845,N,12212.2612,W,000.0,313.1,190716,,,A*77^M


There used to be a web page of all the packages/chips and how well they 
worked.  Is that still around?  Should we add a slot?
</pre>
    </blockquote>
    Hal, Gary,<br>
    <br>
    I searched for quite some time looking for a way using something
    other than Windows to configure this module.<br>
    Here is the only real attempt that I found.<br>
    <br>
    <u><a class="moz-txt-link-freetext" href="https://github.com/r0ro/skytraq">https://github.com/r0ro/skytraq</a> <br>
      <br>
    </u>I was unsuccessful in getting that code to do anything...<br>
    <br>
    I have been working from that and have code that can guess the
    serial speed, set the serial speed, get the software version(s) of
    the module, get the CRC of the software.Â  Lastly and most important
    to me set when the NMEA message is delivered.<br>
    <br>
    It's my non-programmer attempt to get something working that doesn't
    require me finding a Windows box simply to change a setting or two.<br>
    <br>
    If there is an interest I can put it up on github or somewhere.<br>
    <br>
    The docs do not directly state a command that changes when the NMEA
    message is delivered.Â  After some experimentation I've found that
    the 0x08 command will indeed do just that.<br>
    <br>
    To the best of my knowledge the Venus 6 will only ever show up to
    gpsd as a NMEA device.Â  As such none of the related tools can change
    settings on the module.Â  I believe that it's either in NMEA mode or
    Skytraq binary mode.<br>
    <br>
    Mike<u><br>
    </u><u></u>
  </body>
</html>

--------------610462B4DD7E1D32D8BFAB57--


From MAILER-DAEMON Tue Jul 19 12:38:04 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPY20-0000Oz-5o
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 12:38:04 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41591)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <nunojpg@gmail.com>) id 1bPY1y-0000Os-9N
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 12:38:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <nunojpg@gmail.com>) id 1bPY1x-0006X8-5c
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 12:38:02 -0400
Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:36227)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <nunojpg@gmail.com>) id 1bPY1x-0006X2-1X
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 12:38:01 -0400
Received: by mail-qk0-x22c.google.com with SMTP id x1so20860550qkb.3
	for <gpsd-dev@nongnu.org>; Tue, 19 Jul 2016 09:38:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-transfer-encoding;
	bh=+M0AXmgzqdo1pO4KwSOyeby9Xvv+DbU3y8O/9KaZRhg=;
	b=hJK9A8tfniYd0DsOdUXZv6R7ZegMr96VpAMeDf605P7fBdsVfmqtqRBOSfoZVQVyEx
	g5xdD6mJXMuFhuI1wEBWUWdhFF4LPTa3TLyUVDYCVFAEf9tkK6qhJdFjfvfZiPKRs/au
	pDh1xal3p/iEDZ/S8/Zc9rhhbR/P8tO6nr2FpMTWenY+aciUHgTyn3IDBl44K3ammHKx
	9L8OEGuD+CC3H1MkXoNS5EXga4Ng/pxvfmi6hMZUJ5HFQXmftBp+J1rggKeSE6sJXl6W
	sKewTCwqIa5v1Xwwzgag4pYIWAQ8pOIphkVkHEsu1VOY4fQEw3dNRylNZQfM2iL/z/iR
	FUIg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc:content-transfer-encoding;
	bh=+M0AXmgzqdo1pO4KwSOyeby9Xvv+DbU3y8O/9KaZRhg=;
	b=jko8tDCWUDl3zwuos0UqLBPvccYQ6bBOGKNDQWpE8kHet89JtVYexwZzpnV+cUTPLD
	Djg2978Z54K0uQWlthnMHNRZCIs6AOUzBTVfUCroJvPPrEcptmQOtM2AKnrmDIea7Otb
	fv/dBbhpgMNRC+quSqer8zPeNavOcObe4j6BYNG1Rd+fifcM/kZkdf3tg96JExHst1Wr
	SDkYcx82czkfECjI8C+2Q0GnAGmY/0fOqm2YLQKcXk+J0iXXp+5gipP0Q5irhwilqXRi
	EsQBrp0NtW6Re1Qxd/Ff1j6JwoLI76wycFp7bBtDOG6JHsYY1dfL/LNgNNPr8pLj3njG
	PWlQ==
X-Gm-Message-State: ALyK8tKCPsdYqJPthvlJAMZCjo2lKBChpa24xVyAOObmGs5lkIkFahk0M17+Sr+w2Yrqab/R5rSDheijriS4gQ==
X-Received: by 10.55.105.5 with SMTP id e5mr30750728qkc.61.1468946279892; Tue,
	19 Jul 2016 09:37:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.200.38.17 with HTTP; Tue, 19 Jul 2016 09:37:40 -0700 (PDT)
In-Reply-To: <20160718175852.62a2397d@spidey.rellim.com>
References: <CAEXMXLSt3bRWXN2hHJT+JDsj_HRgXuGO-qm8L1twbp3PFgAM4g@mail.gmail.com>
	<20160718175852.62a2397d@spidey.rellim.com>
From: =?UTF-8?Q?Nuno_Gon=C3=A7alves?= <nunojpg@gmail.com>
Date: Tue, 19 Jul 2016 18:37:40 +0200
Message-ID: <CAEXMXLSDfpW86CJTV04ZCXbHGfjL__6QutL+C3iAgaofiOHNcw@mail.gmail.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: gpsd-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c09::22c
Subject: Re: [gpsd-dev] [PATCH 3/3] TSIP: support multi-constelation chip
 packets
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 16:38:03 -0000

I don't have one of this chips anymore but I'll send it as soon as I
get one...this will probably take a few months.

Thanks,
Nuno

On Tue, Jul 19, 2016 at 2:58 AM, Gary E. Miller <gem@rellim.com> wrote:
> Yo Nuno!
>
> On Mon, 20 Jun 2016 16:06:02 +0100
> Nuno Gon=C3=A7alves <nunojpg@gmail.com> wrote:
>
>>  driver_tsip.c | 116
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>> packet.c      |  32 ++++++++++++---- 2 files changed, 139
>> insertions(+), 9 deletions(-)
>
>
> I came up with a way for changing TSIP_CHANNELS to not break GPGSA.
>
> Along the way I found a few other things wrong with GPGSA, and there
> will need to be more changes when we actually see GPS using more then
> 12 sats.
>
> So I cleaned up your patch, mostly line length and comment problems,
> commited and pushed it.
>
> What this still needs is a good regression test for these changes.
> Without regression tests there is no way to know if something gets change=
d
> that break the output of your patch.
>
> Could you please send a few minutes of TSIP output that has the
> 0x5d and 0x6c sentences?  Then I can add to the regression tests.
>
> RGDS
> GARY
> -------------------------------------------------------------------------=
--
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
>         gem@rellim.com  Tel:+1 541 382 8588


From MAILER-DAEMON Tue Jul 19 12:41:59 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPY5n-0003JW-GA
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 12:41:59 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42254)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPY5i-0003JC-30
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 12:41:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPY5g-0007Rb-3D
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 12:41:53 -0400
Received: from rellim.com ([2001:470:e815::19]:56062 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPY5f-0007RN-R9
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 12:41:52 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6JGfhs4014082
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Tue, 19 Jul 2016 09:41:48 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6JGfhs4014082
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468946508; bh=xXREOREo0EDNvOF/02IQpCHsUHI7gkKXjEA56vebIjI=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=ipkYIS5J1cfKsAUOipfoYAf314JCsH3sOO7oOvUx33uGrP8xgGt613pINZx9ihiLm
	dmXPqvhO54DU4QdVyFyYx8oimTBDVzK3CQxC0kjB9L0Y14Nkf9qJJD0UieNjQbx3Bk
	cbwfmsfLrF+BmiGOHkpEqY0IYW0EnLFd84Q1eL8I=
Date: Tue, 19 Jul 2016 09:41:34 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Nuno =?UTF-8?B?R29uw6dhbHZlcw==?= <nunojpg@gmail.com>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160719094134.167a3fe8@spidey.rellim.com>
In-Reply-To: <CAEXMXLSDfpW86CJTV04ZCXbHGfjL__6QutL+C3iAgaofiOHNcw@mail.gmail.com>
References: <CAEXMXLSt3bRWXN2hHJT+JDsj_HRgXuGO-qm8L1twbp3PFgAM4g@mail.gmail.com>
	<20160718175852.62a2397d@spidey.rellim.com>
	<CAEXMXLSDfpW86CJTV04ZCXbHGfjL__6QutL+C3iAgaofiOHNcw@mail.gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/gixWfr.DX1lk=y=y4jmY4Ta";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Tue, 19 Jul 2016 09:41:48 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] [PATCH 3/3] TSIP: support multi-constelation chip
 packets
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 16:41:58 -0000

--Sig_/gixWfr.DX1lk=y=y4jmY4Ta
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo Nuno!

On Tue, 19 Jul 2016 18:37:40 +0200
Nuno Gon=C3=A7alves <nunojpg@gmail.com> wrote:

> I don't have one of this chips anymore but I'll send it as soon as I
> get one...this will probably take a few months.

Thanks for trying.  I guess someday I gotta get me a a TSIP.

And thanks for the patches!

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/gixWfr.DX1lk=y=y4jmY4Ta
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjlhDAAoJEA0O2UlB0XnYKBMIAKiG7MZvmbAcARHBeGTQSucO
DU/TEpEfFDwEKl+9OCfQa8HSS5ZbpsZNby5kS87PQcJrscquCGZiqMgYnC9uH514
fLPeUdyNXszSXBocMWz0K2e5yWFEgyXobW3znci25y5jbFGbmw1ZrzaXbHC3Butb
SacmeYgzIR/Nzluk0c4p90TmTt1DHoEydjxHgqTWbuwHnRaol68sNshLUoTQJXDA
BrEf1236AG+sZPWhYbmBpWCyb3JSk/KtX7cBzyyKaOMYHveoPmNdZ/ARwvgI0u5a
gnxPZUB4buvR96Kque10xVx4VJRL7279gSvTFejt1iilX7hG18U80EKqNZ3z8Cg=
=As7/
-----END PGP SIGNATURE-----

--Sig_/gixWfr.DX1lk=y=y4jmY4Ta--


From MAILER-DAEMON Tue Jul 19 14:08:32 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPZRY-00030g-LM
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 14:08:32 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37240)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPZRV-0002pb-S9
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:08:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPZRU-0005B6-Ij
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:08:29 -0400
Received: from rellim.com ([2001:470:e815::19]:51762 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPZRU-00059o-A4
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:08:28 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6JI8JVX010668
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Tue, 19 Jul 2016 11:08:24 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6JI8JVX010668
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468951705; bh=AoJNybZOgIfwFLINwAC2yQzl0aWVrzay9OZZunMXXS4=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=vRzbC5zra8w7p3c29PpbX9zd2RdoMzGonbFVKYNxS054r6XEarmU8k6J8bFLB27Iw
	F34hwysK2U0SqCVDmkFN3hJhO/Q/LifMmHS1YcIm11s+VXxiB+uSkRcJTim0+1GCwg
	uT3yBTdUXJwQ922xeA0D2AOAFkJ9VNLa4gYyy2xc=
Date: Tue, 19 Jul 2016 11:08:18 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Mike <bellyacres@gmail.com>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160719110818.13b0e305@spidey.rellim.com>
In-Reply-To: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
References: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/kI/3klo5COF.zzP8A_pVs=h";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Tue, 19 Jul 2016 11:08:25 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98P?=
 =?utf-8?q?atch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 18:08:31 -0000

--Sig_/kI/3klo5COF.zzP8A_pVs=h
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Mike!

On Tue, 19 Jul 2016 09:10:18 -0400
Mike <bellyacres@gmail.com> wrote:

> I searched for quite some time looking for a way using something
> other than Windows to configure this module.
> Here is the only real attempt that I found.
>=20
> _https://github.com/r0ro/skytraq

Someone that cares should roll the few important parts into gpsctl.

On my list, but not very high up.

> If there is an interest I can put it up on github or somewhere.

Sure, at least it is a start.  Mostly gpsctl just needs to know
the binary to send, and the gpsctl can frame it in a packet with=20
proper checksums.

> The docs do not directly state a command that changes when the NMEA=20
> message is delivered.  After some experimentation I've found that the=20
> 0x08 command will indeed do just that.

What is the exact command that works for you?  That could be added
to the gpsd venus init string.

Here are the Venus 6 Binary docs:

https://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/GPS/Venus/638/doc/A=
N0003_v1.4.19.pdf

IN the Windows program, I see "Set GPS Measurement Mode" and you set it
to "Sync to UTC Second when UTC Fix"

The message their Windows software sends is:

    a0 a1 00 03 3e 01 01 3d 0a 0d

But when I look in the Venus 6 docs, the 3e seems to have to do with PPS=20
not measurement...

Nothing about 3e in the Venus 8 doc, but the Venus 8 ACKs that command.

> To the best of my knowledge the Venus 6 will only ever show up to
> gpsd as a NMEA device.  As such none of the related tools can change
> settings on the module.  I believe that it's either in NMEA mode or
> Skytraq binary mode.

Skytraq Binary mode is Venus Binary mode.  Same thing.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/kI/3klo5COF.zzP8A_pVs=h
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjmyTAAoJEA0O2UlB0XnYhtsH/3rbvwLSh1Pj9GTzktrrvRla
30F7WfKxTgFScUgGHBWE71G8MWECTU4ln9tBbgKDzN99SxbUfvr+T5pH/aAqI0qu
EAVuqavNFutLbKGWBRrU6fvlUTzY3qQMfbtUaf4hIci2aLd/tAx532fkFTN7VHF3
NaISF5/lO/WLRYP+mDUcnOquvt8nZbLxramG6yMC1biEijK+jI6YJbLeK6mC09XN
MJMj9kY5NkNrRsSNp3V3Tvlhj+TDGHv4jSWTfTTG3zbhs2CguDebhPt4lVrJIqWB
N8GMxTdbnKy0ERfzMatNqh9FLW67id9DrbZQ1brGHevSwyGHPyDViUY9hzdUXVw=
=REs6
-----END PGP SIGNATURE-----

--Sig_/kI/3klo5COF.zzP8A_pVs=h--


From MAILER-DAEMON Tue Jul 19 14:22:51 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPZfP-0005VW-4i
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 14:22:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40058)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPZfN-0005Ko-3M
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:22:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPZfL-0008EX-WE
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:22:49 -0400
Received: from rellim.com ([2001:470:e815::19]:51145 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPZfL-0008EF-NI
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:22:47 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6JIMaPP015325
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Tue, 19 Jul 2016 11:22:41 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6JIMaPP015325
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468952561; bh=wYBYZ4grGy+9fPFTwIae8JL9HGP7CqwY4+spggeD9pA=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=WTqciruX0osQIquoaqYDTvAfEtpc31d7yq608lpgHR6+YicU3N+3RRxgTQfw4blss
	bKQRaZexQE1HvyrvSL6lpjnrkD7ZpjtIbltxbQSugKUr2SkBIRXzf0kWvIdmNkMzqr
	IjY+iG1wezXCe4lhqFfmfVyUGtLxDHNn6oKcWSNU=
Date: Tue, 19 Jul 2016 11:22:24 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160719112224.3e79629c@spidey.rellim.com>
In-Reply-To: <20160719065816.DA0D2406057@ip-64-139-1-69.sjc.megapath.net>
References: <20160718191803.0885f3f0@spidey.rellim.com>
	<20160719065816.DA0D2406057@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/cpE94K_gxY5/uD5n_L.C8y_";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Tue, 19 Jul 2016 11:22:41 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 18:22:50 -0000

--Sig_/cpE94K_gxY5/uD5n_L.C8y_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Mon, 18 Jul 2016 23:58:16 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said:
> > The simple solution is to set the option to output the time near
> > the top of the second.  Which is not the default.  =20
>=20
> Is there any documentation for how to do that?  (Running a Windows
> program doesn't count.)

Nope.  Working on it.  I goot mine to work with windows and never
nailed down exactly what I did.

> Does gpsd know anything about Venus chips?  I poked from gpsmon and
> it didn't get out of NMEA mode.  There was stuff on the screen, but
> it's not in the log file.
> >>>[probing enabled] =20
> $GPRMC,065433.484,A,3726.0845,N,12212.2612,W,000.0,313.1,190716,,,A*77^M

git head handles them fine.  I added skytraq (venus 8) support for
some units I got.

> There used to be a web page of all the packages/chips and how well
> they worked.  Is that still around?  Should we add a slot?

http://www.catb.org/gpsd/hardware.html

generated from gps.ini in git head.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/cpE94K_gxY5/uD5n_L.C8y_
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjm/mAAoJEA0O2UlB0XnYuKwH/R40n+yENbfAB0gKWnHdsD4C
oAGdMO8QQVAqPz4fSuwVPwtDUIhfzGDu/vpvy52oQRq01CsenX4Q4x5x/lBoLzWc
Q629/cSrKxAlo7o7e+vmdymhjUm4nhtP2QHbErRTDT/rIHiLRJ6Jhl9kVgSjJtdJ
VW6OK5G/RLXr1WddziSRlv3BA7rgt40IuxIvHqE8l/AwHo78HTMcZZ+u2RVN+i0c
YRrGtEtk98K3PPyUEwhSeCxlvRXwuSZ0AXD3vavyTGRdkvetAxqE0te0/q8PmdHc
bwnfzCqyX9qnZLHKid9YuxC5/6paN6ZNUZdoU+LTeTe0+7XQcXX2CAVm80VJEas=
=Dw/a
-----END PGP SIGNATURE-----

--Sig_/cpE94K_gxY5/uD5n_L.C8y_--


From MAILER-DAEMON Tue Jul 19 14:45:22 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPa1C-0008Ir-KI
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 14:45:22 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44860)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPa19-0008F8-NY
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:45:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPa15-0004sk-Nr
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:45:18 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:56979)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPa15-0004sg-Gc
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:45:15 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id E1C53406060; 
	Tue, 19 Jul 2016 11:45:13 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>, gpsd dev <gpsd-dev@nongnu.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Tue,
	19 Jul 2016 11:22:24 PDT." <20160719112224.3e79629c@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 19 Jul 2016 11:45:13 -0700
Message-Id: <20160719184513.E1C53406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 18:45:20 -0000


gem@rellim.com said:
> git head handles them fine.  I added skytraq (venus 8) support for some
> units I got. 

What do you mean by "handles them fine"?  Does it know it is dealing with a 
Venus chip?  Does it do anything special if it finds one?  Or is it just a 
generic NMEA device.

Where does that "8" come from?

I'm using the Sparkfun breakout board.
  https://www.sparkfun.com/products/11058
It says "Venus638FLPx".  Mine may be old enough that it's using the older 
Venus634LPx
My copy of the datasheet says 638 and is dated 2012.  I don't think my unit 
is that old.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Tue Jul 19 14:54:48 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPaAK-0004nZ-Fw
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 14:54:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46821)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPaAH-0004kp-O4
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:54:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPaAF-0006nu-Pe
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:54:44 -0400
Received: from rellim.com ([2001:470:e815::19]:47464 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPaAF-0006nc-Eo
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 14:54:43 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6JIsZ3D026431
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
	for <gpsd-dev@nongnu.org>; Tue, 19 Jul 2016 11:54:40 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6JIsZ3D026431
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468954480; bh=xaiBBsWALTjr6UxTIpkYbqwWtGiQLyALtyyvTzs1VTs=;
	h=Date:From:To:Subject;
	b=sniH0hH7vHVXi0hyQN3s6YRrX9/+GNHr1ZuTC765nE8xCvnkMfTucUvIYG/KUTDnf
	zZ2giVH+3lM2t8zSWw65dISX3ece9LkD3G6LJUOdThQ523Vf3r89yHbvg6zIZDouRf
	q57hE610y9Wf3/SySgJ33HQxrcmQ4m6KRlcJ2+wY=
Date: Tue, 19 Jul 2016 11:54:35 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160719115435.34516b1d@spidey.rellim.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/6ZY1su2vlbxfHY/k/v6mvJf";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Tue, 19 Jul 2016 11:54:40 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: [gpsd-dev] =?utf-8?q?=E2=9C=98ADEV_of_GPS_Serial_and_PPS_timing?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 18:54:46 -0000

--Sig_/6ZY1su2vlbxfHY/k/v6mvJf
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo All!

With a lot of help from the time-nuts, I have an Allan Deviation plot
of GPS Serial and PPS time:

    https://rellim.com/graphs/adev.png

That is for 6 weeks of ntpd peerstats data.

Now I just gotta figure out what it means.  :-)

Eventually this should get into whatever visualizations we come up with.

For some reason this is what hard core time-nuts always want to see.

The hard part, computing the ADEV, is from Tom Van Baak's adev5 program.
Source is here: http://www.leapsecond.com/tools/adev5.c

The script to run it is trivial:

    fgrep 127.127.28.0  /var/log/ntpstats/peerstats* > tmp1.log
    sort -n < tmp1.log > tmp2.log
    awk '{print $5}' < tmp2.log > tmp3.log
    adev5 /a  0 6 .30103 < tmp3.log > adev-gps.log

    fgrep 127.127.28.1  /var/log/ntpstats/peerstats* > tmp1.log
    sort -n < tmp1.log > tmp2.log
    awk '{print $5}' < tmp2.log > tmp3.log
    adev5 /a  0 6 .30103 < tmp3.log > adev-pps.log
    gnuplot < adev.plot > adev.png

As is the plot program:

    set terminal png size 900,600

    set title "Frequency Stability"
    set title font "Arial,28"

    set xlabel "Sampling interval, =CF=84 (seconds)"
    set xlabel font "Arial,24"
    set ylabel "Allan Deviation, =CF=83(=CF=84)"
    set ylabel font "Arial,24"

    set logscale
    set format x "10^{%L}"
    set format y "10^{%L}"
    set zero 1e-20

    set tics nomirror scale 2
    set mxtics 10
    set mytics 10

    set style line 1 lw 2 pt 7 ps 1.2 lt rgb "blue"
    set style line 2 lw 2 pt 7 ps 1.0 lt rgb "red"
    set grid xtics ls 1 lt rgb "gray80" lw 1
    set grid ytics ls 1 lt rgb "gray80" lw 1

    set datafile separator whitespace
    set key top right box width 3

    plot "adev-gps.log" using 2:5 title 'GPS' with linespoints linestyle 1,=
 \
	 "adev-pps.log" using 2:5 title 'PPS' with linespoints linestyle 2

I'm guessing a Pythong person could recode in Python pretty quickly?
Any takers?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/6ZY1su2vlbxfHY/k/v6mvJf
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjndrAAoJEA0O2UlB0XnYmX8H/2TvLTxFuwfpcvwTdgtogY0B
BDkC9jaFOqrOfsSR+14G49TWyj3g6kHLG5xDvUpavKU+zaQRDN7I1VKOJXHo9U+3
EmKsmhxYI2xxDVmGfBUT9i34D75l0jQzJ3D77lj6Bgay+YvuNjCVF7Hubn6xjv5+
9Pji9ezg53j7mBDfZ5s8DZlsjaq+KCMxth/hGpH7fcf8Z4gBtVO+R8G6wTwhEghh
qy7RqSzmXcu/hU2KseDhk+XZ3IjR+M1cYqQmRMRj4atcVoPeIAf55BX0egHLOsDh
+q8Atjc56YYuySefT5qahOb1LIaX3hCVJCq+eMr1xTzVcXI/4XkcsM+SLHERur8=
=9/Zd
-----END PGP SIGNATURE-----

--Sig_/6ZY1su2vlbxfHY/k/v6mvJf--


From MAILER-DAEMON Tue Jul 19 15:20:27 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPaZ9-0006eS-EU
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 15:20:27 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52147)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPaZ7-0006bw-N9
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 15:20:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPaZ3-0004Br-DK
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 15:20:24 -0400
Received: from mail-qk0-x229.google.com ([2607:f8b0:400d:c09::229]:33032)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPaZ3-0004Bl-8K
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 15:20:21 -0400
Received: by mail-qk0-x229.google.com with SMTP id p74so25339467qka.0
	for <gpsd-dev@nongnu.org>; Tue, 19 Jul 2016 12:20:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=reply-to:subject:references:to:cc:from:message-id:date:user-agent
	:mime-version:in-reply-to:content-transfer-encoding;
	bh=1jVsZ0I/fwkD0U1LPzPCKCPIzKRo4VXPUOat6H4gT6k=;
	b=JkJAafkfxqX/b1vIgd21lGy8s64MMUYd3T7XBOieqZZfkc//SwjXwVvPERvdA+ZRRb
	pTyna6iQqmrhlDDd4Rx3ua5uYe0ZoTvKV6q01TfeDMYeJTICRHG/PKh2VgFUTmEVqNIz
	ZM11azbKTqbPBaPuhIX75bhQ0+YKJDZrlrXNpCVbMwt+o4+eH8DFV83bPH60DNY+oWWv
	niQnUfNoTgr9vw2FB8/nOaxSjxD4cTXhE2t2FPrISHqRrsjFmApwCzVCyQ+vgSuDWQH2
	pkDBE6BKpi9yt/ZVjJjUPnkAWVw6aXvYdIMxySE7VV4xsJTTSymkWRDTmTOG5M53XwoM
	dhBw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:reply-to:subject:references:to:cc:from
	:message-id:date:user-agent:mime-version:in-reply-to
	:content-transfer-encoding;
	bh=1jVsZ0I/fwkD0U1LPzPCKCPIzKRo4VXPUOat6H4gT6k=;
	b=DoGyvMS1uekjwaQHPS1dVyWNxosFHGZ/TIWz0eERaMtjxa2oPwnPbUafvrY+IBA0cN
	tdAL/7Mp1WGtyFqcJdjrUF2d9a/ki76Ak3+6wr+eHoLilGG4w6fO5SJvX9FsjME20Jpa
	+OsEwrwQ0KXdxWr7TEUrjqUw0nrZ9Z6UTz+UHQbkonIXchObUzXA8hO7Fro7oV33IU52
	pyzbvSA9QXBpakUN2kxPsXZX2iOs8kxtsFjam9EfEIeRKYz4QJE07to3U+4nNiyLUC71
	6PTPKoxyhwqO20CSvsPiR96B1do3uBAh9xJN8FNb6P3TI7J0wrgzFvOdyK/hv72Er9sU
	Bnmw==
X-Gm-Message-State: ALyK8tLoldhojDH26RFIYCOkAo9+vfog+Lmn0oXyK2s07VCx5VmFo7FQlXEFcbTMTK/9cg==
X-Received: by 10.55.39.142 with SMTP id n136mr56353859qkn.149.1468956020875; 
	Tue, 19 Jul 2016 12:20:20 -0700 (PDT)
Received: from [192.168.96.5] (dynamic-acs-24-144-185-158.zoominternet.net.
	[24.144.185.158])
	by smtp.gmail.com with ESMTPSA id r17sm917388qkl.34.2016.07.19.12.20.19
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Tue, 19 Jul 2016 12:20:20 -0700 (PDT)
Reply-To: bellyacres@gmail.com
References: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
	<20160719110818.13b0e305@spidey.rellim.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
From: Mike <bellyacres@gmail.com>
Message-ID: <310c6b1a-b4c9-2060-47e4-c56c8bcd2eda@gmail.com>
Date: Tue, 19 Jul 2016 15:20:19 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160719110818.13b0e305@spidey.rellim.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c09::229
Subject: Re: [gpsd-dev] 
 =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98P?=
 =?utf-8?q?atch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 19:20:26 -0000

Gary,

Here is a partial reply, other stuff may deserve a thread of it's own.

On 07/19/2016 02:08 PM, Gary E. Miller wrote:
> Yo Mike!
>
> On Tue, 19 Jul 2016 09:10:18 -0400
> Mike <bellyacres@gmail.com> wrote:
>
> What is the exact command that works for you?  That could be added
> to the gpsd venus init string.
 From this heading in the pdf that you referenced.
CONFIGURE NMEA MESSAGE – Configure NMEA message int
erval (0x8)

These values look to me to be the default.

   #0 ~255, 0:disable
   #GGA 01
   #GSA 01
   #GSV 01
   #GLL 00
   #RMC 01 -- 255 appears to be what sets NMEA response to top of second...
   #VTG 00
   #ZDA 00
   #Attributes 0x00, 0x01 -- sram, or sram/flash

The "-- 255 appears.." comment is from my notes, sending the string that 
follows will indeed change the output to send very close to the top of 
second.  I see no way to check/query these values, only set them.  The 
command does ACK properly.  I would note that you need to save this to 
flash for the device to use it right away, it does appear to do a hot 
restart after the ACK.

\xa0\xa1\x00\t\x08\x01\x01\x01\x00\xff\x00\x00\x01\xf7\r\n

> IN the Windows program, I see "Set GPS Measurement Mode" and you set it
> to "Sync to UTC Second when UTC Fix"
>
> The message their Windows software sends is:
>
>      a0 a1 00 03 3e 01 01 3d 0a 0d
>
> RGDS
> GARY
Yes, that looks to be what I used when I had it hooked up to a Windows 
box.  I never captured/saw exactly what command was sent though.  At 
this point I'm choosing to not go back to the Windows only route...

I'll try that command later and see what results I get.

Mike


From MAILER-DAEMON Tue Jul 19 16:52:38 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPc0M-0003QW-0L
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 16:52:38 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44583)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPc0J-0003NW-J7
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 16:52:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPc0H-0008Ap-6a
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 16:52:34 -0400
Received: from rellim.com ([2001:470:e815::19]:54388 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPc0G-0008AS-Sf
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 16:52:33 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6JKqJpG002376
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Tue, 19 Jul 2016 13:52:25 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6JKqJpG002376
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468961546; bh=2jRUnfbUryI9PXjAv/LHJuFMZRrp+1Syb4O7Adb46a0=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=i0geTytw4lCCQKFT96pRiwgnarSqm2ajDKV+4FVPpCQ4aL2GDKqdO9t0iG1fZ1Gni
	8z3YpR4ZH4pzPXVDSnZP0DZGCWKuaA3hvA3EWfGqeaQ/nnbI7V9ViREIaYAENfXXcA
	swMAuknjIZhlDz04C75DbwOLLugn+9ZOg4wsJ0Mc=
Date: Tue, 19 Jul 2016 13:52:19 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160719135219.16dda07d@spidey.rellim.com>
In-Reply-To: <20160719184513.E1C53406060@ip-64-139-1-69.sjc.megapath.net>
References: <20160719112224.3e79629c@spidey.rellim.com>
	<20160719184513.E1C53406060@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/eIXH+3zqKzgEU2fTIdL.mo0";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Tue, 19 Jul 2016 13:52:26 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 20:52:36 -0000

--Sig_/eIXH+3zqKzgEU2fTIdL.mo0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Tue, 19 Jul 2016 11:45:13 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said:
> > git head handles them fine.  I added skytraq (venus 8) support for
> > some units I got.  =20
>=20
> What do you mean by "handles them fine"?

It decodes all the Skytraq NMEA, Private NMEA and Serial that my Venus 8
GPS send out.

> Does it know it is dealing
> with a Venus chip?

Yes, it dumps the software revision in INFO.

> Does it do anything special if it finds one?

For now, it just dumps the software revision in INFO, and then decodes
the binary.  Both new features.

>  Or
> is it just a generic NMEA device.

There are some proprietary NMEA sentences, and Skytraq/Venus unique
binary.
=20
> Where does that "8" come from?

Version 8.  Version 6 and 7 are still common.  Like the u-blox 6, 7, and 8.

> I'm using the Sparkfun breakout board.
>   https://www.sparkfun.com/products/11058
> It says "Venus638FLPx".  Mine may be old enough that it's using the
> older Venus634LPx

That would be a Venus 6.

> My copy of the datasheet says 638 and is dated 2012.  I don't think
> my unit is that old.

Two generations old, and lot of new binary messages in the 8.

The 8's can do BeiDou and GLONASS, that is helpful.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/eIXH+3zqKzgEU2fTIdL.mo0
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjpMDAAoJEA0O2UlB0XnYZJ4H/itKg8wuxBYksW7T0vRLiKye
Q4rqf8Tk3aMjGPEnBpKkQCmHHrSK/SLvvzcJh1JlCJU/gfisQ7EbSmXwA5uCNwy4
7WxUPT+SMLDrm70S15YHaLZLmu9I9TsDHZ8a8Ih4uTTt8KC38rPcRR9Y6WIpHttf
ewh0zszU+tGGRYZbdAf9hPqHFqXLSyCuFW5jF4UG7OVn0SqBo6eXxOtV1g2qlepX
V40okjAZTxeDrfs0oydKfkQPLC3CKU1+VQM/baS6F3hXsraCyMKY1k660R8Gw0l2
8NUMDrl66jN4jegO24lpMXjuWkG+LfP57C6f3lHsj4H7s1pq2egkbSP2SYYdJc0=
=hOwa
-----END PGP SIGNATURE-----

--Sig_/eIXH+3zqKzgEU2fTIdL.mo0--


From MAILER-DAEMON Tue Jul 19 16:59:38 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPc78-00070Q-Ap
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 16:59:38 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46369)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bPc75-0006x1-R8
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 16:59:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bPc70-0001VW-09
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 16:59:34 -0400
Received: from col004-omc3s14.hotmail.com ([65.55.34.152]:60889)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bPc6z-0001VO-Is
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 16:59:29 -0400
Received: from EUR01-VE1-obe.outbound.protection.outlook.com ([65.55.34.136])
	by COL004-OMC3S14.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Tue, 19 Jul 2016 13:39:25 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=8De1ed+oxweTrD/3E1ECFfJWXE4hkUB4UagEyAsmL7k=;
	b=tHpwBVmdaCOZ8FEj7CkN8fuMRGg/fAHNQEk1cTtC8nW/zIvSM9RQxXEnww9N+kIze1Vn566T1jCIM+H5KVAY2/CHR9uc1TNY0bUkivJVZmiGHJRPimZZalRgEDECQlpAiQYqAC6UdK0O4U5W6AQADwBEgTiL3wJZot34VaM0aHnDTgb7aOoBCjwUwfK4UhYonrl7K/JxcyOkNe52vk1UM3uYYReI3j01hUTerTa/wouKiWjuQnbbG/MUO0zgAJkucfF1ei9wC5OAL5GI8UY8ZIZ8FOt/zWpf2QuwDiCLjUdKJPnbwRSPMZ4Guk2o5aV3/PrqHldkPdF2lWYRpVq6BQ==
Received: from DB5EUR01FT032.eop-EUR01.prod.protection.outlook.com
	(10.152.4.59) by DB5EUR01HT094.eop-EUR01.prod.protection.outlook.com
	(10.152.5.238) with Microsoft SMTP Server (TLS) id 15.1.539.16;
	Tue, 19 Jul 2016 20:39:24 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com (10.152.4.60) by
	DB5EUR01FT032.mail.protection.outlook.com (10.152.4.250) with Microsoft
	SMTP Server (TLS) id 15.1.539.16 via Frontend Transport;
	Tue, 19 Jul 2016 20:39:23 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) by
	DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) with mapi id
	15.01.0544.004; Tue, 19 Jul 2016 20:39:23 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: C Client API Issues
Thread-Index: AQHR4f2hc8gAdpKlpUqnqWUfUafdmQ==
Date: Tue, 19 Jul 2016 20:39:23 +0000
Message-ID: <DB6PR0601MB2168C5B58D989212DD6A40448E370@DB6PR0601MB2168.eurprd06.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=softfail (sender IP is 10.152.4.60)
	smtp.mailfrom=hotmail.com; nongnu.org; dkim=none (message not signed)
	header.d=none; nongnu.org;
	dmarc=fail action=none header.from=hotmail.com; 
received-spf: SoftFail (protection.outlook.com: domain of transitioning
	hotmail.com discourages use of 10.152.4.60 as permitted sender)
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [oFgJRh23XeKL2DMXa5oDZS1QaaQh/Tbs]
x-eopattributedmessage: 0
x-forefront-antispam-report: CIP:10.152.4.60; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM;
	SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1;
	SRVR:DB5EUR01HT094; H:DB6PR0601MB2168.eurprd06.prod.outlook.com;
	FPR:; SPF:None; LANG:en; 
x-ms-office365-filtering-correlation-id: 32a2f1ee-713e-4618-1089-08d3b014c4dd
x-microsoft-exchange-diagnostics: 1; DB5EUR01HT094;
	7:BMXr879O1z6jtDWbGubDFXwLzSB9yTXuslpbEoHM0KkHZc1Z6rawEdBfIG1quRT+RzB9PNJgN61DsW9o1VqQIkXFnclvZ1ZMBMqnQw5kA/gB04viP5StNvtP6Ubz7+WHLfos+1B0A4LnKavH9HYa1aJ1f0kjyD/zv08/XVcjLWjQvhjYnd8wt/K6xWOPGZG5nLMj/dAp63pgsNL5M9QOQQzNsNuJMnJKBmF+pNs9HZbH8U2Sf659U+edFBxJptYY
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
	RULEID:(1601124038)(5061506196)(5061507196)(1603103041)(1601125047);
	SRVR:DB5EUR01HT094; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046);
	SRVR:DB5EUR01HT094; BCL:0; PCL:0; RULEID:; SRVR:DB5EUR01HT094; 
x-forefront-prvs: 000800954F
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative;
	boundary="_000_DB6PR0601MB2168C5B58D989212DD6A40448E370DB6PR0601MB2168_"
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2016 20:39:23.6417 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR01HT094
X-OriginalArrivalTime: 19 Jul 2016 20:39:25.0012 (UTC)
	FILETIME=[A31E9140:01D1E1FD]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.34.152
Subject: [gpsd-dev] C Client API Issues
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 20:59:37 -0000

--_000_DB6PR0601MB2168C5B58D989212DD6A40448E370DB6PR0601MB2168_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


1. Some functions in gps.h are not guaranteed to be available.

gps_enable_debug() and libgps_trace() can be compiled out from the shared l=
ibrary libgps.
This occurs when one builds libgps with clientdebug=3DFalse.

Thus C client code being built would fail to link on a system where they ar=
e not available.
And presumably have a run-time failure when using a pre built client on a s=
ystem where libgps lacks those functions.

IMHO The functions should always be available, possibly as empty functions =
if one is concerned about the footprint on minimal systems.

Luckily it seems as though most distributions use the (implicit) default se=
tting of clientdebug=3DTrue when building libgps.

2. Incorrect use of gps_close() can cause SIGSEV faults.

Since gps_close() tries to free some privdata in the gps_data_t structure i=
t could fail if privdata has not been initialized (and so could be pointing=
 to a random location and hence cause a SIGSEV fault).

gps_close() should only be called after a successful gps_open() (which has =
allocated the data).

I don't see a way to prevent this solely within gpsd itself, so probably on=
ly the documentation should be updated to reflect the recommended usage.


Any thoughts?


I can generate patches along the lines I think the solutions should take.


--
Be Seeing You - Rob.
If at first you don't succeed,
then skydiving isn't for you.

--_000_DB6PR0601MB2168C5B58D989212DD6A40448E370DB6PR0601MB2168_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;back=
ground-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><font size=3D"2"><span style=3D"font-size:10pt;"><br>
1. Some functions in gps.h are not guaranteed to be available.<br>
<br>
gps_enable_debug() and libgps_trace() can be compiled out from the shared l=
ibrary libgps.<br>
This occurs when one builds libgps with clientdebug=3DFalse.<br>
<br>
Thus C client code being built would fail to link on a system where they ar=
e not available.<br>
And presumably have a run-time failure when using a pre built client on a s=
ystem where libgps lacks those functions.<br>
<br>
IMHO The functions should always be available, possibly as empty functions =
if one is concerned about the footprint on minimal systems.<br>
<br>
Luckily it seems as though most distributions use the (implicit) default se=
tting of clientdebug=3DTrue when building libgps.<br>
<br>
2. Incorrect use of gps_close() can cause SIGSEV faults.<br>
<br>
Since gps_close() tries to free some privdata in the gps_data_t structure i=
t could fail if privdata has not been initialized (and so could be pointing=
 to a random location and hence cause a
<font size=3D"2"><span style=3D"font-size:10pt;">SIGSEV</span></font> fault=
).<br>
<br>
gps_close() should only be called after a successful gps_open() (which has =
allocated the data).</span></font></p>
<p><font size=3D"2"><span style=3D"font-size:10pt;"><br>
I don't see a way to prevent this solely within gpsd itself, so probably on=
ly the documentation should be updated to reflect the recommended usage.</s=
pan></font><br>
</p>
<p><br>
</p>
<p>Any thoughts?</p>
<p><br>
</p>
<p>I can generate&nbsp;patches&nbsp;along the lines I think the solutions s=
hould take.<br>
</p>
<p><br>
</p>
<div id=3D"Signature">-- <br>
Be Seeing You - Rob.<br>
If at first you don't succeed,<br>
then skydiving isn't for you. </div>
</div>
</body>
</html>

--_000_DB6PR0601MB2168C5B58D989212DD6A40448E370DB6PR0601MB2168_--


From MAILER-DAEMON Tue Jul 19 17:16:25 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPcNN-00048X-9b
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 17:16:25 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51289)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPcNK-00047L-Oi
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 17:16:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPcNJ-0006M7-Oz
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 17:16:22 -0400
Received: from rellim.com ([2001:470:e815::19]:34934 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPcNI-0006LM-Ic
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 17:16:21 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6JLGBt6010929
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Tue, 19 Jul 2016 14:16:16 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6JLGBt6010929
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468962977; bh=cF5Fbrc7v8MDe3Lme0TGcTHYtneylLCJ03rQwfzLnzo=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=jOeWRavhCvU0ihXKlg//KLxl7B1a3pj09e28/xRmBZqsuwHk1q2y/1g9/itMnLQB4
	eD0LqG9LbeDu05PnDtf7NmzdrBI2F20jk3yyXJZM4cugrwS5vUgP2hSmZMF7w/AYcV
	T1RHM+cp3Tt6oiouzyzbHjZRYA4PabC9fif1bM/0=
Date: Tue, 19 Jul 2016 14:16:11 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Robert Norris <rw_norris@hotmail.com>
Cc: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Message-ID: <20160719141611.64a84a52@spidey.rellim.com>
In-Reply-To: <DB6PR0601MB2168C5B58D989212DD6A40448E370@DB6PR0601MB2168.eurprd06.prod.outlook.com>
References: <DB6PR0601MB2168C5B58D989212DD6A40448E370@DB6PR0601MB2168.eurprd06.prod.outlook.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/Y1Vgy.DBJ1B9Sa5J8rjCCTi";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Tue, 19 Jul 2016 14:16:17 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] C Client API Issues
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 21:16:24 -0000

--Sig_/Y1Vgy.DBJ1B9Sa5J8rjCCTi
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Robert!

On Tue, 19 Jul 2016 20:39:23 +0000
Robert Norris <rw_norris@hotmail.com> wrote:

> 1. Some functions in gps.h are not guaranteed to be available.

Ouch.

> 2. Incorrect use of gps_close() can cause SIGSEV faults.

Ouch.

> I can generate patches along the lines I think the solutions should
> take.

Please do!

> Be Seeing You - Rob.

Wir Sehen Uns!

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/Y1Vgy.DBJ1B9Sa5J8rjCCTi
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjpibAAoJEA0O2UlB0XnY47wH/RtWvUM8+fQjoqNTrlDchTa1
30QOSCgRNhDvZ68JSIAvs7Omfh7TTSQ+8zvmRhB58JG9IR/U30yA3xZ40/IJ2TVb
I1N9j1/ucjOVB7RVkqKDi5I0MWwoemFEPLvyINuQSZheAQH8YmBby6npT8XA3Z/6
Tc9+FeROJ+JERT8Cmp1iNCWBHGcKs+GRaPMKa9cN4nD5p18U8JCkPTsf+R3iCqxx
vC3lt1u8uoTgYKB9tq6SyySmv1MRatLAsOr8Uf51ZR0qEyu5PPDYTpgf6ZZijBgh
4fh4L4oUy0orSp3XmF4XrQmjlyddtZ9LD1VazPMYZPJg2WfFchV3ZI0CNHH2gy0=
=nMsG
-----END PGP SIGNATURE-----

--Sig_/Y1Vgy.DBJ1B9Sa5J8rjCCTi--


From MAILER-DAEMON Tue Jul 19 17:19:24 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPcQF-0006wo-Vd
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 17:19:23 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52011)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPcQD-0006v6-V5
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 17:19:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPcQD-0006rj-0D
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 17:19:21 -0400
Received: from rellim.com ([2001:470:e815::19]:56777 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPcQC-0006re-Lm
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 17:19:20 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6JLJEZP011856
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Tue, 19 Jul 2016 14:19:19 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6JLJEZP011856
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468963159; bh=4jS55UIBqlHT8Nc0O2UCsXWezKuB31fNbc2zGM8dQqE=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=DByzX/WPw5LVATPd/kQLpGRxmUgpixQTBFEGCdkGWXZA39dIfBdKf8+PBe0z1z7JX
	+I+2nAzM6PiM+bE1kJ6KyuFeVklOCVbo6/uZbDT0fobvLyDumckvZ3aDyPHRgZovuX
	xPBFZ9rr4yAYxe/M/Czw6cZTKnDrjN3wF7UFSIbs=
Date: Tue, 19 Jul 2016 14:19:14 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Robert Norris <rw_norris@hotmail.com>
Cc: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Message-ID: <20160719141914.0da949c9@spidey.rellim.com>
In-Reply-To: <20160719141611.64a84a52@spidey.rellim.com>
References: <DB6PR0601MB2168C5B58D989212DD6A40448E370@DB6PR0601MB2168.eurprd06.prod.outlook.com>
	<20160719141611.64a84a52@spidey.rellim.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/SQXBS4rh9/KY2788lWICx1g";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Tue, 19 Jul 2016 14:19:19 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] C Client API Issues
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 21:19:22 -0000

--Sig_/SQXBS4rh9/KY2788lWICx1g
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Gary!

On Tue, 19 Jul 2016 14:16:11 -0700
"Gary E. Miller" <gem@rellim.com> wrote:

> > Be Seeing You - Rob. =20
>=20
> Wir Sehen Uns!

Or maybe:  Laj izit zona! (Queue sound of trumpets)

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/SQXBS4rh9/KY2788lWICx1g
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjplSAAoJEA0O2UlB0XnYo8wH/R3lkYtosMeyJfuMWxhNDtGK
n+agU5mi3Uhh78cnwtvlyDrsoED8INc+bxY6fRPrWOKhGYHui1MGnjsrDy503Bgy
TTml2L9PrRCRoMd/GjFcYbKp60iHdb1BoQLlqywPUvmEMYumO4BfTa3ROsqzfLHA
rWtAV3ZlySFRa/cYYtV1Ji6jL9RRoAw6FCP08MLikTSQggfJs0ozT7aLck4PLhuV
IMCTTCvYh7OGyTpN4pFhLJpwoJUtUwod9iRppswzKjURriqXY+oGF9czgfStpZSh
piXe8gCK6Byr0O9ljuMXH0HnJ79G4C8HbF31ABLJJkMGQNdrfrOkT5YHXNIcv3c=
=iG2a
-----END PGP SIGNATURE-----

--Sig_/SQXBS4rh9/KY2788lWICx1g--


From MAILER-DAEMON Tue Jul 19 17:25:54 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPcWY-0007uL-JZ
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 17:25:54 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53846)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPcWW-0007s5-JB
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 17:25:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPcWS-0008Pn-9e
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 17:25:51 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:61112)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPcWS-0008Pc-1E
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 17:25:48 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 8F17F406060; 
	Tue, 19 Jul 2016 14:25:46 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Robert Norris <rw_norris@hotmail.com>
cc: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>,
	hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Robert Norris <rw_norris@hotmail.com> of "Tue,
	19 Jul 2016 20:39:23 -0000."
	<DB6PR0601MB2168C5B58D989212DD6A40448E370@DB6PR0601MB2168.eurprd06.prod.outlook.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 19 Jul 2016 14:25:46 -0700
Message-Id: <20160719212546.8F17F406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] C Client API Issues
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 21:25:53 -0000


rw_norris@hotmail.com said:
> gps_close() should only be called after a successful gps_open() (which has =
> allocated the data).

> I don't see a way to prevent this solely within gpsd itself, so probably on=
> ly the documentation should be updated to reflect the recommended usage. 

gpsd needs a flag so close is a noop if it isn't open.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Tue Jul 19 18:45:47 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPdlr-0004Af-T9
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 18:45:47 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40283)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPdlp-0004AX-WE
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 18:45:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPdlo-0000e4-2S
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 18:45:45 -0400
Received: from rellim.com ([2001:470:e815::19]:36342 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPdln-0000cx-Pv
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 18:45:43 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6JMjHJV008371
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Tue, 19 Jul 2016 15:45:22 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6JMjHJV008371
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1468968323; bh=VIopbOpKjim3DV6lrKUwuQH1JXi+7ibjqqDg3Zzd+RU=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=YjOj+ZjTuKzWcyawbv9mxn5qAt667HJBHpPW6RW+pQAQUK2NsK9XIkZ6hn/C5SGlP
	AVCoaBQD0VLkHraLmEzDV4b77XHAfTURldmicmr0afS+CPw897NWvnuQo1B8jDwJRB
	YLuJyTsrCWFpMc4zth1jYddHhqFTObc4uinWVA3A=
Date: Tue, 19 Jul 2016 15:45:17 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: Robert Norris <rw_norris@hotmail.com>, "gpsd-dev@nongnu.org"
	<gpsd-dev@nongnu.org>
Message-ID: <20160719154517.002404b0@spidey.rellim.com>
In-Reply-To: <20160719212546.8F17F406060@ip-64-139-1-69.sjc.megapath.net>
References: <DB6PR0601MB2168C5B58D989212DD6A40448E370@DB6PR0601MB2168.eurprd06.prod.outlook.com>
	<20160719212546.8F17F406060@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/OjRcfMPly_M1_ryddfleDGn";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Tue, 19 Jul 2016 15:45:23 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] C Client API Issues
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 22:45:47 -0000

--Sig_/OjRcfMPly_M1_ryddfleDGn
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Tue, 19 Jul 2016 14:25:46 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> rw_norris@hotmail.com said:
> > gps_close() should only be called after a successful gps_open()
> > (which has =3D allocated the data). =20
>=20
> > I don't see a way to prevent this solely within gpsd itself, so
> > probably on=3D ly the documentation should be updated to reflect the
> > recommended usage.  =20
>=20
> gpsd needs a flag so close is a noop if it isn't open.

Patches welcome!

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/OjRcfMPly_M1_ryddfleDGn
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXjq19AAoJEA0O2UlB0XnYWaUIAIauBKaJP+cCk250VhPOiS2f
apczMfwnuwxv6TspSSx2saFzgc33bVseGl0hPyBTeby+SSQ9zAVTAON5Hst+y5jG
ReUFoZeMbEk2UF3im6xBWDCslsqaFH79nIvJ+pvq7DU4R+CztKEs6v/KXkW/S3BC
JSz6nmke8U1kCyVm9WnAb55or3gRtgWhUSWAryQrPGu7B8nh7apOUoyRaBRTZIj1
FEsn1ymYcuEEFNcKoC/Q2DxrMY1o3/qKdzql390zHLPisryFFVkpuq3FX6wvTzaP
VEoux9pm4wGTElhx1dKYJMNRQbTU+EdZlamROTVBU3usMESJ4isTmDLjL0fnAGY=
=e8Ts
-----END PGP SIGNATURE-----

--Sig_/OjRcfMPly_M1_ryddfleDGn--


From MAILER-DAEMON Tue Jul 19 20:49:40 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPfhk-0000OB-MP
	for mharc-gpsd-dev@gnu.org; Tue, 19 Jul 2016 20:49:40 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34120)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPfhi-0000Nd-Jv
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 20:49:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPfhf-0006VK-GS
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 20:49:38 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:51352)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bPfhf-0006V2-9P
	for gpsd-dev@nongnu.org; Tue, 19 Jul 2016 20:49:35 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id E0803406060; 
	Tue, 19 Jul 2016 17:49:32 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 19 Jul 2016 17:49:32 -0700
Message-Id: <20160720004932.E0803406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: [gpsd-dev] Quirks from scons check on NetBSD
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 00:49:39 -0000

In case anybody ever wants to chase that tangle...

For me, it works on 32 bit systems but not 64.

That's with WRITE_PAD = 0.00400

-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Wed Jul 20 11:08:20 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPt6i-0004bR-IZ
	for mharc-gpsd-dev@gnu.org; Wed, 20 Jul 2016 11:08:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38521)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPt6f-0004ZA-Tm
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 11:08:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPt6b-0003t1-Ga
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 11:08:16 -0400
Received: from mail-qk0-x235.google.com ([2607:f8b0:400d:c09::235]:33117)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPt6b-0003sn-C1
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 11:08:13 -0400
Received: by mail-qk0-x235.google.com with SMTP id p74so47793541qka.0
	for <gpsd-dev@nongnu.org>; Wed, 20 Jul 2016 08:08:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=reply-to:subject:references:to:cc:from:message-id:date:user-agent
	:mime-version:in-reply-to:content-transfer-encoding;
	bh=cN+7i98yHFzNot6H6Mh92jOCh9ksgJAnwDj1hdILUgM=;
	b=gIawbScf7VtpUavyivaP1WydHGnQlUb6ZJpuHP6ce8w9quy3DOJqe+dsIH/7rGVeqH
	1zJnHQYDZKly/GK4zzp2Faxtpn9fdIh7hJjcXG3sMR1RLjg/GiuHWGJaPLyJdfHnVE8k
	t8o/xoeAk73sjeZYXNsU1vNCeiUZ1SoC5zpSeTEevMDN9gl387iieErq2sJI5hV4P75L
	Teo0bl3/HYqcOdth4Jg4oSOgQkR+Ubrb7FzVa7b8A21ulsS8cBB651R7n8SCPKkQuGuz
	nuMc5p3Rs1apEs54hDW07031C43x535K6QaBHeCFmC3ZY6xLvEcR0Zkjb1v86a/b5ABe
	Vaqw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:reply-to:subject:references:to:cc:from
	:message-id:date:user-agent:mime-version:in-reply-to
	:content-transfer-encoding;
	bh=cN+7i98yHFzNot6H6Mh92jOCh9ksgJAnwDj1hdILUgM=;
	b=ei9+vrpkrI6YN0KQe+PFB4dyVb9nWrlqOBtGCnx5WhvdRSMkU+AJRt/B7rrNnmqiN5
	glxlWnv8UfeTjq8ZC39BXpHt7HukQn2hECE3HQyi0z0LSnLSa/BEQLVe2fpdKV/ynI6J
	yfLr9ZaibTspDPWgAeBj33MCh0pyUfmr8/zvRL2/7PPfn8UVYvZ9vkAabRsrYVJCOCfb
	to7KEuzI8tw+NOqJRuMNccE4xPOF5L1WCyXxM46KI0GyRF9VwmyAiGF0qyvuBxQG/zHK
	RT/i2C+97Q49tJtERG2ilqSyxZmda9D9iTua/qUARx6lqkpI2xwPOuQxKi/kLh1hVt/i
	9aFw==
X-Gm-Message-State: ALyK8tKD1jY27MuXOJuN1JKdq7VA4E/Fe8EIAiAYZRXOjAiTPevhw617Xa70r0//VJZrzw==
X-Received: by 10.55.113.197 with SMTP id m188mr56073817qkc.90.1469027292692; 
	Wed, 20 Jul 2016 08:08:12 -0700 (PDT)
Received: from [192.168.96.5] (dynamic-acs-24-144-185-158.zoominternet.net.
	[24.144.185.158]) by smtp.gmail.com with ESMTPSA id
	i13sm1628340qte.42.2016.07.20.08.08.11
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 20 Jul 2016 08:08:12 -0700 (PDT)
Reply-To: bellyacres@gmail.com
References: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
	<20160719110818.13b0e305@spidey.rellim.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
From: Mike <bellyacres@gmail.com>
Message-ID: <7e1b256a-61ec-1481-80c5-449af8e56ca6@gmail.com>
Date: Wed, 20 Jul 2016 11:08:11 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160719110818.13b0e305@spidey.rellim.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c09::235
Subject: Re: [gpsd-dev] 
 =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98P?=
 =?utf-8?q?atch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 15:08:19 -0000

On 07/19/2016 02:08 PM, Gary E. Miller wrote:
> Yo Mike!
>
> On Tue, 19 Jul 2016 09:10:18 -0400
> Mike <bellyacres@gmail.com> wrote:
>
>> I searched for quite some time looking for a way using something
>> other than Windows to configure this module.
>> Here is the only real attempt that I found.
>>
>> _https://github.com/r0ro/skytraq
> Someone that cares should roll the few important parts into gpsctl.
>
> On my list, but not very high up.
Probably not surprising I'm rather confused here!  Should gpsctl see 
that I have a Skytraq device?  All I can ever get it to show is:

/dev/ttyAMA0 identified as a NMEA0183 at 38400 baud.

That was the end of output from this command.
./gpsctl -D9 -t Skytraq /dev/ttyAMA0

I see now indication looking through the output that gpsctl even tried 
to identify a Skytraq device.

Am I missing something painfully obvious?

Mike


From MAILER-DAEMON Wed Jul 20 13:15:32 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPv5o-0004jr-Ey
	for mharc-gpsd-dev@gnu.org; Wed, 20 Jul 2016 13:15:32 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41036)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPv5l-0004iJ-TK
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 13:15:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPv5j-0000pw-LV
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 13:15:28 -0400
Received: from rellim.com ([2001:470:e815::19]:47180 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPv5j-0000pK-B4
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 13:15:27 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6KHFIF8007048
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Wed, 20 Jul 2016 10:15:23 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6KHFIF8007048
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469034924; bh=apJ+OZMilQ8S3gqNjEPXMnFhytw7rg5j/bwwuc8Q8I0=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=dq+JDW76QxVrX87ERBvev5V/YU91mEFytTh/MnWLX6QFbJgG3tizeWHced00OZc/r
	O23wzsOtL29bxLHYtO/BoRAtgofAHeE987oIBgZeR9RsQo/TM38bYxt9TuCxCPHu7t
	dHIymwTIpGzcg/RFUe8K6kCeHXFMf/pMEdOgH194=
Date: Wed, 20 Jul 2016 10:15:18 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Mike <bellyacres@gmail.com>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160720101518.62caba39@spidey.rellim.com>
In-Reply-To: <7e1b256a-61ec-1481-80c5-449af8e56ca6@gmail.com>
References: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
	<20160719110818.13b0e305@spidey.rellim.com>
	<7e1b256a-61ec-1481-80c5-449af8e56ca6@gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/IKCZ=Z845aMdnDmHhuBgMS0";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Wed, 20 Jul 2016 10:15:24 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98P?=
 =?utf-8?q?atch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 17:15:31 -0000

--Sig_/IKCZ=Z845aMdnDmHhuBgMS0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Mike!

On Wed, 20 Jul 2016 11:08:11 -0400
Mike <bellyacres@gmail.com> wrote:

> >> I searched for quite some time looking for a way using something
> >> other than Windows to configure this module.
> >> Here is the only real attempt that I found.
> >>
> >> _https://github.com/r0ro/skytraq =20
> > Someone that cares should roll the few important parts into gpsctl.
> >
> > On my list, but not very high up. =20
> Probably not surprising I'm rather confused here!  Should gpsctl see=20
> that I have a Skytraq device?

It should.  But I just added Skytraq to git head for next release, and I
did not get to checking/fixing gpsctl yet.

> /dev/ttyAMA0 identified as a NMEA0183 at 38400 baud.

Well, when the Skytraq is NMEA mode it takes a while to go from=20
NMEA0183 to Skytraq,  That needs to be looked at.

> I see now indication looking through the output that gpsctl even
> tried to identify a Skytraq device.

Yeah, and it shoulda worked, but new and untested.  You are on git head,=20
right?  You likely are if you saw anything Skytraq related.

> Am I missing something painfully obvious?

No, the code is likely missing something painfully obvious.  Certainly
untested, and should be before next release.

gpsctl need to detect Skytraq, set from nmea to binary modes and back, and
send arbitrary commands.  Then fancy stuff can be added.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/IKCZ=Z845aMdnDmHhuBgMS0
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXj7GmAAoJEA0O2UlB0XnYiUkH/jCuu3p+SHcB6eYkROark/M4
xyTjwx922ix8+jxziGHqeqKL0P95Kfztujaa0QgpRDLx6wHmRjKilId1zklLr9J3
Oap92BqdjCAYx1POe1dyVQR8YuN4okRkoW5nPOeXSKGEVGXxq4apZGuh+qhy/9S8
xXZ/V6by9uQiXnXU/sNzBr/BC/mvlmVowL9ur/jJtsToCqLtEiE2iFbHHgqoXlhL
fnqSif1SRcLamDXb53yF9Bh/rh337HpIjADHzsGziw7ObO5eKEE0KzESoCBsHLBu
kpFloOEJU9sNYYEeMtZSGQMVMjxFKlFPgA9Y+auz+FXlBNcrm66gDjtwn2f2zCo=
=1eJZ
-----END PGP SIGNATURE-----

--Sig_/IKCZ=Z845aMdnDmHhuBgMS0--


From MAILER-DAEMON Wed Jul 20 16:17:49 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPxwD-0003z2-Lw
	for mharc-gpsd-dev@gnu.org; Wed, 20 Jul 2016 16:17:49 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58160)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPxwA-0003uB-Ph
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 16:17:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPxw6-0006sX-I1
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 16:17:45 -0400
Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:35111)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bPxw6-0006sR-Ds
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 16:17:42 -0400
Received: by mail-qk0-x22e.google.com with SMTP id s63so56017071qkb.2
	for <gpsd-dev@nongnu.org>; Wed, 20 Jul 2016 13:17:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=reply-to:subject:references:to:cc:from:message-id:date:user-agent
	:mime-version:in-reply-to:content-transfer-encoding;
	bh=sfxEAMf6gvA+5kD950akoIPpTFKlqlkkxaZwcFWvUAY=;
	b=WSgOichTHZYrQiMQERBQ6q2fOh98gbuCcTLAvlRMVOlLNWh3Motqq4D3yShnDN92O8
	0OQblfWVwi2BBy4cpF4x+ipvq/C6T/bnMrE92uKXMzbxX9WnPgKfk30+COSNuJ4JCiPe
	R+v4wtxclsMpXfBfNTXKY+aGm15+Y8Uh4YLK5tLHjiJi1for+vVJD8FrS/Z9qgTWGrQP
	MoM0zSXe159gmPFUIJN8s/Gq7STaVKKFAWYTM+yLxRofHTYtv9fNS2wTz07tigAdTtAB
	n5kD8XzOEsE7/OTerIghaOogXQDhsedUPBejHvxyMZ2+qwvUMJW4pH5S1LGWns7w+yO2
	6JnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:reply-to:subject:references:to:cc:from
	:message-id:date:user-agent:mime-version:in-reply-to
	:content-transfer-encoding;
	bh=sfxEAMf6gvA+5kD950akoIPpTFKlqlkkxaZwcFWvUAY=;
	b=jw1V1BWWOe8lFcGYirmLhLJt+dgLPG46iqUZnouwt3kPIS6trhlEdtDNfMN1V9zPZm
	6HIj1vimUNvN4Nhy8Cep959HZc+qktueoNoDPAnZLRoE2yEjgEk9u7n4KCtqqzTR+937
	Xfo/ldenNLPfCIvBvs0IQN/3EV+N6wWcue9cb4UlT+W8HXZZT806XmcbblSB08UC2HTh
	79qmsN8SA9/Jw/04Q0lUdaZkLgypNRzF0TJbT6IjO7YhWehwg3vWIF1fLSDs4rRLrk2I
	auHcfs01G2tsuVPHBTmdpPMRlm31U3inTT+AiNkIWvNe7h0n6JfkOtxb9Wtc3c7xOd8S
	z8IQ==
X-Gm-Message-State: ALyK8tJf4Rx798rv+cLx9vqKRyfwL/vHxyyzil8pqlMAH7Lslwrwdsezl9Jcci+iDKiLvA==
X-Received: by 10.55.38.197 with SMTP id m66mr62776446qkm.208.1469045861994;
	Wed, 20 Jul 2016 13:17:41 -0700 (PDT)
Received: from [192.168.96.5] (dynamic-acs-24-144-185-158.zoominternet.net.
	[24.144.185.158])
	by smtp.gmail.com with ESMTPSA id u6sm2326790qtu.43.2016.07.20.13.17.41
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 20 Jul 2016 13:17:41 -0700 (PDT)
Reply-To: bellyacres@gmail.com
References: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
	<20160719110818.13b0e305@spidey.rellim.com>
	<7e1b256a-61ec-1481-80c5-449af8e56ca6@gmail.com>
	<20160720101518.62caba39@spidey.rellim.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
From: Mike <bellyacres@gmail.com>
Message-ID: <e1a2ae2e-a568-4b66-4147-defa4e929d06@gmail.com>
Date: Wed, 20 Jul 2016 16:17:41 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160720101518.62caba39@spidey.rellim.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c09::22e
Subject: Re: [gpsd-dev] 
 =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98P?=
 =?utf-8?q?atch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 20:17:48 -0000

On 07/20/2016 01:15 PM, Gary E. Miller wrote:
> Yo Mike!
>
> On Wed, 20 Jul 2016 11:08:11 -0400
> Mike <bellyacres@gmail.com> wrote:
>
>>>> I searched for quite some time looking for a way using something
>>>> other than Windows to configure this module.
>>>> Here is the only real attempt that I found.
>>>>
>>>> _https://github.com/r0ro/skytraq
>>> Someone that cares should roll the few important parts into gpsctl.
>>>
>>> On my list, but not very high up.
>> Probably not surprising I'm rather confused here!  Should gpsctl see
>> that I have a Skytraq device?
> It should.  But I just added Skytraq to git head for next release, and I
> did not get to checking/fixing gpsctl yet.
>
>> /dev/ttyAMA0 identified as a NMEA0183 at 38400 baud.
> Well, when the Skytraq is NMEA mode it takes a while to go from
> NMEA0183 to Skytraq,  That needs to be looked at.
>
>> I see now indication looking through the output that gpsctl even
>> tried to identify a Skytraq device.
> Yeah, and it shoulda worked, but new and untested.  You are on git head,
> right?  You likely are if you saw anything Skytraq related.
>
>> Am I missing something painfully obvious?
> No, the code is likely missing something painfully obvious.  Certainly
> untested, and should be before next release.
>
> gpsctl need to detect Skytraq, set from nmea to binary modes and back, and
> send arbitrary commands.  Then fancy stuff can be added.
>
> RGDS
> GARY
Okay so I haven't totally lost it yet...  Yes, I am on git head, pulled 
and built last night.

If there is something I can test let me know.  I'm back to trying to 
figure out exactly what sets the NMEA delivery to top of second. Trying 
to reset to factory default doesn't appear to be working as documented 
in their manual.

Mike


From MAILER-DAEMON Wed Jul 20 16:25:25 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPy3Z-00070B-Sb
	for mharc-gpsd-dev@gnu.org; Wed, 20 Jul 2016 16:25:25 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60135)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPy3Y-0006yq-0d
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 16:25:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPy3W-0000eI-Ua
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 16:25:23 -0400
Received: from rellim.com ([2001:470:e815::19]:44834 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bPy3W-0000df-MH
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 16:25:22 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6KKPD4x019336
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Wed, 20 Jul 2016 13:25:18 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6KKPD4x019336
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469046319; bh=E1sLte88H8+dZ1X9Tyns8d+wxLkFHrmhRoNQt1bMnAA=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=KOeu4Qq/f5fL686Dxu5z4Weq3fvicx1PqcMwyb85ZCv+m5t/5e9j143IStby/gSXq
	tNH6p8zUtNAuspHQ3gQnecnxuKKgTyMyhsFvzdxoP1MSXwwTPwKj+RYmtFURUAebZG
	VDdAgWP7O0/pMR44woj+gGY74wkSVfhfzRf+3q48=
Date: Wed, 20 Jul 2016 13:25:13 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Mike <bellyacres@gmail.com>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160720132513.060146e2@spidey.rellim.com>
In-Reply-To: <e1a2ae2e-a568-4b66-4147-defa4e929d06@gmail.com>
References: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
	<20160719110818.13b0e305@spidey.rellim.com>
	<7e1b256a-61ec-1481-80c5-449af8e56ca6@gmail.com>
	<20160720101518.62caba39@spidey.rellim.com>
	<e1a2ae2e-a568-4b66-4147-defa4e929d06@gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/OlZUArl5iU.GmcMCVTEpvKD";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Wed, 20 Jul 2016 13:25:19 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98P?=
 =?utf-8?q?atch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 20:25:25 -0000

--Sig_/OlZUArl5iU.GmcMCVTEpvKD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Mike!

On Wed, 20 Jul 2016 16:17:41 -0400
Mike <bellyacres@gmail.com> wrote:

> Okay so I haven't totally lost it yet...  Yes, I am on git head,
> pulled and built last night.

Good, we are on the same page.

> If there is something I can test let me know.

I gotta figure out what to code, then do it, first.

> I'm back to trying to=20
> figure out exactly what sets the NMEA delivery to top of second.

Good plan.  And your venus6 looks to be different than my Venus8.  Maybe.

> Trying to reset to factory default doesn't appear to be working as
> documented in their manual.

Actually, the factory default is NOT to output at the opt of the
second.  I know one of the Windows options will do it, just not sure
which one, at least for my Venus8.

I just bricked one of my Venus8, so I'll hold on that until I hear back
from tech support.  Yes, I was dumb enough to flash the slave firmware
on the master port.  Don't do that...

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/OlZUArl5iU.GmcMCVTEpvKD
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXj94pAAoJEA0O2UlB0XnYzewH/jWWQC3286/RBVKoGcqC+b0K
nnvcgT5AM+7rLasuo5wO0FQ4Fj/HD1t0+qsMqOyX0E944S8u6Yk3xnkO7TOeS7Nz
+rdU192azIKDAmAXBKQwIz5mx93nsCc0WEEBf5uiQjlidko4haDdQ5LrQIrqf8s8
nCLw5MRJQiIZqQfFsge8Nhm/TLZq6i2SM0FT3D2ufuB2tPrU4uiXTooOYEh/frkx
6UCNHDrMnf6v6DUE/5+z4XsZY/Esj7WUz20IW2rrmVbPFB1B4vw4x26doHkyd9aU
FuxFGv5qSWkNHLdYyedFSuMGceY0iDS/vvFWNOZOPO75YgtY029sVGZsZ+/+y2E=
=MTLO
-----END PGP SIGNATURE-----

--Sig_/OlZUArl5iU.GmcMCVTEpvKD--


From MAILER-DAEMON Wed Jul 20 18:23:59 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bPzuJ-000060-QX
	for mharc-gpsd-dev@gnu.org; Wed, 20 Jul 2016 18:23:59 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50414)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bPtt1-0001To-2J
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 11:58:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bPtsx-0007Fe-BJ
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 11:58:14 -0400
Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:35868)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bPtsx-0007F9-3d
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 11:58:11 -0400
Received: by mail-lf0-x235.google.com with SMTP id g62so41470204lfe.3
	for <gpsd-dev@nongnu.org>; Wed, 20 Jul 2016 08:58:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:from:to:subject:message-id:mime-version
	:content-transfer-encoding;
	bh=Fpm0jeKs0SOgA/XqXvFDu7PPIlOGngTiXCp0Vpm9MzU=;
	b=USKd8Ey81xxGRgnk6c4z6aRXtyI9/q/hR3vy61fhMqGoI2Lo0CvdtkskemN2lMeuq7
	PCFgPJq2Rkddnhz0jbnzwzs6pnXe/YCMYn5G7ey8G7+FhbFiC610cN3c4zV6tcZljsdH
	M2N385adu01jFbYLFZUop8K26wuw1bjh76GJQUbFmlqJuM69J2DNuTWy0CnFFbiPKzzo
	v1aznutMTX78UTUwm71EvcSXmcwA+Z9ZVHh5Jy64byU2kXynSpG5rJBq5A+F7Atbyc0h
	uNDtMdwJNgj4tf1VlWgRffKkxK7jhjkSPDIUQZpVYN4BIVLQKJY5b08sH7WjfF+D8P8K
	KYcQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:subject:message-id:mime-version
	:content-transfer-encoding;
	bh=Fpm0jeKs0SOgA/XqXvFDu7PPIlOGngTiXCp0Vpm9MzU=;
	b=HoNISQ4u2N+ODW4hIboXz2WMlu+UdgwfX3E7ct5uhxtQQZ13ZXDKlqLWLupxuYNc+9
	oySZ9i601Kkh7kSv3YbmKvjzp8NxPh4ypRX2+cfQGmsEcIvEfSGOQjAYKrb3ba6bUBe3
	34tg2LjV3nwKiolkvxht3AXpFtGOom3QV2HW/YYjKT9d9C9B82ObgRjqR1/NBS0IjFiP
	kWT2ZJP4rXoq/Nm1H9BweYusqDR8Os4qZ52zuFbOqtWrGVYxP5FpfhvNwqQMX5FtcGH3
	+ifr3w44gdtSDl9mFnqiEwjLK/m/4tEKbBgJtUx7geVOZ2G/Wzx0HHr99L8zPr+9Apc/
	ULxQ==
X-Gm-Message-State: ALyK8tK3fT7F0uZBAgz0X74n8X3+982yy+H2KRYBsjIccYvAEuSV5HyzhpdYfJmk1SnJrw==
X-Received: by 10.25.168.144 with SMTP id r138mr11754783lfe.136.1469030289171; 
	Wed, 20 Jul 2016 08:58:09 -0700 (PDT)
Received: from hopo (85-76-13-25-nat.elisa-mobile.fi. [85.76.13.25])
	by smtp.gmail.com with ESMTPSA id e22sm711593lji.1.2016.07.20.08.58.08
	for <gpsd-dev@nongnu.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 20 Jul 2016 08:58:08 -0700 (PDT)
Date: Wed, 20 Jul 2016 18:58:01 +0300
From: Juha Nurmela <oh5nxo@gmail.com>
To: gpsd-dev@nongnu.org
Message-Id: <20160720185801.62273c7b1a915af64729b2e9@gmail.com>
X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; i386-portbld-freebsd10.1)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2a00:1450:4010:c07::235
X-Mailman-Approved-At: Wed, 20 Jul 2016 18:23:58 -0400
Subject: [gpsd-dev] PQXFI NMEA, what is it?
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 15:58:16 -0000

Hi,
Apologies for abusing the list with a question outside the charter.

Does anyone know what data is in the PQXFI "Qualcomm extended fix information" sentence ?

It comes from a Mini PCI-E card for laptops, mobile network plus GPS. Qualcomm Gobi 2000 based. HP stickers in mine.

Full cycle of NMEA looks like this when the view is really good (without the 2 blank lines, of course)

$GPGSA,A,3,05,07,18,20,21,26,27,29,,,,,1.8,1.0,1.5*3E
$GPGSV,4,1,16,29,33,109,39,07,06,357,36,21,69,189,36,05,27,046,35*7A
$GPGSV,4,2,16,20,46,108,34,26,55,248,33,18,18,167,32,27,15,282,32*75
$GPGSV,4,3,16,04,,,30,31,01,224,21,13,04,075,,15,,,*7A
$GPGSV,4,4,16,09,,,,25,,,,11,,,,17,,,*76
$GPGGA,131021.4,6103.114292,N,02810.455606,E,1,08,1.0,102.3,M,19.0,M,,*5F

$PQXFI,131021.4,6103.114292,N,02810.455606,E,102.3,2.83,2.00,0.03*65

$GPVTG,nan,T,nan,M,0.0,N,0.0,K,A*23
$GPRMC,131021.4,A,6103.114292,N,02810.455606,E,0.0,,200716,,,A*40

First there is time, lat, lon and MSL altitude, then the 3 unknowns. First 2 unknowns vary from about 250 down to about 2, 3rd one varies between about 5 and 0.03. All are bigger when sky is blocked, smaller when view is good. First ones could be uncertainties, in meters, but the 0.03 ? 


Convenient but brittle little gizmo. It want's to see "$GPS_START" and also reacts to "$GPS_STOP" but requires 5 seconds between those commands, or it misbehaves. Also, it must not be accessed until the 3G network is up, or both misbehave. And, if 3G net gets stuck, reconnect won't succeed until GPS device is closed.


Juha


From MAILER-DAEMON Wed Jul 20 18:40:39 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQ0AR-0001BL-1x
	for mharc-gpsd-dev@gnu.org; Wed, 20 Jul 2016 18:40:39 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60049)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQ0AP-0001BD-Hg
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 18:40:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQ0AN-0004bU-Dw
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 18:40:36 -0400
Received: from rellim.com ([2001:470:e815::19]:49011 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQ0AN-0004bD-5R
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 18:40:35 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6KMeRnN031672
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Wed, 20 Jul 2016 15:40:32 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6KMeRnN031672
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469054432; bh=bXVyci1zvqsKjYlXl3ICDe3xB/9P/msXIBIuLJK8Pxo=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=MBdTlTuC8HgF98OcjX3uCsiUajuzuXSu9P11cQEf/wq7eT2JTTazd/UABMJZz5CkZ
	koV6FvK23WTuUnlisaZNpB286jhoPu8CGrzgD+xtJkneaFBRodAEoogkqq8NwtmTwO
	PJX6Jj/5Lif7MGMkS1LVBLrSBsJi0o+Cq2YIA8v4=
Date: Wed, 20 Jul 2016 15:40:27 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Juha Nurmela <oh5nxo@gmail.com>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160720154027.7db43d63@spidey.rellim.com>
In-Reply-To: <20160720185801.62273c7b1a915af64729b2e9@gmail.com>
References: <20160720185801.62273c7b1a915af64729b2e9@gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/p2=wN4hHk268P/r3o=jsHL.";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Wed, 20 Jul 2016 15:40:32 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] PQXFI NMEA, what is it?
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 22:40:38 -0000

--Sig_/p2=wN4hHk268P/r3o=jsHL.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Juha!

On Wed, 20 Jul 2016 18:58:01 +0300
Juha Nurmela <oh5nxo@gmail.com> wrote:

> Does anyone know what data is in the PQXFI "Qualcomm extended fix
> information" sentence ?

Hmm, I can't find anything with Google...

> $PQXFI,131021.4,6103.114292,N,02810.455606,E,102.3,2.83,2.00,0.03*65

> First there is time, lat, lon and MSL altitude, then the 3 unknowns.
> First 2 unknowns vary from about 250 down to about 2, 3rd one varies
> between about 5 and 0.03. All are bigger when sky is blocked, smaller
> when view is good. First ones could be uncertainties, in meters, but
> the 0.03 ?=20

Yeah, either DOPs or Error Estimates.  Have you connected that to gpsd?

gpsd will compute the DOPs and Error Estimates, then you can see
which match.

> Convenient but brittle little gizmo. It want's to see "$GPS_START"
> and also reacts to "$GPS_STOP" but requires 5 seconds between those
> commands, or it misbehaves. Also, it must not be accessed until the
> 3G network is up, or both misbehave. And, if 3G net gets stuck,
> reconnect won't succeed until GPS device is closed.

Ouch...  That one's gonna hurt.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/p2=wN4hHk268P/r3o=jsHL.
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXj/3bAAoJEA0O2UlB0XnY5zQH/iOgKNxqmqRw4WmWNT+u6k4t
MlPsVILgRM53phCgNp8LcfkNYrQT3Rxn5m4OIp6GfsCIxpmi/0iawjMc/NwJApo8
Wldb2Ddb8fiOX3afhsrjfVYdhGn1UlSqhdUVPu0NJlt+mhPvkSREoWFPtl2T/uw+
4AbTyezU5Nyzo6DmOO9mQldbeH0j7L1PkoWfCKvOds02w/Zmiau3Qka2VOosVdnm
cpP+rxy5H1tE9mipaJCqz2UrNxcL3UoJ76lKFmzLNiUxNzlc9ugayNAl7cBFP2T6
Slbduu5U75dr3DzB4tWc0snsXeUTCk5BpaKoXYCMSOaSZn/9axCJp8Y/CwLxr9c=
=iG6i
-----END PGP SIGNATURE-----

--Sig_/p2=wN4hHk268P/r3o=jsHL.--


From MAILER-DAEMON Wed Jul 20 18:51:05 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQ0KX-0002km-D8
	for mharc-gpsd-dev@gnu.org; Wed, 20 Jul 2016 18:51:05 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33216)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1bQ0KV-0002ka-SB
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 18:51:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1bQ0KS-0007Ez-LX
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 18:51:03 -0400
Received: from static-71-162-243-5.phlapa.fios.verizon.net
	([71.162.243.5]:47126 helo=snark.thyrsus.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1bQ0KS-0007Eb-Gq
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 18:51:00 -0400
Received: by snark.thyrsus.com (Postfix, from userid 1000)
	id DEC2B13A60E3; Wed, 20 Jul 2016 18:50:24 -0400 (EDT)
Date: Wed, 20 Jul 2016 18:50:24 -0400
From: "Eric S. Raymond" <esr@thyrsus.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: Juha Nurmela <oh5nxo@gmail.com>, gpsd-dev@nongnu.org
Message-ID: <20160720225024.GA18992@thyrsus.com>
Reply-To: esr@thyrsus.com
References: <20160720185801.62273c7b1a915af64729b2e9@gmail.com>
	<20160720154027.7db43d63@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB"
Content-Disposition: inline
In-Reply-To: <20160720154027.7db43d63@spidey.rellim.com>
Organization: Eric Conspiracy Secret Labs
X-Eric-Conspiracy: There is no conspiracy
User-Agent: Mutt/1.5.23 (2014-03-12)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 71.162.243.5
Subject: Re: [gpsd-dev] PQXFI NMEA, what is it?
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 22:51:05 -0000


--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Gary E. Miller <gem@rellim.com>:
> > First there is time, lat, lon and MSL altitude, then the 3 unknowns.
> > First 2 unknowns vary from about 250 down to about 2, 3rd one varies
> > between about 5 and 0.03. All are bigger when sky is blocked, smaller
> > when view is good. First ones could be uncertainties, in meters, but
> > the 0.03 ?=20
>=20
> Yeah, either DOPs or Error Estimates.  Have you connected that to gpsd?
>=20
> gpsd will compute the DOPs and Error Estimates, then you can see
> which match.

They may not match exactly.  SiRF does some undocumented jiggery-pokery
to deweight satellites that it thinks are likely to add more noise than
signal. Other vendor firmware might pull similar tricks.=20
--=20
		<a href=3D"http://www.catb.org/~esr/">Eric S. Raymond</a>

--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBV5AAMOzIII+MbHONAQJ3qQ//ToJiZoEWJtESTN369QC/+p7sG7FScSt0
o0roKI8+ugufFSnoPe/2Aqj+i1rTQcUNso4GGMSP+rpza3+Qg8Wgr4Lwc4ywIgTc
GXOBHuDgJ7ZOgXEPnHhd9rmBjzJCajcK3HkXec1/SHskUjeLh1/6mih/udnH32i+
eoMR9EM3pyB0pl1cEVnHhA27kiXeeujOAJC9KCxftKzUs430SuIWhY6Wn5+axP3M
4rI9O0fS1HvWSjKsj0YTA7Xp9VWgMDPab0FJ6yuy29ytVdztGyb4IZvjsc48Rb0O
A1B4wRDpjxB7WYkJ1kw0j6ZqnXiIy05l14gd+N3jPUDeF7kFmWQwy+ZmfmjONaeL
oMgEZY66FXMZCd//plJ/n3m/dv27d0HlL+KFL02NVN0izvIeRQdhlIoQHma94Lpj
Ii7IRvRmPuDz4SBhUyVAU84do80vA7okt5AiK6zQNCbVlhapCeyXvm/T3tPBzjVI
TgKlvZySbJvQ1ct25B6ABrdhsAfRBKR2Vgddbruu0ELjUTl0shmJzmafu9ZlbKoF
xVfJJ+5SRbd9JpRYZCl/Ghc74MyadlrPQ+nI/3RaOwu/ioD6rgfSsitXhvYRNesg
97vwRbVYz/UUGYbCFbgL1LWmsIRyXiahxYSkeshM/yFGu4TgwnUhFyS/4ajYYYeV
5XhYPXpvk/U=
=7HT1
-----END PGP SIGNATURE-----

--tThc/1wpZn/ma/RB--


From MAILER-DAEMON Wed Jul 20 19:41:06 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQ16w-0001Mb-Aq
	for mharc-gpsd-dev@gnu.org; Wed, 20 Jul 2016 19:41:06 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52188)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bQ16u-0001MU-Dj
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 19:41:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bQ16o-0003Go-Ha
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 19:41:03 -0400
Received: from snt004-omc2s34.hotmail.com ([65.55.90.109]:51237)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bQ16o-0003Gg-6S
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 19:40:58 -0400
Received: from EUR01-VE1-obe.outbound.protection.outlook.com ([65.55.90.72])
	by SNT004-OMC2S34.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Wed, 20 Jul 2016 16:40:56 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=A1PEGwiCKtkmoPoNsruAZrWpuFpmQiuJneYfOKZxa6w=;
	b=QExENla/5ihF0v3iqmlaihP4d65yJad3QLaDP7O4sXNHNWyZP5sRgrJ/HYABjXbxFlUAABu54nPchFZb12kRvqBivNc4h/EnUFwJgFtS1BJxfE0KKdLAXvHH9EKUTMp4UuLXF6YgC9/Yw00MQwzc/FhnfF9uS3DCy3T3cpX0wx1QLuiOite7tI3ueiR1Z42i5clhapk0In64EvnkNep7qwO5cuFIp2tfARulggg21FK8Au1y9T7EQgvSwLdM2vxOdVeyWqHkJewE3mhyRpQSzI/IguipUYZaynyWtaw4pY6MVnev7zexqK+G8c/ZRUsMsTGeooiDoJcqmV73P3hqWQ==
Received: from VE1EUR01FT012.eop-EUR01.prod.protection.outlook.com
	(10.152.2.56) by VE1EUR01HT131.eop-EUR01.prod.protection.outlook.com
	(10.152.3.113) with Microsoft SMTP Server (TLS) id 15.1.539.16;
	Wed, 20 Jul 2016 23:40:38 +0000
Received: from HE1PR0601MB2169.eurprd06.prod.outlook.com (10.152.2.57) by
	VE1EUR01FT012.mail.protection.outlook.com (10.152.2.210) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.549.5 via Frontend Transport; Wed, 20 Jul 2016 23:40:38 +0000
Received: from HE1PR0601MB2169.eurprd06.prod.outlook.com ([10.168.35.22]) by
	HE1PR0601MB2169.eurprd06.prod.outlook.com ([10.168.35.22]) with mapi id
	15.01.0544.010; Wed, 20 Jul 2016 23:40:37 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: [gpsd-dev] C Client API Issues
Thread-Index: AQHR4gQcc8gAdpKlpUqnqWUfUafdmaAh96W3
Date: Wed, 20 Jul 2016 23:40:36 +0000
Message-ID: <HE1PR0601MB21697CE36A84838EC89F034B8E080@HE1PR0601MB2169.eurprd06.prod.outlook.com>
References: Message from Robert Norris <rw_norris@hotmail.com>   of "Tue, 19
	Jul 2016 20:39:23 -0000."
	<DB6PR0601MB2168C5B58D989212DD6A40448E370@DB6PR0601MB2168.eurprd06.prod.outlook.com>,
	<20160719212546.8F17F406060@ip-64-139-1-69.sjc.megapath.net>
In-Reply-To: <20160719212546.8F17F406060@ip-64-139-1-69.sjc.megapath.net>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=softfail (sender IP is 10.152.2.57)
	smtp.mailfrom=hotmail.com; nongnu.org; dkim=none (message not signed)
	header.d=none; nongnu.org;
	dmarc=fail action=none header.from=hotmail.com; 
received-spf: SoftFail (protection.outlook.com: domain of transitioning
	hotmail.com discourages use of 10.152.2.57 as permitted sender)
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [fRL6qGUGa9khJLmHY9zLfl8k3oww7j1O]
x-eopattributedmessage: 0
x-forefront-antispam-report: CIP:10.152.2.57; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM;
	SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1;
	SRVR:VE1EUR01HT131; H:HE1PR0601MB2169.eurprd06.prod.outlook.com;
	FPR:; SPF:None; LANG:en; 
x-microsoft-exchange-diagnostics: 1; VE1EUR01FT012;
	1:PEkU6a+8l/BlQJO6BBakRwXAYMkubkH52rlf+4r6+ugeWr/qhVSK2Qm+8sAZu77peWfvotOgIUscTwzKlltUAxlU1QaePijB+96j5mOgU+dDQLiohQOOXenFS6jMZlKB/Ruh0WMyI7zAZz3dxdoVaORsZXI0Kxy1j0sD/sDcwJ+yPxtFTSuKY0W0FbNs8Dx0zXfLKgEVjqaF0bOzE4RXWR5lng/D0t0xl+QkTiSSR9WjvuoJ0ZOQIEPd+A+u72gbhiA6DU7ofe8aE4BDZ8/KwHtn1tgP7HXykn+ic4knVkJx/YRdJIJeiGNbxs1maLfukrQLSueuAZxcR78uu1OGDof4EZUyEDUHBQWILRLnVcujiEf1heewxKBI3ffQ06AN7fpBk70wnMptb/QYQ3Bs4uszghRV0mXuxg8Fym80fg8pryzt3TRd9cM+W7PYxje0mMGAwuid0eLKAjGzqGJbXw==
x-ms-office365-filtering-correlation-id: 08219f5d-4a06-41a6-b088-08d3b0f74039
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
	RULEID:(1601124038)(5061506196)(5061507196)(1603103041)(1601125047);
	SRVR:VE1EUR01HT131; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046);
	SRVR:VE1EUR01HT131; BCL:0; PCL:0; RULEID:; SRVR:VE1EUR01HT131; 
x-forefront-prvs: 000947967F
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jul 2016 23:40:36.7572 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT131
X-OriginalArrivalTime: 20 Jul 2016 23:40:56.0929 (UTC)
	FILETIME=[299EF510:01D1E2E0]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.90.109
Subject: Re: [gpsd-dev] C Client API Issues
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2016 23:41:05 -0000



From: Hal Murray <hmurray@megapathdsl.net>
=A0  =20
>rw_norris@hotmail.com said:
>> gps_close() should only be called after a successful gps_open() (which h=
as =3D
>> allocated the data).

>> I don't see a way to prevent this solely within gpsd itself, so probably=
 on=3D
>> ly the documentation should be updated to reflect the recommended usage.=
=20

>gpsd needs a flag so close is a noop if it isn't open.

Wouldn't such a flag would need to go into the gps_data_t structure?
And thus the flag itself would suffer from the same (lack of) initialisatio=
n problem.=20
Otherwise one could use the gps_fd value being greater than zero as such a =
flag.

Other C interfaces tend to have an explicit init function which must be cal=
led before using other functions.





    =


From MAILER-DAEMON Thu Jul 21 04:46:26 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQ9cg-0004Vw-Ad
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 04:46:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40946)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQ9ce-0004Um-88
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 04:46:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQ9ca-0004e5-6r
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 04:46:24 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:63515)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQ9cZ-0004cM-KZ
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 04:46:20 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 57D19406060; 
	Thu, 21 Jul 2016 01:46:09 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Robert Norris <rw_norris@hotmail.com>
cc: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>,
	hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Robert Norris <rw_norris@hotmail.com> of "Wed,
	20 Jul 2016 23:40:36 -0000."
	<HE1PR0601MB21697CE36A84838EC89F034B8E080@HE1PR0601MB2169.eurprd06.prod.outlook.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 21 Jul 2016 01:46:09 -0700
Message-Id: <20160721084609.57D19406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] C Client API Issues
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 08:46:25 -0000


rw_norris@hotmail.com said:
> >gpsd needs a flag so close is a noop if it isn't open.
> Wouldn't such a flag would need to go into the gps_data_t structure? 

I was being sloppy when I said "flag".  I don't care how it's implemented as 
long as duplicate calls to close don't cause any problems.

> Other C interfaces tend to have an explicit init function which
> must be called before using other functions.

Often called via pthread_once if you are using threads.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Thu Jul 21 09:36:38 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQE9W-0006gK-HT
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 09:36:38 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39858)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bQ4AR-00011E-NZ
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 22:56:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bQ4AN-0001Du-Ly
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 22:56:54 -0400
Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:35224)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bQ4AN-0001Dq-Df
	for gpsd-dev@nongnu.org; Wed, 20 Jul 2016 22:56:51 -0400
Received: by mail-lf0-x22f.google.com with SMTP id f93so50771329lfi.2
	for <gpsd-dev@nongnu.org>; Wed, 20 Jul 2016 19:56:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:from:to:subject:message-id:in-reply-to:references:mime-version
	:content-transfer-encoding;
	bh=GvHioy80UorI8pUvS8fSdvuiCGz7ujxPcviegqJJuZ8=;
	b=P08+DYJ3qyc8kjkGg2F3JMHcA4qiQveyxoCzup203NZ6BwzvpRAYtuJSYMkGo4VOAX
	vp7RC9+7nPkKtWrs5Ku5T6fcsBKAtYj/4vpd3NRbVaAyCF6pkBVl9J9H7pICR5mvOYj5
	1ZJKJdJAFvRod06PWEHtZw8MMjgZ8Qy/19eLALqIbMTaERr0F6y+7xKKL809fe5Lfdr6
	QLb027Wm1wsZNkRiOabmXiv1sfxeM+IW0VcDgcFurbMC6xdqY7pXZX4ysJFDIlxdbDII
	I9aAFspXo5Gv+cZTCAQxmfZMrRfTM5aDGx2YQOlk+Vq4Ou5t1iskggsgEZ1jASMp765A
	9zKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-transfer-encoding;
	bh=GvHioy80UorI8pUvS8fSdvuiCGz7ujxPcviegqJJuZ8=;
	b=BNXR+ad2pBGFdRGT85PB65lpM6bZyU++qn8chCRmHGlm0z+dm3OmrXSuZ0bMYywtGR
	obKLO7IJLkFve9ZL/EG2uP/6xlK07aPXwQHf+YHbS8r3NReQNOQrsSVHA5sbnFPrJ6Wx
	gLQFmEcJb1PFRxlUIyGgf2RXJaXwlm/VCQg49TiNY7Auj2rv8qjq5YgeTWCSf5/itHFK
	axEUIyP9gfRHe9FqoKo/Bl+0c4qaZZojj2zUOCYxmAWTsmzPML7lBlRJLrLu9bGs+Pk7
	CO9VCEgNcx31XYd/vSvNsraRYuKriIanZ0PR0cfbN98eAZqGRVvrUSrCph01l11atuyv
	ZMXw==
X-Gm-Message-State: ALyK8tLo7oNoXIRiwveEOMUqCU8CCJOv/hAY9U1tnfytF6tKk8PsxpR1LUDvt18LDOZmag==
X-Received: by 10.25.19.105 with SMTP id j102mr19816044lfi.44.1469069809944;
	Wed, 20 Jul 2016 19:56:49 -0700 (PDT)
Received: from hopo (85-76-13-25-nat.elisa-mobile.fi. [85.76.13.25])
	by smtp.gmail.com with ESMTPSA id
	l70sm1111143lfe.28.2016.07.20.19.56.48 for <gpsd-dev@nongnu.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 20 Jul 2016 19:56:48 -0700 (PDT)
Date: Thu, 21 Jul 2016 05:56:47 +0300
From: Juha Nurmela <oh5nxo@gmail.com>
To: gpsd-dev@nongnu.org
Message-Id: <20160721055647.870af18b1bfd214278e1df89@gmail.com>
In-Reply-To: <20160720154027.7db43d63@spidey.rellim.com>
References: <20160720185801.62273c7b1a915af64729b2e9@gmail.com>
	<20160720154027.7db43d63@spidey.rellim.com>
X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; i386-portbld-freebsd10.1)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2a00:1450:4010:c07::22f
X-Mailman-Approved-At: Thu, 21 Jul 2016 09:36:36 -0400
Subject: Re: [gpsd-dev] PQXFI NMEA, what is it?
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 02:56:56 -0000

On Wed, 20 Jul 2016 15:40:27 -0700 "Gary E. Miller" <gem@rellim.com> wrote:

> Hmm, I can't find anything with Google...

I should have mentioned that Google draws no data. Just some random NMEA logs, user manuals telling you can turn PQXFI and PSTIS on/off with such and such command (but not telling what the sentence means), and more people asking.

> gpsd will compute the DOPs and Error Estimates, then you can see which match.

Ah... I have not noticed the xdop and ydop values until now. Cannot see anything changing in unison with unknowns #1 and #2. I had assumed #3 was GDOP or TDOP, but happened to carry the laptop outside yesterday and to my surprise #3 plummeted to 0.03.


Juha


From MAILER-DAEMON Thu Jul 21 11:28:04 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQFtM-0007UA-Rv
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 11:28:04 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56964)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bQFtK-0007QR-Gi
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 11:28:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bQFtG-0000gz-4U
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 11:28:01 -0400
Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]:36687)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bQFtG-0000gi-0Q
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 11:27:58 -0400
Received: by mail-qk0-x232.google.com with SMTP id x1so76841239qkb.3
	for <gpsd-dev@nongnu.org>; Thu, 21 Jul 2016 08:27:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=reply-to:subject:references:to:cc:from:message-id:date:user-agent
	:mime-version:in-reply-to:content-transfer-encoding;
	bh=dWWk6whiCPrYbdk7uvt/5xcuUA7zZo26Tbp3zqG2Ba8=;
	b=R42OgL3tMSgoI/4tXBeg8wAGOmj0H62HwVdnO1lkp0/XYNQrt46KeMeQHtUjwWUnO7
	XdrM7brNuZMdODnHDwPwJYOCIvy6Ef6m6sRYiHkkI5z8oVCuYdh+UpX58SIe3Xf4CDpf
	1RivDqJZcdN3dD1L+/GrS2RIKbKLiuouaZiMr0nZmqUTiND4DBJj+umRCj7UGyYj8PJM
	Qmqt3OnQc95uV4CmgQtcROXDHUDP4Z46ZRP1xZNV9k4SdpH370AHvF4RSwKXcPVtPj2Q
	7YoQP6aBk0QRosiGqzrdh2O6fmieAdxI1ddknbowigaO44P81REDUQm4N2RRhDlbMfbs
	AY8A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:reply-to:subject:references:to:cc:from
	:message-id:date:user-agent:mime-version:in-reply-to
	:content-transfer-encoding;
	bh=dWWk6whiCPrYbdk7uvt/5xcuUA7zZo26Tbp3zqG2Ba8=;
	b=dAGYzxfeqOrrIp9hjoy+hsP38Y+N3Nbwio5LwmmSm8No8SJNW3pdv+dDZRAmfHcFZK
	hJpkfmYkaERy8M4Mx3faVKzO55Z3vqFMAUFQ+ibppwqOIbsaSLFPBrx8lCzlJuDz1mBr
	mZO74Mz/7OA/JwAJXNtM6wWje9mocw0F6ttBK6DOFL5gskqarBb+1A+lNnPfnSKvFyS+
	HtiY+B7kUm5AueiBYlvl8k4bT/nAZJSnCs8XIfbx47GOeTSs0CK4KNiQhZ25nvspwCBt
	q8+ALlOG8EbYO/NutaWyB+pPMu49xD1HDcUYqOvqRshipA7u+JNhXjb95n3or7cNVywD
	y7yQ==
X-Gm-Message-State: ALyK8tKx8YZsDWeeR1Te8DLOoUGki3AyLUag2IaBl4EA3/ByOdwFMVCLW+bbY8zB9Ulnjw==
X-Received: by 10.55.108.2 with SMTP id h2mr43704629qkc.202.1469114877259;
	Thu, 21 Jul 2016 08:27:57 -0700 (PDT)
Received: from [192.168.96.5] (dynamic-acs-24-144-185-158.zoominternet.net.
	[24.144.185.158]) by smtp.gmail.com with ESMTPSA id
	o84sm4629595qke.38.2016.07.21.08.27.56
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 21 Jul 2016 08:27:56 -0700 (PDT)
Reply-To: bellyacres@gmail.com
References: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
	<20160719110818.13b0e305@spidey.rellim.com>
	<7e1b256a-61ec-1481-80c5-449af8e56ca6@gmail.com>
	<20160720101518.62caba39@spidey.rellim.com>
	<e1a2ae2e-a568-4b66-4147-defa4e929d06@gmail.com>
	<20160720132513.060146e2@spidey.rellim.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
From: Mike <bellyacres@gmail.com>
Message-ID: <2c335537-6551-5ac2-6fb1-b904ba8ca0bc@gmail.com>
Date: Thu, 21 Jul 2016 11:27:56 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160720132513.060146e2@spidey.rellim.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c09::232
Subject: Re: [gpsd-dev] 
 =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98P?=
 =?utf-8?q?atch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 15:28:03 -0000

On 07/20/2016 04:25 PM, Gary E. Miller wrote:
> Yo Mike!
>
> On Wed, 20 Jul 2016 16:17:41 -0400
> Mike <bellyacres@gmail.com> wrote:
>
>> Okay so I haven't totally lost it yet...  Yes, I am on git head,
>> pulled and built last night.
> Good, we are on the same page.
>
>> If there is something I can test let me know.
> I gotta figure out what to code, then do it, first.
>
>> I'm back to trying to
>> figure out exactly what sets the NMEA delivery to top of second.
> Good plan.  And your venus6 looks to be different than my Venus8.  Maybe.
>
>> Trying to reset to factory default doesn't appear to be working as
>> documented in their manual.
> Actually, the factory default is NOT to output at the opt of the
> second.  I know one of the Windows options will do it, just not sure
> which one, at least for my Venus8.
>
> I just bricked one of my Venus8, so I'll hold on that until I hear back
> from tech support.  Yes, I was dumb enough to flash the slave firmware
> on the master port.  Don't do that...
>
> RGDS
> GARY
Okay this is progress...  I believe that I can show multiple ways to 
NMEA delivery.  There probably isn't a need though.  Too many variables 
anyway.

factory reset
send
\xa0\xa1\x00\x02\x04\x01\x05\r\n

recv
\xa0\xa1\x00\x02\x83\x00\x83\r\n
\xa0\xa1\x00\x02\x83\x04\x87\r
\xff\xff$ver,010723,rev,110327\r\n\r\n
$SkyTraq,Venus6\r\n
$Kernel,v1.6.0,00030E1E,16324105,I,16.367667MHz\r\n
$ver,010723,rev,110327\r\n

get pps setting after reset
xa0\xa1\x00\x02\x83\x00\x83\r\n
\xa0\xa1\x00\x02\x83\3f\xbc\r\n
\xa0\xa1\x00\x02\xb6\x00\xb6\r\n

NMEA deliver after reset and getting 3D
$GPGGA,150635.841,4053.2565,N,08231.2121,W,1,04,3.3,34.1,M,-33.9,M,,0000*5F

send
\xa0\xa1\x00\x03\3e\x01\x01>\r\n

recv
\xa0\xa1\x00\x02\x83\x00\x83\r\n
\xa0\xa1\x00\x02\x83\3f\xbc\r\n
\xa0\xa1\x00\x02\xb6\x01\xb7\r\n

NMEA deliver after "enabling" PPS
$GPGGA,151119.000,4053.2081,N,08231.2915,W,1,05,2.2,431.8,M,-33.9,M,,0000*63

I would note that I see 2 ACKS for each command sent.  The first really 
isn't the true ACK though.  Not sure if this is buggy firmware or me not 
reading the docs right.  My understanding is I should only see one ACK 
with the expected payload/checksum, not the rather pseudo one at the 
start of every response.

Anyway as shown sending "3E" enables PPS and the NMEA delivery is now 
right at the top of second.

Mike


From MAILER-DAEMON Thu Jul 21 13:59:07 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQIFX-0007mT-Jd
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 13:59:07 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40027)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQIFV-0007kp-Pw
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 13:59:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQIFR-0003s4-T9
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 13:59:05 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:33028)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQIFR-0003rR-KP
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 13:59:01 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6LHwsPH018154
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Thu, 21 Jul 2016 10:58:54 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6LHwsAB014929
	for <gpsd-dev@nongnu.org>; Thu, 21 Jul 2016 10:58:54 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6LHwsLh014925
	for <gpsd-dev@nongnu.org>; Thu, 21 Jul 2016 10:58:54 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Thu, 21 Jul 2016 10:58:54 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <Pine.LNX.4.58L1X.1607101014270.1605@bolt.sonic.net>
Message-ID: <Pine.LNX.4.58L1X.1607211053010.11809@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1607081048170.25045@bolt.sonic.net>
	<rmik2gtv8qj.fsf@fnord.ir.bbn.com>
	<Pine.LNX.4.58L1X.1607100928580.481@bolt.sonic.net>
	<rmir3b1tpw2.fsf@fnord.ir.bbn.com>
	<Pine.LNX.4.58L1X.1607101014270.1605@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVYxkMK9L68txVdkuAVKHcZR2z6f6DtNN/YjFyQ/4IGtsb9fr7XPIEXTOjpBXYzjBQjVB08EjtrMJqzUQS05CS0X
X-Sonic-ID: C;Sv/3yWxP5hGTpptMTlz00w== M;Djc4ymxP5hGTpptMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Leap Second - end of December
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 17:59:06 -0000


I sent this privately by mistake:

On Sun, 10 Jul 2016, Fred Wright wrote:
> On Sun, 10 Jul 2016, Greg Troxel wrote:
>
> > thanks.  I guess I am misremembering.   I dimly recall some notion that
> > while leap seconds are only june/dec, some of the timecode specs allowed
> > them monthly and thus had to wait for the month.   That might be WWVB.
>
> What's actually supplied in the NAV message is the before and after
> offsets, and the week and day numbers of the change, with the only
> implicit assumption being that it occurs immediately prior to 00:00:00
> UTC.  Thus, it can be updated at pretty much any time, and the more
> warning the better, since it can take up to 12.5 minutes to get the latest
> value after signal acquisition.
>
> Some receivers might screw up if it's updated just before a week rollover.
> If there's a leap second in Jun-2019 we'll get to find out. :-)
>
> Theoretically, it could always broadcast the latest change, even when it's
> in the past.  In practice, they seem to switch to a "no change" version
> some time after it occurs.  That may partly be due to the fact that the
> "old" value is documented as the "current" value, for no terribly good
> reason.

Meahwhile, some time in the last 9 days, the NAV data started advertising
the new leap second.  From SxBlueIII binary data collected in the past
hour:

$Bin94(96): Ionospheric and UTC conversion parameters
  AFCRL Ionosphere alpha params: a0 = 7.450581e-09, a1 = 1.490116e-08, a2 = -5.960464e-08, a3 = -1.192093e-07
  AFCRL Ionosphere beta params: b0 = 9.216000e+04, b1 = 1.310720e+05, b2 = -6.553600e+04, b3 = -5.242880e+05
  UTC conversion params: A0 = 2.793968e-09, A1 = 7.105427e-15 at week/sec 1906/589824 (2016-07-23 19:50:07 UTC)
  Leap seconds: current = 17, future = 18 effective after week/day 1929/7 (at 2016-12-31 23:59:60 UTC)

Fred Wright


From MAILER-DAEMON Thu Jul 21 14:12:08 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQIS8-0004BM-A9
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 14:12:08 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42955)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQIS5-00047l-32
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 14:12:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQIS2-0006Vg-KX
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 14:12:03 -0400
Received: from rellim.com ([2001:470:e815::19]:54297 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQIS2-0006Ro-CJ
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 14:12:02 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6LIBe1M000939
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Thu, 21 Jul 2016 11:11:45 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6LIBe1M000939
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469124705; bh=EUFoI5rOWBiLQPLTzY1+3u+XVca7sL8sLn86gmVDY9c=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=qbrHD0sbmC+w08zWWmDAIGo/RP97jSa2+w/IUQt5PSvh5N4fjI1I4ySAbRvTADhqn
	OysO3HJMbEy4veWENzac8wKrVcFElHnb6jgn4N1hl6/NZXdCAXTapcCsCbcwUY9WNw
	8G2IPS7qsHJm+e4Lf8ufhzx9BLcVIs7wTYCKV2bQ=
Date: Thu, 21 Jul 2016 11:11:40 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Mike <bellyacres@gmail.com>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160721111140.4c93be34@spidey.rellim.com>
In-Reply-To: <2c335537-6551-5ac2-6fb1-b904ba8ca0bc@gmail.com>
References: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
	<20160719110818.13b0e305@spidey.rellim.com>
	<7e1b256a-61ec-1481-80c5-449af8e56ca6@gmail.com>
	<20160720101518.62caba39@spidey.rellim.com>
	<e1a2ae2e-a568-4b66-4147-defa4e929d06@gmail.com>
	<20160720132513.060146e2@spidey.rellim.com>
	<2c335537-6551-5ac2-6fb1-b904ba8ca0bc@gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/SsYzCYQbl.MbRGso1HkyQ1p";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 21 Jul 2016 11:11:45 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98P?=
 =?utf-8?q?atch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 18:12:06 -0000

--Sig_/SsYzCYQbl.MbRGso1HkyQ1p
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Mike!

On Thu, 21 Jul 2016 11:27:56 -0400
Mike <bellyacres@gmail.com> wrote:

> Okay this is progress...  I believe that I can show multiple ways to=20
> NMEA delivery.  There probably isn't a need though.  Too many
> variables anyway.

Yes, progress.

> NMEA deliver after reset and getting 3D
> $GPGGA,150635.841,4053.2565,N,08231.2121,W,1,04,3.3,34.1,M,-33.9,M,,0000*=
5F
[...]
> send
> \xa0\xa1\x00\x03\3e\x01\x01>\r\n =20
[...]
> NMEA deliver after "enabling" PPS
>  $GPGGA,151119.000,4053.2081,N,08231.2915,W,1,05,2.2,431.8,M,-33.9,M,,000=
0*63

Good news and bad news.  Sending the 0x3E sentence fixes the time
offset.  Bad news is that sentence is in Venus 6, but not Venus 8.

I just updated my Venus 8 firmware and no matter what I do the
NMEA time is now always on the top of the second.  So no longer a
problem on Venus 8 with recent firmware.

Can you update your firmware?  Not all Venus has FLASH.

> I would note that I see 2 ACKS for each command sent.  The first
> really isn't the true ACK though.  Not sure if this is buggy firmware
> or me not reading the docs right.  My understanding is I should only
> see one ACK with the expected payload/checksum, not the rather pseudo
> one at the start of every response.

Yes, not as documented.  Send a trace file to SkyTraq, they are real good
at fixing bugs like that.

> Anyway as shown sending "3E" enables PPS and the NMEA delivery is now=20
> right at the top of second.

Two ways to go here.  Improve gpsctl so it can send SkyTraq commands,
like the 3E.  Or improve the SkyTraq driver to always send that
initialization string.  Right now the SkyTraq drivver does no init,
but the gpsd parser allows for a routing to do so.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/SsYzCYQbl.MbRGso1HkyQ1p
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkRBcAAoJEA0O2UlB0XnY904H/RA1RBPZNLdz99LbMsGyKg1t
6tAxscLkJ1tNAsiN8j9KHqBoQ7DDqeYeJGRRSAdh1EFEoBkB5uhuwfN9kF7kTtdX
4l1WeCHLBSDYdepN1kns9PtUqSpbiWMrUT0LeokqBEkNdA+c2kQNuS7tVEfvUfyU
5xFDRKsXk0wmSYDvNGV0++hZ4gC/kBheJT5/hbn8imoxF4Z5LEmTuiWcVF8EQQ+I
f7kP95EVFotlngq7nELlXR9Zzm2m7kQIpTB992OIXgs/d4AtruTHQhbEs/32Ra2P
Z8dHJD3Mfk50rdk7ur/Vbb+1dkGWy04ca0f04BocwkhQFk9UXzWIDqEhj5ieAlk=
=ZPGh
-----END PGP SIGNATURE-----

--Sig_/SsYzCYQbl.MbRGso1HkyQ1p--


From MAILER-DAEMON Thu Jul 21 15:19:55 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQJVj-0005d2-Qr
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 15:19:55 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57407)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bQJVi-0005a6-CG
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:19:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bQJVf-0004Tr-6s
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:19:54 -0400
Received: from col004-omc2s7.hotmail.com ([65.55.34.81]:50406)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bQJVe-0004Tl-RU
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:19:51 -0400
Received: from EUR01-VE1-obe.outbound.protection.outlook.com ([65.55.34.72])
	by COL004-OMC2S7.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Thu, 21 Jul 2016 12:19:49 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=Za+Cc7BLXQlCo54k6+5RbXLoPanNO+PxgXtNvHp77ek=;
	b=mt9SUCo+Eu6v3xWxqzPKnL3qQ3k4/XcXHCv6bbFYXS5PB2EaZx6mg3TSuXB37zhNQr+D1NYKtFjSNWI0/g+njANO/FL5M0V90+XYJzPBaPPLBzyBPFhWxB1VTVWjCKi8lQc2aE91e/MIICqhYOdYIVdCPcLRvQyL/Os/GKWcf00bLNgGYROtwbfpk70Wrrj3blCzhIYSN8JN/M6b0jwIlUuWCpHCzV0Tqn8rpwq5GQdH/V9ixBJMe/SweR8toyGrWE6vcK4+0ZJDg0yM3a/u4UrJz/Ci1DhXubZ3JSa4lsOxKwHzVCqxl/0FWHdxdYUtxoSoHZ6nWRq+wT7yadqoWQ==
Received: from VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com
	(10.152.2.56) by VE1EUR01HT171.eop-EUR01.prod.protection.outlook.com
	(10.152.3.203) with Microsoft SMTP Server (TLS) id 15.1.539.16;
	Thu, 21 Jul 2016 19:19:47 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com (10.152.2.57) by
	VE1EUR01FT046.mail.protection.outlook.com (10.152.3.92) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.549.5 via Frontend Transport; Thu, 21 Jul 2016 19:19:47 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) by
	DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) with mapi id
	15.01.0544.014; Thu, 21 Jul 2016 19:19:45 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: [gpsd-dev] C Client API Issues
Thread-Index: AQHR4yxTc8gAdpKlpUqnqWUfUafdmaAjP/Pt
Date: Thu, 21 Jul 2016 19:19:45 +0000
Message-ID: <DB6PR0601MB21687254710B76DE53D1AEB28E090@DB6PR0601MB2168.eurprd06.prod.outlook.com>
References: Message from Robert Norris <rw_norris@hotmail.com>   of "Wed, 20
	Jul 2016 23:40:36 -0000."
	<HE1PR0601MB21697CE36A84838EC89F034B8E080@HE1PR0601MB2169.eurprd06.prod.outlook.com>,
	<20160721084609.57D19406060@ip-64-139-1-69.sjc.megapath.net>
In-Reply-To: <20160721084609.57D19406060@ip-64-139-1-69.sjc.megapath.net>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=softfail (sender IP is 10.152.2.57)
	smtp.mailfrom=hotmail.com; nongnu.org; dkim=none (message not signed)
	header.d=none; nongnu.org;
	dmarc=fail action=none header.from=hotmail.com; 
received-spf: SoftFail (protection.outlook.com: domain of transitioning
	hotmail.com discourages use of 10.152.2.57 as permitted sender)
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [HLMnAlJZc/CB9dq7z5xwG6Cjtdikg5Vo]
x-eopattributedmessage: 0
x-forefront-antispam-report: CIP:10.152.2.57; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM;
	SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1;
	SRVR:VE1EUR01HT171; H:DB6PR0601MB2168.eurprd06.prod.outlook.com;
	FPR:; SPF:None; LANG:en; 
x-microsoft-exchange-diagnostics: 1; VE1EUR01FT046;
	1:btSlv4+C4Qhug0+b4Bpc5EA7Q5y2sO+B3jgIka1UPxNuFikW55EMH+XjNxajq1x9L60XatJs3m0Dxt/hQg4qgpUORgVWc/b9BaMecmIN2QVnGr2fyWNcWgEUkSxMFmTwtaBRvhE4XeseEHXqcoWs8MeqFGstJSq5ursd+7IRb0ZgqEGt2WaiHxObh8jWGjuIDvECCsg25bIXBf59I+AIZXqC4yPvlG/zLR1OdYWLx8jxa/mMbZhw1iKwdJb5RJZDDJRnrRRQiL8enVJYjBVIZafbhyLtmuxBN9iXvzB1xMK/iyI5hDxmBasaJnSGGYZgkKXHWf/cGy0s6dWEGrGLhzv6UN2Pe1Qj6LFc32ie1OA3MtTs2AbB9xdem3BKDcrlxZEk4TmbdQazBOG9rIDAWSXb3V6chfdOBE0GcvpCB1eE1CyKNh9/qzWOvZlkzeKTgfb2KnzVpQIb9WozZra8Dg==
x-ms-office365-filtering-correlation-id: c6cfdc88-b13d-4ff6-08c1-08d3b19bf98d
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
	RULEID:(1601124038)(5061506196)(5061507196)(1603103041)(1601125047);
	SRVR:VE1EUR01HT171; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046);
	SRVR:VE1EUR01HT171; BCL:0; PCL:0; RULEID:; SRVR:VE1EUR01HT171; 
x-forefront-prvs: 0010D93EFE
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2016 19:19:45.3117 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT171
X-OriginalArrivalTime: 21 Jul 2016 19:19:49.0751 (UTC)
	FILETIME=[D9AB1070:01D1E384]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.34.81
Subject: Re: [gpsd-dev] C Client API Issues
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 19:19:55 -0000


> From: Hal Murray <hmurray@megapathdsl.net>
 =20
>rw_norris@hotmail.com said:
> >gpsd needs a flag so close is a noop if it isn't open.
>> Wouldn't such a flag would need to go into the gps_data_t structure?=20

>I was being sloppy when I said "flag".=A0 I don't care how it's implemente=
d as=20
>long as duplicate calls to close don't cause any problems.

Even though I was on about initialization, currently calling gps_close() tw=
ice will crash the client with a double free.

privdata should be explicitly set to NULL after the free in gps_socket_clos=
e().

There also looks to be issues with gps_shm_* functions too, such as:

gps_shm_open() doesn't set gpsdata->privdata to NULL when attaching to shar=
ed memory fails.

Thus if you tried to then use gps_shm_read() [which you shouldn't do anyway=
] it would probably crash.

gps_shm_close() never checks if gpsdata->privdata is NULL, so again it woul=
d crash the client if used after an unsuccessful open.

It should be easy to make these more robust against API incorrect use.



    =


From MAILER-DAEMON Thu Jul 21 15:21:23 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQJX9-0006oL-2a
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 15:21:23 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57816)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bQJX7-0006n3-KV
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:21:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bQJX3-0004r5-FH
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:21:20 -0400
Received: from mail-qk0-x22b.google.com ([2607:f8b0:400d:c09::22b]:34352)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bellyacres@gmail.com>) id 1bQJX3-0004qy-AO
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:21:17 -0400
Received: by mail-qk0-x22b.google.com with SMTP id o67so82805779qke.1
	for <gpsd-dev@nongnu.org>; Thu, 21 Jul 2016 12:21:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=reply-to:subject:references:to:cc:from:message-id:date:user-agent
	:mime-version:in-reply-to:content-transfer-encoding;
	bh=epnD29XLwrYSvCyyDFwyxZj6S0f5dca1PFf2cIT63aE=;
	b=Ry/d5mLvx1khKhbs3GJfII0H09Rb2ljISpG3cJ1Rw0tPF5jI0A9imsMKZR91lFzZPA
	hvLXGcqKmG6F++wODQvC+89kSOP0EpXqPwQZ4stTyYnKMG2dnlF+WBn+h4sBxpXmLpes
	PhaDLnHAKRrPy2p0ejSV3vSAb2MfZhvTqyYjMECwMm9auGcCBEQXoHl3xO/YIwaEhxos
	O9r3CuZeZHJ0ajUjNlHsxk2aQ5wGGAyXZTgKmAcNhi2PL7A7BJAVZR9QaxxlJ0zLximm
	UhJDETRIwxJ21oxLS7NxJjbyFfynovGv61FfNaSsfqcpoj2IzzjJVVswJcUc1jfXjB+k
	2IWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:reply-to:subject:references:to:cc:from
	:message-id:date:user-agent:mime-version:in-reply-to
	:content-transfer-encoding;
	bh=epnD29XLwrYSvCyyDFwyxZj6S0f5dca1PFf2cIT63aE=;
	b=GryiUS9v1k+k7B9H6P2UD2wGf+fSmR48dF5q2ZGPCfDrKLPxODAspCWv/B83L/fPRk
	Ii15hyBMisp3SqJu18xRijZoVBhouMAxEcfDrWOW8Yybjlga9yfCJVElzSNF6IywkuFJ
	3ZuKMkkHdkI9EqTRW0vDgsXmm39UAor1J9HU2SK2IZqD8qJ8RfS//oiFXcNRLCWVbkAv
	7ecNrSxmv6NRX97oQazoql0u2PNF1MS13VdOR2L/ws5qHrsGrwvHvMA7IoJ8bvvten7T
	0xPinkZ0O8ND6l3cjqM1N3gRlwu0YbRacdtKcdoH3DuqPitBM2bpRMc3j/KreWTTVzY/
	IW1w==
X-Gm-Message-State: AEkoouu+YBomfdqlHoacAxo6EN3HCVLy2g9IoRXywahtpkjopyiJN8C5DjrRlfSJH5GFQw==
X-Received: by 10.55.96.133 with SMTP id u127mr11843235qkb.55.1469128876870;
	Thu, 21 Jul 2016 12:21:16 -0700 (PDT)
Received: from [192.168.96.5] (dynamic-acs-24-144-185-158.zoominternet.net.
	[24.144.185.158]) by smtp.gmail.com with ESMTPSA id
	c15sm5161896qkg.46.2016.07.21.12.21.16
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 21 Jul 2016 12:21:16 -0700 (PDT)
Reply-To: bellyacres@gmail.com
References: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
	<20160719110818.13b0e305@spidey.rellim.com>
	<7e1b256a-61ec-1481-80c5-449af8e56ca6@gmail.com>
	<20160720101518.62caba39@spidey.rellim.com>
	<e1a2ae2e-a568-4b66-4147-defa4e929d06@gmail.com>
	<20160720132513.060146e2@spidey.rellim.com>
	<2c335537-6551-5ac2-6fb1-b904ba8ca0bc@gmail.com>
	<20160721111140.4c93be34@spidey.rellim.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
From: Mike <bellyacres@gmail.com>
Message-ID: <06b34100-70bc-4160-96ac-062467a1a2cf@gmail.com>
Date: Thu, 21 Jul 2016 15:21:15 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160721111140.4c93be34@spidey.rellim.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c09::22b
Subject: Re: [gpsd-dev] 
 =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98P?=
 =?utf-8?q?atch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 19:21:22 -0000

On 07/21/2016 02:11 PM, Gary E. Miller wrote:
> Yo Mike!
>
> On Thu, 21 Jul 2016 11:27:56 -0400
> Mike <bellyacres@gmail.com> wrote:
>
> Can you update your firmware?  Not all Venus has FLASH.
According to the datasheet I have on this, it doesn't have flash 
memory.  Haven't a clue if an update is available or if I could even 
update this thing.
> Yes, not as documented.  Send a trace file to SkyTraq, they are real good
> at fixing bugs like that.
Okay, that removes my question on that one.  I'll try and contact them 
on this and see if it goes anywhere.
>> Anyway as shown sending "3E" enables PPS and the NMEA delivery is now
>> right at the top of second.
> Two ways to go here.  Improve gpsctl so it can send SkyTraq commands,
> like the 3E.  Or improve the SkyTraq driver to always send that
> initialization string.  Right now the SkyTraq drivver does no init,
> but the gpsd parser allows for a routing to do so.
>
> RGDS
> GARY
I question if it's worth the effort.  As you've stated before the 6 is 
getting rather dated.  In all my searching for info on Venus 6 it's 
nearly all related to getting the logging data.  Nearly none related to 
time service.  Once I got over having to deal with sending the binary 
data, it really isn't that hard.  Change the PPS setting, baud rate, and 
I shouldn't have to touch it again.  I really believe that this 
particular device is a corner case that isn't in heavy use.  Perhaps 
there are still enough of the Sparkfun board floating around to make it 
worthwhile.

Thanks for the help with this one!

Mike


From MAILER-DAEMON Thu Jul 21 15:28:39 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQJeB-0002yl-A3
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 15:28:39 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60189)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQJe8-0002wu-2a
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:28:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQJe2-0006YI-S1
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:28:35 -0400
Received: from rellim.com ([2001:470:e815::19]:55173 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQJe2-0006Xb-Gq
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:28:30 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6LJSL65026496
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Thu, 21 Jul 2016 12:28:26 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6LJSL65026496
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469129306; bh=qMUEfPLSV1QQAh1QTPFBQUye2z0lSYsbAOD4xqGp0G0=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=p25JdYBJ4AWdTVmeHIi3p0ry5cYVZKh1cvwGi3j68cIy8kdhXAXozjNDEiZpej0Cq
	VhVzXkZzqfUDOzu4vHooNM2fNANFXj2g+dbVdwGpbLr2b3BogZEBt0Pb2EX2m/vZrs
	My1obgYiWLSDdKmIVtczQ9O/mL6rQ80zZ0lGUem0=
Date: Thu, 21 Jul 2016 12:28:16 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Mike <bellyacres@gmail.com>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160721122816.2241ece6@spidey.rellim.com>
In-Reply-To: <06b34100-70bc-4160-96ac-062467a1a2cf@gmail.com>
References: <8ebf2f8e-ec23-f35f-f983-d816f5290f35@gmail.com>
	<20160719110818.13b0e305@spidey.rellim.com>
	<7e1b256a-61ec-1481-80c5-449af8e56ca6@gmail.com>
	<20160720101518.62caba39@spidey.rellim.com>
	<e1a2ae2e-a568-4b66-4147-defa4e929d06@gmail.com>
	<20160720132513.060146e2@spidey.rellim.com>
	<2c335537-6551-5ac2-6fb1-b904ba8ca0bc@gmail.com>
	<20160721111140.4c93be34@spidey.rellim.com>
	<06b34100-70bc-4160-96ac-062467a1a2cf@gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/2/+WG.QXp/taSmUEYfY4RCR";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 21 Jul 2016 12:28:26 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?Skytraq_Venus_6_config=2C_Was=3A_=E2=9C=98P?=
 =?utf-8?q?atch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 19:28:37 -0000

--Sig_/2/+WG.QXp/taSmUEYfY4RCR
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Mike!

On Thu, 21 Jul 2016 15:21:15 -0400
Mike <bellyacres@gmail.com> wrote:

> > Can you update your firmware?  Not all Venus has FLASH. =20
> According to the datasheet I have on this, it doesn't have flash=20
> memory.  Haven't a clue if an update is available or if I could even=20
> update this thing.

Skytraq has been know to swap out old chips.  So complain to them.

> > Yes, not as documented.  Send a trace file to SkyTraq, they are
> > real good at fixing bugs like that. =20
> Okay, that removes my question on that one.  I'll try and contact
> them on this and see if it goes anywhere.

info@skytraq.com.tw is usually very responsive, considering their
time zone.

> I question if it's worth the effort.  As you've stated before the 6
> is getting rather dated.  In all my searching for info on Venus 6
> it's nearly all related to getting the logging data.  Nearly none
> related to time service.  Once I got over having to deal with sending
> the binary data, it really isn't that hard.  Change the PPS setting,
> baud rate, and I shouldn't have to touch it again.  I really believe
> that this particular device is a corner case that isn't in heavy
> use.  Perhaps there are still enough of the Sparkfun board floating
> around to make it worthwhile.

My list for a long time has had the task to improve gpsctl to send
SkyTraq commands.  This exact one not so much, but others, like speed
setting, base/rover mode, etc. will be valuable even for new chips.


RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/2/+WG.QXp/taSmUEYfY4RCR
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkSJVAAoJEA0O2UlB0XnYjoAIALdfIWIDBl1zJ7tDxbgP+6ah
WhghLNRzJjRD5IOFtuUK31EDkB6FNKFPUlMpfH1KCZItoRSsdQvT8dysbc5B9obg
lDuzdmENRLRJdAU5ygSjeNqNn/sVsPxJtqZx1aDCFcPFlpJk74Nn2B+Xf22nSAAH
vLlo7u+oUIm3j10YQPJ2Y/d2I+ucA8ahFDu/VBqFlKUNIVhT9Ksw+3Od5dnbpyq4
DnuYEKBeo3dtbF5an8Rsy6XDKRBaLgN+4BjSqIJO1ylOzIRhrs6q4nGixLGCu9LM
vBh8t7hIzCDo/gszzX4neR+yXeZBoJ9Rs0WjeGqbYctUlIUQaC2OYVUYN6vW/aE=
=aq+t
-----END PGP SIGNATURE-----

--Sig_/2/+WG.QXp/taSmUEYfY4RCR--


From MAILER-DAEMON Thu Jul 21 15:37:12 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQJmS-0007tL-Kl
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 15:37:12 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34369)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQJlt-0007Ux-Si
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:37:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQJlE-0000B9-Lv
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:36:36 -0400
Received: from rellim.com ([2001:470:e815::19]:54120 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQJlE-0000Ac-66
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 15:35:56 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6LJZldV028898
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Thu, 21 Jul 2016 12:35:52 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6LJZldV028898
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469129753; bh=iTSwOeQbsD3Qm0UrBAq+6IS4Lgq5dlrZJi9ocf2CXVk=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=UD4L7YPmBbepTxg35shfZkoHkZIhK5AY+oQRkAqTi8lvBwj2VecZ0XJfGADzCjV+G
	abW2V6QE3H6M19s5dK4RhR6prR4CV50A85G572v7B4b7s97mfBIq4Hxh51ih1xzOED
	HLmd6vU7K/24YD7wYQnVGzPSRGq5R6WBt1z1Sbys=
Date: Thu, 21 Jul 2016 12:35:47 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Robert Norris <rw_norris@hotmail.com>
Cc: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Message-ID: <20160721123547.4e6ce6a4@spidey.rellim.com>
In-Reply-To: <DB6PR0601MB21687254710B76DE53D1AEB28E090@DB6PR0601MB2168.eurprd06.prod.outlook.com>
References: <rw_norris@hotmail.com>
	<HE1PR0601MB21697CE36A84838EC89F034B8E080@HE1PR0601MB2169.eurprd06.prod.outlook.com>
	<20160721084609.57D19406060@ip-64-139-1-69.sjc.megapath.net>
	<DB6PR0601MB21687254710B76DE53D1AEB28E090@DB6PR0601MB2168.eurprd06.prod.outlook.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/wraaQpEe2KwZU9XnDG+DIl9";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 21 Jul 2016 12:35:53 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] C Client API Issues
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 19:37:11 -0000

--Sig_/wraaQpEe2KwZU9XnDG+DIl9
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo Robert!

Good analysis.  Patches anyone?

On Thu, 21 Jul 2016 19:19:45 +0000
Robert Norris <rw_norris@hotmail.com> wrote:

> > From: Hal Murray <hmurray@megapathdsl.net> =20
>  =20
> >rw_norris@hotmail.com said: =20
> > >gpsd needs a flag so close is a noop if it isn't open.
> >> Wouldn't such a flag would need to go into the gps_data_t
> >> structure?  =20
>=20
> >I was being sloppy when I said "flag".=C2=A0 I don't care how it's
> >implemented as long as duplicate calls to close don't cause any
> >problems. =20
>=20
> Even though I was on about initialization, currently calling
> gps_close() twice will crash the client with a double free.
>=20
> privdata should be explicitly set to NULL after the free in
> gps_socket_close().
>=20
> There also looks to be issues with gps_shm_* functions too, such as:
>=20
> gps_shm_open() doesn't set gpsdata->privdata to NULL when attaching
> to shared memory fails.
>=20
> Thus if you tried to then use gps_shm_read() [which you shouldn't do
> anyway] it would probably crash.
>=20
> gps_shm_close() never checks if gpsdata->privdata is NULL, so again
> it would crash the client if used after an unsuccessful open.
>=20
> It should be easy to make these more robust against API incorrect use.
>=20
>=20
>=20
>    =20
>=20




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/wraaQpEe2KwZU9XnDG+DIl9
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkSQTAAoJEA0O2UlB0XnYcZsH/A0BIikuxANjyQ2OTuXQyuHp
yksxdn74YxFIccUp46lcTs5gNPYaTctN8q2N40kj2Q1H7PyqglsVDZahNNLPcNT0
B6mm0NVrIEVuwjrPYujCBgvoP65j4aOPGKreBmTHV9Vj+cpb5/kq0CplwrE9z9QI
z9kroRXIGkhdG+kO69RsEIx5tR+X7vNY8CGpJBAl9WP8N4Tlbgj+pl59P4g7n442
uOsW8ipTgnH5PQqsBl8UZN8jfvRQXna56rdQyaZvdWctAbrBu0gG5YcGRJ+O/g1s
o6MpCyhPoAEaEVlOZz6e0GX3T5DLa9LrX1xAwvtbOyunpcV2ygm1SnpRgvixZw8=
=HTLu
-----END PGP SIGNATURE-----

--Sig_/wraaQpEe2KwZU9XnDG+DIl9--


From MAILER-DAEMON Thu Jul 21 16:28:15 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQKZr-0001Un-MN
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 16:28:15 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47530)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bQKZp-0001Uc-MH
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 16:28:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bQKZk-0003VM-IO
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 16:28:13 -0400
Received: from col004-omc2s13.hotmail.com ([65.55.34.87]:60342)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bQKZk-0003V7-54
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 16:28:08 -0400
Received: from EUR01-HE1-obe.outbound.protection.outlook.com ([65.55.34.71])
	by COL004-OMC2S13.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Thu, 21 Jul 2016 13:28:07 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=olZHbKWeILpMdwjUaFFCG2zzVafp8tkeh7fHvEyAI4A=;
	b=EOrqzJclgNmxRD5AGC8M0U8F4yo+IGchZ14UNZo+lHbxFqdWFAcZTDGV7+OO1EM8HV1iQ+9CWlvaz/ULkIPixzUpoI0KOoQzAfe9dQ8dzSz49dK7ZXcWMm5BtMq9sd0PliIbQHrBJ9Jg7fKMdX6WR+zsWX2+ZkGBeYjhQ5NYlzQPfeYAUziFuZeV00J2PCLq0Zj0H7qx3J0Ros2nnBXwsbJEvcN0xBQ+u4rawIx5b51CpAlr2qhI7lOHG5O821jS+eelQd9Vr+qnINEoy/24/dFf6qlFznRzYauDEovvst5wf/ksnMuwmdeAaK+reh2j9lBnlb/5GI3uJFG5Weg5mQ==
Received: from HE1EUR01FT037.eop-EUR01.prod.protection.outlook.com
	(10.152.0.55) by HE1EUR01HT037.eop-EUR01.prod.protection.outlook.com
	(10.152.0.240) with Microsoft SMTP Server (TLS) id 15.1.539.16;
	Thu, 21 Jul 2016 20:28:04 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com (10.152.0.53) by
	HE1EUR01FT037.mail.protection.outlook.com (10.152.1.83) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.549.5 via Frontend Transport; Thu, 21 Jul 2016 20:28:04 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) by
	DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) with mapi id
	15.01.0544.014; Thu, 21 Jul 2016 20:28:02 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "Gary E. Miller" <gem@rellim.com>, gpsd dev <gpsd-dev@nongnu.org>
Thread-Topic: =?utf-8?B?W2dwc2QtZGV2XSDinJhQYXRjaCBxdWV1ZSBpcyBlbXB0eT8=?=
Thread-Index: AQHR4Vn0vfPQWmZC3U+UyIfjF8rxwqAjVnSv
Date: Thu, 21 Jul 2016 20:28:02 +0000
Message-ID: <DB6PR0601MB21683083C5DE37BA1FF70CBB8E090@DB6PR0601MB2168.eurprd06.prod.outlook.com>
References: <20160718180712.549821d6@spidey.rellim.com>
In-Reply-To: <20160718180712.549821d6@spidey.rellim.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=softfail (sender IP is 10.152.0.53)
	smtp.mailfrom=hotmail.com; rellim.com; dkim=none (message not signed)
	header.d=none; rellim.com;
	dmarc=fail action=none header.from=hotmail.com; 
received-spf: SoftFail (protection.outlook.com: domain of transitioning
	hotmail.com discourages use of 10.152.0.53 as permitted sender)
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [mUhpRiW6FqS4oYl64MlhrAVqQ1BWBKqy]
x-eopattributedmessage: 0
x-forefront-antispam-report: CIP:10.152.0.53; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM;
	SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1;
	SRVR:HE1EUR01HT037; H:DB6PR0601MB2168.eurprd06.prod.outlook.com;
	FPR:; SPF:None; LANG:en; 
x-microsoft-exchange-diagnostics: 1; HE1EUR01FT037;
	1:HIEvmksDTxcAuG9HlYhDtVkLqzWm0z7EEZVMgF3EoAO9awdUemZCb6ZE42PCjws89xKu4URpm/qiJZzo212S4jlLUJkpAXHYCQvYS3nrhObx3RQkeFTBnXJ3oZr5TvUYujXp2kOjI0w8h5mWmKIf1QLv0uDYX/6hS/N4PoerFR5XCo39nSN1QunFUL+oNrrrX+MfaPqYffkSO7SCghy61JOv1IspUwLjF5gLnnEtO/cFW5JcpmycMAP0f8A3KtqWNGFrqMb4vA3wGj/6UcFdiqptWKs+AQlsO2CMSY2ZQI+UXa62U9JWw5Vip7NQiLoiecp+V7H3qtO6a1NAvQQjEVbmVaGH3xxjf4fzswO4nYPUInKfIwIZaw6IDSEBVs8ZBPr2cotY613+8F06vkwLx+Q7OmBmEHXQfkTyTO5Rby6ZKOgQRCg2l79+8mnjR0yBXAQsn+3oD2O6lad2snHmNQ==
x-ms-office365-filtering-correlation-id: c7f26592-581d-4a75-1a9f-08d3b1a583cf
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
	RULEID:(1601124038)(5061506196)(5061507196)(1603103041)(1601125047);
	SRVR:HE1EUR01HT037; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046);
	SRVR:HE1EUR01HT037; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR01HT037; 
x-forefront-prvs: 0010D93EFE
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2016 20:28:02.7179 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT037
X-OriginalArrivalTime: 21 Jul 2016 20:28:07.0227 (UTC)
	FILETIME=[63F448B0:01D1E38E]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.34.87
Subject: Re: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?sub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ndCBo
YXZlIHRpbWUgdGhpcyB3ZWVrLCBob3BlZnVsbHkgbmV4dCB3ZWVrLg0KDQpZb3VycywgUm9iLg==


From MAILER-DAEMON Thu Jul 21 16:36:15 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQKha-0003c5-UQ
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 16:36:14 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48863)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQKhY-0003bw-Uo
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 16:36:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQKhX-0005Ie-VJ
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 16:36:12 -0400
Received: from rellim.com ([2001:470:e815::19]:39856 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQKhX-0005Hj-Me
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 16:36:11 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6LKa3Oi006537
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Thu, 21 Jul 2016 13:36:08 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6LKa3Oi006537
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469133368; bh=dbZT7qKOXswabAt1s+yYwbrSGldeug6nZV316GSJxi0=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=WrrSKkXtbQ73/gzJrJ52O7yhDY9y8LdSoTGCbfxNL+vVS5zX0N1g8jJ0v/TvqMZdt
	dEbYRkfu0jgoLJS7dtjy+kefoprT+EJCTD77Chmsxt5OqtrbfQzh7507sVmtOBrHfh
	3mmGwZz0dfQKuS5ncE//3zXTM5nlI1JA7FAO73oI=
Date: Thu, 21 Jul 2016 13:36:02 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Robert Norris <rw_norris@hotmail.com>
Cc: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160721133602.551982e1@spidey.rellim.com>
In-Reply-To: <DB6PR0601MB21683083C5DE37BA1FF70CBB8E090@DB6PR0601MB2168.eurprd06.prod.outlook.com>
References: <20160718180712.549821d6@spidey.rellim.com>
	<DB6PR0601MB21683083C5DE37BA1FF70CBB8E090@DB6PR0601MB2168.eurprd06.prod.outlook.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/eZ859X34O.vXsliLAgvhMk7";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 21 Jul 2016 13:36:08 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?q?=E2=9C=98Patch_queue_is_empty=3F?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 20:36:13 -0000

--Sig_/eZ859X34O.vXsliLAgvhMk7
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Robert!

On Thu, 21 Jul 2016 20:28:02 +0000
Robert Norris <rw_norris@hotmail.com> wrote:

> I'd like it get in the support for Windows clients.

That would be nice. With luck someone else cares too.

> I have updated my original patch set with a correction to the mask
> set (but yet to re send them to this list).

When you are ready, please do.
=20
> I will also do patches for API issues I raised.

That would be great.

> However I don't have time this week, hopefully next week.

xda-devlopers has a major site rule:=20
    never ask for a date from a volunteer

Violating that will incur much rath.

Ditto here, we're happy to get what we get.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/eZ859X34O.vXsliLAgvhMk7
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkTIzAAoJEA0O2UlB0XnYBCUH/jxaukZX454rFSPCQJMdW7S4
52Ff8rj+x+3Xt47L9TnrRTLL+FVy9hQhHH5NvhJrs3UiUuVYaD0dBTbalCf1bSnu
FFDdq42OpUmsG4gHHxMUrDWFN6FOSzlhHVvkm4EbhUqmUU0Q35uOv5ttpGM21CcX
lHGiKuK1hEwI8FSuRZEpBNYC9QeAxPq7r6bizvm16UcYBtjJCQeduZHzVsY19huT
TL0nEHELg+7W6mRr4NuZwhBH5bW+gH4kUmdE6YdAlRBkEqIcACVSa0ZS8JpCFr3x
sekd2CMRIdQYZ58C6M8SWtXeOj/FIMARdXr2dZPgCTO3lHg8shuL/Weh5AiMTMQ=
=kC5D
-----END PGP SIGNATURE-----

--Sig_/eZ859X34O.vXsliLAgvhMk7--


From MAILER-DAEMON Thu Jul 21 19:41:43 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQNb5-0004ko-Pe
	for mharc-gpsd-dev@gnu.org; Thu, 21 Jul 2016 19:41:43 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33436)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQNb3-0004kY-4R
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 19:41:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQNb1-0003pv-4n
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 19:41:40 -0400
Received: from rellim.com ([2001:470:e815::19]:42031 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQNb0-0003pd-MD
	for gpsd-dev@nongnu.org; Thu, 21 Jul 2016 19:41:39 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6LNfTZf027021
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
	for <gpsd-dev@nongnu.org>; Thu, 21 Jul 2016 16:41:36 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6LNfTZf027021
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469144496; bh=iPDUKh3PpKjClqjIULe5mkmOAc9efRDNZljMMMQC1Q8=;
	h=Date:From:To:Subject;
	b=WbcKUyZKu0mMC1gbrY/eQT+sTbY7GRUI+pJWmAmUhBkvG9dZUH4gUjwW2yDVRI9P5
	blHMj1+fMja+5unkowPRxfQeXjl0oWsFHhtj69p1bAuQf/i2fjZNdxRX3db9T37tZo
	lgNjfHPYqqu4lOhqKTsEjxwi6/W2OD6f7wovomEY=
Date: Thu, 21 Jul 2016 16:41:18 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160721164118.31d8357c@spidey.rellim.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/L5XTN4mGoIniOspzYUeUGIT";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 21 Jul 2016 16:41:36 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: [gpsd-dev] =?utf-8?q?=E2=9C=98SkyTraq_centi-meter_accuracy_Base/R?=
 =?utf-8?q?over_mode?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 23:41:42 -0000

--Sig_/L5XTN4mGoIniOspzYUeUGIT
Content-Type: multipart/mixed; boundary="MP_/m6Csx5LmfyAFHiFpA2MlOMx"

--MP_/m6Csx5LmfyAFHiFpA2MlOMx
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Yo All!

The newest SkyTrak NS-HP firmware finally delivers on centi-meter
level precision in base/rover mode!

So good it confounds gpsprof.  %.7f is not good enough any more.
Looks like I have patches to do...

See attached.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--MP_/m6Csx5LmfyAFHiFpA2MlOMx
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=sky-rover.png

iVBORw0KGgoAAAANSUhEUgAAAyAAAAJYCAMAAACtqHJCAAABPlBMVEX///8AAACgoKD/AAAAwAAA
gP/AAP8A7u7AQADIyABBaeH/wCAAgEDAgP8wYICLAABAgAD/gP9//9SlKir//wBA4NAAAAAaGhoz
MzNNTU1mZmZ/f3+ZmZmzs7PAwMDMzMzl5eX////wMjKQ7pCt2ObwVfDg///u3YL/tsGv7u7/1wAA
/wAAZAAA/38iiyIui1cAAP8AAIsZGXAAAIAAAM2HzusA////AP8AztH/FJP/f1DwgID/RQD6gHLp
lnrw5oy9t2u4hgv19dyggCD/pQDugu6UANPdoN2QUEBVay+AFACAFBSAQBSAQICAYMCAYP+AgAD/
gED/oED/oGD/oHD/wMD//4D//8DNt57w//Cgts3B/8HNwLB8/0Cg/yC+vr6/v79fX1/f39+fn58f
Hx8/Pz9vb283NzfmnwDw5EKwrfXkAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO2dCbar
IJdGda36R+F8ahwCWlVv/hMoacUmCSAmJHfvtd67xgaJ4ZP2nNN1AAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFCDMeLTeQFo
jj7i03kBaA7pGfrp03kBaBU1TerTeQBolHHuh0/nAaBRpOiF/HQmABpl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Ft6FjSsbLTXp9wK5w3r2fKnJViDBaNhYL+9M
jJkHgWbAehbgCVjPAjwD61kAAAAAAACAN5BqchsC4AbbW0xu4fdJNrkNAXC97S0mt/D7pJvchgC4
frUgJrfw+ySb3LrFH/1BIJjcwu+SbnLrS7IMtreY3MLPk2FyGwLgettbTG7h58kwuY0D4MYhpjC5
hR8mw+Q2CoC7VhcNmdz+Xx7Fjwz+Epkmt2HVoouaiMkt/DbpJrdq7GzpDLa3HSa38POkmtyGALir
7S0mt/AHSDW5DQFwV9tbTG4BOkxuAZ6CyS3AMzC5BQAAAAAAAHgD2Sa3YaPE5LYTbupeJxKiHr4e
AwD4DPkmt36jxOR2nGYrEDGp0S9zGfoXAsHkFj5Fgcmt3ygxuVXKXi5NpWJ3y168EAgmt/Ap8k1u
w0aBya0mWmBvBTIPYZoFk1toiwKT22gj2+RWs97R1l7LZatAMLmFpigxuQ0b+Sa3IR17O+UOrQLB
5BaaosTkdmt7m2Vyq/ECkeMQaocgEExuoS1KTG5j29s8k9vdHXVHRldAjwSSZ3L7L4+ChwV/j1KT
W7eRaXKrsQKR9syls2EZ1jthcgvtUGByGza6fJPbzglkDGNimsH3YzC5hdbINrldNwpMbuU49oO9
g54odANg500sTG6hBbJNbteNfJPb2fckpIiWmjwQCCa38B1gcgvwBExuAZ6ByS0AAAAAAAAAAAAA
AABE/D/KmCBB96gr+wAAAABJRU5ErkJggg==

--MP_/m6Csx5LmfyAFHiFpA2MlOMx--

--Sig_/L5XTN4mGoIniOspzYUeUGIT
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkV2jAAoJEA0O2UlB0XnYaSwIAI2jDmDHp81WPfhuNZX0jd/8
Wr6JrOh7kJGunVcQWIewqwxhxX+JcYrHF5CeUyxByIk59/zCDeCa2QqrMRPTP8dJ
qZZMx42VoRwcEkfP9dxp99sjinEWJ9035RlqhcDnzp8ddZj0R8//CNO2txOSDIPD
5g2CKV97xxkyTUQv/mvknyDxWLv5DMVQa88Eu7fp/BnVa6Ib1AQi1kevdvrWj+uG
bpT6VsWyKP6ob4xpeBiBhqSIy60itow+Qvg51/GXEpdOuezfA9aYugsAzanWJrmZ
j/hjYmDTMBj6Fc/tqfAkQENUW1szL9u/HA254qQuPO65I0hxqVXIwh+G+cK7sus=
=hsve
-----END PGP SIGNATURE-----

--Sig_/L5XTN4mGoIniOspzYUeUGIT--


From MAILER-DAEMON Fri Jul 22 05:18:26 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQWbC-0002qD-QP
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 05:18:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38826)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQWb9-0002ps-KG
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 05:18:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQWb5-0005dK-Fs
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 05:18:22 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:62483)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQWb3-0005c0-Tx
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 05:18:19 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id D5EB9406060; 
	Fri, 22 Jul 2016 02:18:07 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 22 Jul 2016 02:18:07 -0700
Message-Id: <20160722091807.D5EB9406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 09:18:24 -0000


gcc -o bits.o -c -Wmissing-prototypes -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wstrict-prototypes -Wpointer-arith -Wreturn-type -pthread 
-Wmissing-declarations -O2 -pthread -DHAVE_SYS_TIMEPPS_H=1 bits.c
bits.c: In function 'ubits':
bits.c:40:19: warning: left shift of negative value [-Wshift-negative-value]
     fld &= ~(-1LL << width);
                   ^~
bits.c: In function 'sbits':
bits.c:71:15: warning: left shift of negative value [-Wshift-negative-value]
  fld |= (-1LL << (width - 1));
               ^~



I'm not seeing this one now, but the source hasn't changed.
Looks like the if/else needs to be indented.
Maybe a tab/space mixup.

Ah...  It comes from scons install when run as root.

gcc -o gpsd_json.o -c -Wmissing-prototypes -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wstrict-prototypes -Wpointer-arith -Wreturn-type -pthread 
-Wmissing-declarations -O2 -pthread -DHAVE_SYS_TIMEPPS_H=1 gpsd_json.c
gpsd_json.c: In function 'json_aivdm_dump':
gpsd_json.c:1996:13: warning: this 'else' clause does not guard... 
[-Wmisleading-indentation]
             else
             ^~~~
gpsd_json.c:2004:3: note: ...this statement, but the latter is misleadingly 
indented as if it is guarded by the 'else'
   break;
   ^~~~~


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Fri Jul 22 14:06:44 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQeqS-0000Xx-Mr
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 14:06:44 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45654)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQeqQ-0000Xh-6O
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 14:06:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQeqO-0004iB-2k
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 14:06:41 -0400
Received: from rellim.com ([2001:470:e815::19]:38270 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQeqN-0004i1-Pd
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 14:06:39 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6MI6RdR015189
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 11:06:32 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6MI6RdR015189
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469210792; bh=ImXETsYkJ7bdiUQPNms3FFOYG6BmKI3sAh3b6WF6rmA=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=mYnbGWLtN0Me5n8WHwREw6EijqBHMlrOXJ4PT0PpchpZ9K9weIIETFQY2X1CDnW6d
	Cm1bM9vWRb4bZcwIF5J1gTIkRQnVnKnC/1CSUa7slWAjG0/aTzappPaaxQLHon4h9i
	VciL0Wk4OJcWGtRlfwJt3/CHk69cQPDFjILLhmyw=
Date: Fri, 22 Jul 2016 11:06:26 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160722110626.4fe78fc5@spidey.rellim.com>
In-Reply-To: <20160722091807.D5EB9406060@ip-64-139-1-69.sjc.megapath.net>
References: <20160722091807.D5EB9406060@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/qfqaU0TPOEW3DTqzUEcrNy1";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 11:06:32 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 18:06:43 -0000

--Sig_/qfqaU0TPOEW3DTqzUEcrNy1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

Got an idea for a patch?

On Fri, 22 Jul 2016 02:18:07 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> gcc -o bits.o -c -Wmissing-prototypes -Wextra -Wall
> -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align
> -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
> -Wreturn-type -pthread -Wmissing-declarations -O2 -pthread
> -DHAVE_SYS_TIMEPPS_H=3D1 bits.c bits.c: In function 'ubits':
> bits.c:40:19: warning: left shift of negative value
> [-Wshift-negative-value] fld &=3D ~(-1LL << width);
>                    ^~
> bits.c: In function 'sbits':
> bits.c:71:15: warning: left shift of negative value
> [-Wshift-negative-value] fld |=3D (-1LL << (width - 1));
>                ^~
>=20
>=20
>=20
> I'm not seeing this one now, but the source hasn't changed.
> Looks like the if/else needs to be indented.
> Maybe a tab/space mixup.
>=20
> Ah...  It comes from scons install when run as root.
>=20
> gcc -o gpsd_json.o -c -Wmissing-prototypes -Wextra -Wall
> -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align
> -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
> -Wreturn-type -pthread -Wmissing-declarations -O2 -pthread
> -DHAVE_SYS_TIMEPPS_H=3D1 gpsd_json.c gpsd_json.c: In function
> 'json_aivdm_dump': gpsd_json.c:1996:13: warning: this 'else' clause
> does not guard... [-Wmisleading-indentation]
>              else
>              ^~~~
> gpsd_json.c:2004:3: note: ...this statement, but the latter is
> misleadingly indented as if it is guarded by the 'else'
>    break;
>    ^~~~~
>=20
>=20




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/qfqaU0TPOEW3DTqzUEcrNy1
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkmCjAAoJEA0O2UlB0XnYpSsH/Ai/jtOFPy2Kbw3wLutsu/l5
KURxODrIsfL5h7esJuC9uA4zlidzDAM36F1rhrM4GMUSgJg2lyyK8Nhb+j/YKITw
bqbC0PBT1jBCJQrnbBI6B0ssUpLdCncLlHzpqto/4MA1ENWFiQQQCtqOSmzyaFWZ
Iezj9Dy887k4TjBv8UpaGRDRKGYn49NHyBVerLvsCbCozOS/pJGKlMnCAVef44wR
5/XZ/R7fxflM3p+emoOHj2ZuH1pjFmP71OZQ5oeDynzJs2z2Jh0rUKlXhWn81ojw
SAL0tVwPq4CvEJ3Voswv4dhdZi6O694zQ+p2kooJIzQ6iyz26eLesIxiBzVRy0w=
=c3lx
-----END PGP SIGNATURE-----

--Sig_/qfqaU0TPOEW3DTqzUEcrNy1--


From MAILER-DAEMON Fri Jul 22 15:39:52 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQgIa-0003NX-8I
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 15:39:52 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33410)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQgIY-0003N2-7h
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 15:39:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQgIV-00067U-4E
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 15:39:50 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:65133)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQgIU-00067J-Sd
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 15:39:47 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 5A13F406060; 
	Fri, 22 Jul 2016 12:39:45 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>, gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Fri,
	22 Jul 2016 11:06:26 PDT." <20160722110626.4fe78fc5@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 22 Jul 2016 12:39:45 -0700
Message-Id: <20160722193945.5A13F406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 19:39:51 -0000

> Got an idea for a patch?

Nope.

I don't understand the left shift stuff.  I'm surprised you haven't seen it 
and fixed it.

Fixing the indent warning is above my pay grade.  The code is clearly bogus 
on my screen.  It has a mix of tabs and spaces.  It really needs attention 
from somebody like Eric who can issue an edict and/or run a program that will 
clean up the current code base.  It would be good to run a cleanup/check 
program as part of the release procedure.

--------

There is another mess in this area.  Why is scons rebuilding a lot of stuff 
when I install?

My work flow is to do a git pull on one machine then rsync the bits without 
the git overhead to various other systems.  At one point, I thought scons was 
rebuilding stuff to get the current version that it couldn't get from git.  
But it looks like it's rebuilding a lot more than that.  Mumble.  I haven't 
looked carefully recently.

Am I being unreasonable when I expect scons install to not rebuild anything 
if I have already done a build and check?


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Fri Jul 22 16:04:38 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQggY-0004uI-Sq
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 16:04:38 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40974)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQggW-0004tj-Ii
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:04:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQggU-0004DY-Ez
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:04:35 -0400
Received: from rellim.com ([2001:470:e815::19]:50094 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQggT-0004BY-VI
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:04:34 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6MK4Dwo001076
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 13:04:19 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6MK4Dwo001076
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469217859; bh=F0VrOfokzEEjWbBhr+xLfww0MoNhIUScKc3M9QXsBgo=;
	h=Date:From:To:Subject;
	b=P65S1sPgIBmnUkqLGJP9nLskLdlfi/RzYksuyIJ4iC6glJ0H5fgwr7/nJdjiN/Xy+
	4A4yWUGIgVqn1Syd8OtngFRXWf+6IqlEGBlz4muetGbw6Mgn1TZgWrjeIih5/59y2D
	cTzbdHjYwZKfaaTAU0Fa8vd+vVbNtHWSH4OwRJ0M=
Date: Fri, 22 Jul 2016 13:04:13 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160722130413.76a2e46d@spidey.rellim.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/37YVnv9s=Wi/L.mmJ=Zeuq1";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 13:04:19 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: [gpsd-dev] =?utf-8?b?4pyYQ0VQKDUwKSAwLjI4NSBtZXRlcnM=?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 20:04:37 -0000

--Sig_/37YVnv9s=Wi/L.mmJ=Zeuq1
Content-Type: multipart/mixed; boundary="MP_/q=_RMM7pLT4aszHTS8t9e=A"

--MP_/q=_RMM7pLT4aszHTS8t9e=A
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Yo All!

After some patching I think the numbers on the SkyTraq base/rover mode
are looking better.  More work to do, but see attached, 8 hours of GPS
data.  CEP(50) of 0.285 meters, CEP(90) of 3.630 meters and CEP(99) of
3.484.

That is why I always want the CEP(99).  I would not want to bet anything
important on just those 50% odds.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--MP_/q=_RMM7pLT4aszHTS8t9e=A
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=sky-rover.png

iVBORw0KGgoAAAANSUhEUgAAAyAAAAJYCAMAAACtqHJCAAABQVBMVEX///8AAACgoKD/AAAAwAAA
gP/AAP8A7u7AQADIyABBaeH/wCAAgEDAgP8wYICLAABAgAD/gP9//9SlKir//wBA4NAAAAAaGhoz
MzNNTU1mZmZ/f3+ZmZmzs7PAwMDMzMzl5eX////wMjKQ7pCt2ObwVfDg///u3YL/tsGv7u7/1wAA
/wAAZAAA/38iiyIui1cAAP8AAIsZGXAAAIAAAM2HzusA////AP8AztH/FJP/f1DwgID/RQD6gHLp
lnrw5oy9t2u4hgv19dyggCD/pQDugu6UANPdoN2QUEBVay+AFACAFBSAQBSAQICAYMCAYP+AgAD/
gED/oED/oGD/oHD/wMD//4D//8DNt57w//Cgts3B/8HNwLB8/0Cg/yC+vr6/v79fX1/f398fHx8/
Pz+fn5+np6dTU1M3NzfmnwDw5EKa5RjcAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO29
CbasKhOtq2M8W2F//nZY3vvO7n8DrtRBoYKCYq75jXP2yrRA02RmRAABTQMAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gT93M799nfd/q58y9j2/O+wiD0SecDUCibnfPVi
lPvblZbZNPPsXtHeajY7122apeWFTO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Qc61GRHIEi5Bd8AKbcAHICUWwCOQMotAAAAAAAAAAAAAAAAAAAAIPw/vAWNfY/+tnIAAAAASUVO
RK5CYII=

--MP_/q=_RMM7pLT4aszHTS8t9e=A--

--Sig_/37YVnv9s=Wi/L.mmJ=Zeuq1
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXknw9AAoJEA0O2UlB0XnYE8oIAKnLtOZNavA8656Jv+rC97Yn
/x18WYzb7fjCjXSTaw1u+OZjDLMtQL/wuMPccTVFrg5pk3keHZTygI0TFJ1SJRRR
pGlqjCsYG8ABzwPj1uJiZpx0aEMESWc8pgYIqgCZJpcX+Fo7sM8bujJxARXugnce
uFCLEZWHkCzS19GJaaxuPZ1Ax1rA4vDdoU97IQrwhSVMyuoVLVk1ecQROUa3RidQ
ooO5VH3Xn8JeEbkj8rALv2FGFgJ0taOp3Jz9/FX7brBDiWLh8nqXTfvCrcQWmYch
pKRaOeRW0Qzh0PW/BE05BBw+XmRDdSYBl/plfpHGMhIVOC9A4CwoFntykCI7OLw=
=elIW
-----END PGP SIGNATURE-----

--Sig_/37YVnv9s=Wi/L.mmJ=Zeuq1--


From MAILER-DAEMON Fri Jul 22 16:21:11 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQgwZ-0008IE-JT
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 16:21:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44336)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQgwX-0008GL-9d
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:21:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQgwS-0007o2-UJ
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:21:08 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:49960)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQgwS-0007nX-NJ
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:21:04 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 22268406060; 
	Fri, 22 Jul 2016 13:21:03 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>, gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Fri, 22 Jul 2016 13:21:03 -0700
Message-Id: <20160722202103.22268406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] =?iso-8859-1?Q?=E2=9C=98CEP?=(50) 0.285
 metersMime-Version: 1.0
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 20:21:10 -0000

Neat.  Thanks.

There are two tails/trails wandering out of the circles.  One to the NW a=
nd=20
one to the NE.  There is also an interesting track in the SW.

Can you see any pattern associated with them?  Did they start or end when=
 a=20
satellite was added or dropped?

Can you plot things using color to show the number of satellites?  Or som=
e=20
quality indication?

------

What hardware was that?  Where did you get it?


--=20
These are my opinions.  I hate spam.





From MAILER-DAEMON Fri Jul 22 16:33:18 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQh8H-0002Ir-UZ
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 16:33:17 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46303)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQh8F-0002If-Oh
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:33:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQh8E-0001yH-LE
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:33:15 -0400
Received: from rellim.com ([2001:470:e815::19]:53705 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQh8E-0001xe-Aj
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:33:14 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6MKX28c011354
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 13:33:08 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6MKX28c011354
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469219588; bh=RZ6nlYxKHTfzpZRErHSWfYQfPjh5R91wpqNCRuVuNPY=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=JBqVGt9UGFQhp5a4Lm7QF8/5ohItqngS6Qygv2AyQdSMTqooYmGHgSVSgC0b607rX
	yp5tHg3J0/zjKnrfNVXpQW6VUBW4GA6uo7efnqqE40oUBpvWJkysNR24sksBSB3qgm
	rGTRCmR+/Vxpw6lzJhuxKDovS2APPov8TM3S14UE=
Date: Fri, 22 Jul 2016 13:32:52 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160722133252.0d5ca225@spidey.rellim.com>
In-Reply-To: <20160722193945.5A13F406060@ip-64-139-1-69.sjc.megapath.net>
References: <20160722110626.4fe78fc5@spidey.rellim.com>
	<20160722193945.5A13F406060@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/tf65ZXx1QNMUb53pFanpy5=";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 13:33:08 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 20:33:16 -0000

--Sig_/tf65ZXx1QNMUb53pFanpy5=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Fri, 22 Jul 2016 12:39:45 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> I don't understand the left shift stuff.  I'm surprised you haven't
> seen it and fixed it.

The only 32 bit I have is the Gentoo RasPi.  gcc version 4.9.3.  Zero
warnings, zero errors.  I can't fix what I don't see.

> Fixing the indent warning is above my pay grade.

I can look at that.  Once again, I don't know how to see it.

> There is another mess in this area.  Why is scons rebuilding a lot of
> stuff when I install?

I never trust scons.  I hardly trust any build system.  So I pretty
much always rebuild from scratch unless I am debugging a single file.

> My work flow is to do a git pull on one machine then rsync the bits
> without the git overhead to various other systems.

You can setup a local git repo, then do a: git pull --depth=3D1.  That
works well.

> Am I being unreasonable when I expect scons install to not rebuild
> anything if I have already done a build and check?

scons is Python and I don't do Python, except in trivial cases.

Document a repeatable error and bug Eric.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/tf65ZXx1QNMUb53pFanpy5=
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkoL6AAoJEA0O2UlB0XnYyA0H/iOBjdyYbT7y7kfEBbSItmoQ
rlUYq0OjHmSqHyZSOrcJ9bMCJCzk1DdaBdwfWrGfIEZWXUNkRYtdB01OF5obLQJx
NxFRfBqkgb9imrAmW/03EeyJ9xzDv0CjHN5ZQpTAfhEbDW6BqApLvY9vHk29ci61
rlhHn8jKAFhLz7Ciani1nLTPHOMYqKCJRwasVQrGZlUtUvlpljyohCGQJBUz5OpV
15FkYVTFlNoDVQnZH0ZgZhCcf/2NslcD+xpaRFAi07N0T+lszYNZniFxT/RvW/E5
rStzFVmm46AKn++ZGhDvZhtGkAtyByAuo97f8g8fCy621wQ5I23mN1Msb5GtUAE=
=gYPu
-----END PGP SIGNATURE-----

--Sig_/tf65ZXx1QNMUb53pFanpy5=--


From MAILER-DAEMON Fri Jul 22 16:49:27 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQhNu-0006Px-8K
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 16:49:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49159)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQhNs-0006Oj-19
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:49:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQhNr-0005Gz-1r
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:49:23 -0400
Received: from rellim.com ([2001:470:e815::19]:49141 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQhNq-0005G2-O0
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:49:22 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6MKn9D5016689
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 13:49:14 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6MKn9D5016689
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469220555; bh=iz02mfD+2RNe3dZ/mOR+KxKGLOvSHkRQHgSXtqqoFr4=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=cVIgic6CuXUuF1/P/kYlX1RFnF30qfIxDtqZ9hA5tHEkrDCe0MvzoWlyXBzXMJaDr
	paFmPrF4pEFA1JCHj/Pj1sWpcETaIrxq3o1xV3gCeT8TZtLC82wQin1r/wT5JqkLjU
	cdeJkrcAfpB2gx5r6StanreDYO6fX8YgTDPvIV58=
Date: Fri, 22 Jul 2016 13:49:09 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160722134909.2988cb2b@spidey.rellim.com>
In-Reply-To: <20160722202103.22268406060@ip-64-139-1-69.sjc.megapath.net>
References: <20160722202103.22268406060@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/3gYen6d4n8eLQMLiaHD6Pnb";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 13:49:15 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?b?w6LCnMKYQ0VQKDUwKSAwLjI4NSBtZXRlcnNNaW1l?=
 =?utf-8?q?-Version=3A_1=2E0?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 20:49:25 -0000

--Sig_/3gYen6d4n8eLQMLiaHD6Pnb
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Fri, 22 Jul 2016 13:21:03 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> There are two tails/trails wandering out of the circles.  One to the
> NW and one to the NE.  There is also an interesting track in the SW.

Yeah, interesting, but inscrutable.  I expect the infrequent way out
of bounds fixes.  I find that pretty normal.  The jump from CEP(50) to
CEP(90) is what strikes me as odd.

Just a WAG, maybe there is a delay in the base sending corrections the
rover.

> Can you see any pattern associated with them?  Did they start or end
> when a satellite was added or dropped?

Not yet.
=20
> Can you plot things using color to show the number of satellites?  Or
> some quality indication?

Pretty much the whole time I had 12 sats in view and in use.

It is gpsprof, so I guess anything is possible.  I doubt the scatter
plot is the way to dig at the individual wanders.

My main attack for a while will we be in geting the numeric precision
solid.  Calculating things to about 11 significant decimal digits is
harder than it looks.  A 64 bit long is only about 10 decimal digits.

For example, my longitude is 121.314064921W, but a long can only
hold 2147483647.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/3gYen6d4n8eLQMLiaHD6Pnb
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkobFAAoJEA0O2UlB0XnYr/8IAIbxfqGbDAjlXObtyjXBmRMG
AaV0mbKJgzo4aNdQdktyATH8mILqjs6pPROhVkFDhQz9ulNtrFvcJidQ4TovOJ97
yQQPqi+tN3AG2O32BXI2ckc9lRpacW3SEbIiv+zlH3Kn/sBVdfVC5mQ2cA7+qL/F
pVfhdghS0CfbljkZnP0ctpykNLT4uaUW5zxiPpiBDCKaHFienmfMPsB/X7Ij6hTj
by/MTisxVAwrj6R8J72NiAiCpw82L6+G/Bd4l+kYzVD1FtcgN3ADlQdvVMQGfbx9
uTDMjMRM5Y6xUIefwV/PWpva4AqhDkQbRnYktipaXcFSJZ0Nfk5BnNwgmVVtjyc=
=C0h5
-----END PGP SIGNATURE-----

--Sig_/3gYen6d4n8eLQMLiaHD6Pnb--


From MAILER-DAEMON Fri Jul 22 16:54:00 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQhSK-0007PP-Jm
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 16:54:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49973)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <allen@huarp.harvard.edu>) id 1bQhSI-0007Ov-Am
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:53:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <allen@huarp.harvard.edu>) id 1bQhSF-0006FQ-5l
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:53:58 -0400
Received: from endymion.arp.harvard.edu ([140.247.179.94]:41914)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <allen@huarp.harvard.edu>) id 1bQhSF-0006FD-2I
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:53:55 -0400
Received: from [192.168.2.2] (pool-96-252-13-147.bstnma.fios.verizon.net
	[96.252.13.147])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by endymion.arp.harvard.edu (Postfix) with ESMTPSA id 549386C000C;
	Fri, 22 Jul 2016 16:53:53 -0400 (EDT)
To: "Gary E. Miller" <gem@rellim.com>, Hal Murray <hmurray@megapathdsl.net>
References: <20160722202103.22268406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722134909.2988cb2b@spidey.rellim.com>
Cc: gpsd-dev@nongnu.org
From: Norton Allen <allen@huarp.harvard.edu>
Message-ID: <4bee2dfe-fe82-fbaa-e9e5-eb52761a158b@huarp.harvard.edu>
Date: Fri, 22 Jul 2016 16:53:54 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
	Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160722134909.2988cb2b@spidey.rellim.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 140.247.179.94
Subject: Re: [gpsd-dev] =?utf-8?b?w6LCnMKYQ0VQKDUwKSAwLjI4NSBtZXRlcnNNaW1l?=
 =?utf-8?q?-Version=3A_1=2E0?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 20:53:59 -0000

On 7/22/2016 4:49 PM, Gary E. Miller wrote:
> My main attack for a while will we be in geting the numeric precision
> solid.  Calculating things to about 11 significant decimal digits is
> harder than it looks.  A 64 bit long is only about 10 decimal digits.
>
> For example, my longitude is 121.314064921W, but a long can only
> hold 2147483647.

By which you no doubt meant "A 32 bit long is only about 10 decimal digits"



From MAILER-DAEMON Fri Jul 22 16:56:01 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQhUH-0007sK-3W
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 16:56:01 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50376)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQhUF-0007rD-9b
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:56:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQhUC-0006lI-3h
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:55:59 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:53548)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQhUB-0006kj-Rt
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 16:55:56 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6MKtqYj023237
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 13:55:52 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6MKtq7J000860
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 13:55:52 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6MKtq2t000857
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 13:55:52 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 22 Jul 2016 13:55:52 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160722134909.2988cb2b@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607221351170.28131@bolt.sonic.net>
References: <20160722202103.22268406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722134909.2988cb2b@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVZT/Rc3lLAl+T+uJ5vltTCy2zPRS9wyp/Cz4Pv60TSVjqT0jzUVUZry4y6A4mkGLGhf7p2vH5cKdCZhQVKARmCh
X-Sonic-ID: C;UIETrU5Q5hGiZJNwxPCmMQ== M;/ugvrU5Q5hGiZJNwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] =?utf-8?b?w6LCnMKYQ0VQKDUwKSAwLjI4NSBtZXRlcnNNaW1l?=
 =?utf-8?q?-Version=3A_1=2E0?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 20:56:00 -0000


On Fri, 22 Jul 2016, Gary E. Miller wrote:

> My main attack for a while will we be in geting the numeric precision
> solid.  Calculating things to about 11 significant decimal digits is
> harder than it looks.  A 64 bit long is only about 10 decimal digits.

Umm, a *64-bit* long is about 19 decimal digits.  Though a double is only
good for about 15.

> For example, my longitude is 121.314064921W, but a long can only
> hold 2147483647.

Then it must be a 32-bit long.

Fred Wright


From MAILER-DAEMON Fri Jul 22 17:04:05 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQhc4-0001g6-Vl
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 17:04:05 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52049)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQhc3-0001g0-3N
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:04:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQhc1-0008W0-3p
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:04:02 -0400
Received: from rellim.com ([2001:470:e815::19]:56017 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQhc0-0008Vn-Rk
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:04:01 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6ML3nOq021505
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 14:03:55 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6ML3nOq021505
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469221435; bh=hhUXs8AeMPuBZHtfikhEr923SgWY3j2shPZyakVawgM=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=hkoM7x6nlEkinnUUZihXUJevHKM7fqG/JkGuJnW7pt1g0VgJGCjAO04SW1PpGnRbz
	FS6ILnFqUPy68SPA6k+3ldhfKbxJEffwqqnzz83GT/uDHKVKGyMqB0gJ28BcoW1AlJ
	vDwWQorgkbXo5rf/AQ+r2BFGFU2hlq9VO63yMPws=
Date: Fri, 22 Jul 2016 14:03:49 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160722140349.40b8b984@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607221351170.28131@bolt.sonic.net>
References: <20160722202103.22268406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722134909.2988cb2b@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607221351170.28131@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/RZ1_oylf9vWFljRi=oCL/5w";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 14:03:55 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 21:04:04 -0000

--Sig_/RZ1_oylf9vWFljRi=oCL/5w
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Fri, 22 Jul 2016 13:55:52 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> On Fri, 22 Jul 2016, Gary E. Miller wrote:
>=20
> > My main attack for a while will we be in geting the numeric
> > precision solid.  Calculating things to about 11 significant
> > decimal digits is harder than it looks.  A 64 bit long is only
> > about 10 decimal digits. =20
>=20
> Umm, a *64-bit* long is about 19 decimal digits.  Though a double is
> only good for about 15.

And I can't see how to force Python to use a 64-bit long.  Got a clue
for me?

15 from a double is probably close enough, but I would go long double
if I could figure out to get Python to do that.

Do I need to go to NumPy, or something, to force precision in Python?

> > For example, my longitude is 121.314064921W, but a long can only
> > hold 2147483647. =20
>=20
> Then it must be a 32-bit long.

We aim to have gpsd run on 32 bit and 64 bit systems.  RasPi's, Odroid's
and BBB's currently are 32 bit only.

BTW, John's mailer mungs my UTF-8...

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/RZ1_oylf9vWFljRi=oCL/5w
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkoo1AAoJEA0O2UlB0XnYCs4H/0RvWa9diQfrm3ls73nLuLPY
pXkTW3e8iwe1bwa20XcBqEdyKij+TbloHx3Mam5AK6I1eyMU02+jZgpSqFiXFSDI
hv+YD2wg07b6jT1xEFD+1n3u9FlGSmLTcDKiqOAxmO0x5ixdktgO5i7D5MzCgSfB
t+BxsAsc7/e2FNAtxeI99IegNSGQqnzf6a93UlHu48yKeX80B7TbgRoSWzopKHan
Ma1hZKJnuZycDEE9Av7CMIM2KEzZGdoSWtC9Ztj6yTwpwC4nz/W4mm87vMiyxYam
Sj7OIN8ractBBybz7HUmGegqe5Mi0bTYv9BLfTvGZ1HZfFVplUHHKN/L1RSDbBc=
=aDgT
-----END PGP SIGNATURE-----

--Sig_/RZ1_oylf9vWFljRi=oCL/5w--


From MAILER-DAEMON Fri Jul 22 17:25:35 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQhwt-0007DQ-Sj
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 17:25:35 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56892)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQhwr-0007CL-LC
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:25:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQhwn-00053J-Hj
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:25:33 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:45208)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQhwn-00053E-8p
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:25:29 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6MLPQTM019946
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 14:25:27 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6MLPQwT023039
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 14:25:26 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6MLPQIP023036
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 14:25:26 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 22 Jul 2016 14:25:26 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160722140349.40b8b984@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607221409450.13796@bolt.sonic.net>
References: <20160722202103.22268406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722134909.2988cb2b@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607221351170.28131@bolt.sonic.net>
	<20160722140349.40b8b984@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVY4QoZfsNgc763KToh2PKHzD43NbMb4yMEzC4q6orwY9V6V1ldKRrr0ePhxPboMskYW/Md4UIzccIvYUPz4Y8QY
X-Sonic-ID: C;It7NzlJQ5hGQaZNwxPCmMQ== M;rDfqzlJQ5hGQaZNwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 21:25:34 -0000


On Fri, 22 Jul 2016, Gary E. Miller wrote:
> On Fri, 22 Jul 2016 13:55:52 -0700 (PDT)
> Fred Wright <fw@fwright.net> wrote:
>
> > On Fri, 22 Jul 2016, Gary E. Miller wrote:
> >
> > > My main attack for a while will we be in geting the numeric
> > > precision solid.  Calculating things to about 11 significant
> > > decimal digits is harder than it looks.  A 64 bit long is only
> > > about 10 decimal digits.
> >
> > Umm, a *64-bit* long is about 19 decimal digits.  Though a double is
> > only good for about 15.
>
> And I can't see how to force Python to use a 64-bit long.  Got a clue
> for me?

It shouldn't be a problem in Python.  Python has the concept of a "long
int" (sometimes just called "long"), which uses software multiple
precision.  It should automatically promote as needed, and it isn't even
limited to 64 bits.  E.g. (on the BBB):

Python 2.7.3 (default, Jun 21 2016, 21:00:47)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> x = sys.maxint
>>> x
2147483647
>>> type(x)
<type 'int'>
>>> y = x * x
>>> y
4611686014132420609L
>>> type(y)
<type 'long'>
>>> z = y * y
>>> z
21267647892944572736998860269687930881L
>>> type(z)
<type 'long'>

Essentially, Python has built-in "bignum" support.

Of course it's best to stick to normal ints where possible, for
efficiency.  Sometimes it's useful to wrap an int() around something to
get rid of gratuitous longness.

> 15 from a double is probably close enough, but I would go long double
> if I could figure out to get Python to do that.

Long doubles tend to be pretty iffy in general, in many cases happily
falling back to normal doubles.

Fred Wright


From MAILER-DAEMON Fri Jul 22 17:30:17 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQi1R-0007vR-CV
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 17:30:17 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57619)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQi1O-0007vF-PT
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:30:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQi1J-0005rx-PU
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:30:13 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:53813)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQi1J-0005oW-0Y
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:30:09 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id EEB3D406060; 
	Fri, 22 Jul 2016 14:29:53 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: GPSD Developers List <gpsd-dev@nongnu.org>,
	hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Fri,
	22 Jul 2016 14:03:49 PDT." <20160722140349.40b8b984@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 22 Jul 2016 14:29:53 -0700
Message-Id: <20160722212953.EEB3D406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 21:30:16 -0000


gem@rellim.com said:
> And I can't see how to force Python to use a 64-bit long.  Got a clue for
> me?

Python defaults to double.

https://docs.python.org/2/library/stdtypes.html

There are four distinct numeric types: plain integers, long integers, 
floating point numbers, and complex numbers. In addition, Booleans are a 
subtype of plain integers. Plain integers (also just called integers) are 
implemented using long in C, which gives them at least 32 bits of precision 
(sys.maxint is always set to the maximum plain integer value for the current 
platform, the minimum value is -sys.maxint - 1). Long integers have unlimited 
precision. Floating point numbers are usually implemented using double in C; 
information about the precision and internal representation of floating point 
numbers for the machine on which your program is running is available in 
sys.float_info. Complex numbers have a real and imaginary part, which are 
each a floating point number. To extract these parts from a complex number z, 
use z.real and z.imag. (The standard library includes additional numeric 
types, fractions that hold rationals, and decimal that hold floating-point 
numbers with user-definable precision.)


gem@rellim.com said:
> We aim to have gpsd run on 32 bit and 64 bit systems.  RasPi's, Odroid's and
> BBB's currently are 32 bit only. 

Can't you use int64_t and friends.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Fri Jul 22 17:52:07 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQiMZ-0003Fu-PC
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 17:52:07 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:32814)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQiMX-0003Fo-2P
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:52:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQiMU-0001qg-Tt
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:52:04 -0400
Received: from rellim.com ([2001:470:e815::19]:43093 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQiMU-0001qT-Ll
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 17:52:02 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6MLppo3004814
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 14:51:56 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6MLppo3004814
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469224317; bh=nJfZrww2lKTEBy6OU7W/ZYo0yfY1SXSFcwhpQsUU0E4=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=Dzca82pBXHhRE5fIlMNfjmBMZWhwyZJ1JnSsmW4OAhghJP6zAkSne+a72HfJTi6lv
	yPxOdUYHBb/dbwiOw8xYnYCDGqW1n6iYNUIzkvVcHPJwavEgnxzZV/+wXT0dWmv880
	SL341WOKGW+ZVIGUAAQlfQPXG8S9WAw2cHm8SbA0=
Date: Fri, 22 Jul 2016 14:51:51 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160722145151.31371803@spidey.rellim.com>
In-Reply-To: <20160722212953.EEB3D406060@ip-64-139-1-69.sjc.megapath.net>
References: <20160722140349.40b8b984@spidey.rellim.com>
	<20160722212953.EEB3D406060@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/OYXedcjUdUum./MqKIjujs3";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 14:51:57 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 21:52:06 -0000

--Sig_/OYXedcjUdUum./MqKIjujs3
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Fri, 22 Jul 2016 14:29:53 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said:
> > And I can't see how to force Python to use a 64-bit long.  Got a
> > clue for me? =20
>=20
> Python defaults to double.

Actually, your quote says "usually".  How do I force it?  For
ALL operateing ssytems: 32 bit and 64 bit.

And, I want to force "long double", not just double.

> https://docs.python.org/2/library/stdtypes.html

Yeah, been there done that, not what I need.  I need to FORCE what
I need, not just hope for "usually".

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/OYXedcjUdUum./MqKIjujs3
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkpV3AAoJEA0O2UlB0XnY8uIH/2LEC7ZbYhyJvRSkRBuWeCWi
S5d2fHZMMDpAngHKc9+K79GDGlgQmQxHrq7/2T2uXbyQxltej/02C7CgheOnjThc
qqlJX9/TpmlS6Uin92Uz6Mk6hOKCR8+uzU69lnsto7aFMq60ttpZpv+LSmVuU39b
kkOLu4rBGxVfq7yfq30id5CBdsGeAecJ6rkUR96lZH78aO9oqNoVRkbHtvFKRw4m
QRvPWdL+kRqpO+6m8Rx0KmaZC+j4dI1OdTXxFvaAadNUKNxPIDJTOrrxVrKmb668
tBe2dwmVIaE3aW0wtks5wf0RJbWo6T38RcHLI5lwkuCl9JTNs5V2osCmMlJcfh8=
=zdgM
-----END PGP SIGNATURE-----

--Sig_/OYXedcjUdUum./MqKIjujs3--


From MAILER-DAEMON Fri Jul 22 18:02:44 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQiWq-0000Ap-4G
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 18:02:44 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34400)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQiWn-00007u-Gk
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:02:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQiWh-0003wv-I6
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:02:40 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:54894)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQiWh-0003vJ-BX
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:02:35 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 37FFD406060; 
	Fri, 22 Jul 2016 15:02:32 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>,
	GPSD Developers List <gpsd-dev@nongnu.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Fri,
	22 Jul 2016 14:51:51 PDT." <20160722145151.31371803@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 22 Jul 2016 15:02:32 -0700
Message-Id: <20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 22:02:42 -0000


gem@rellim.com said:
> Yeah, been there done that, not what I need.  I need to FORCE what I need,
> not just hope for "usually". 

If you are working with LAT/LON, they have a known range.  You can convert to 
long/bignum with manual scaling.

-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Fri Jul 22 18:11:49 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQifd-00039E-2n
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 18:11:49 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35888)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQifa-000394-Lh
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:11:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQifW-0005qm-DJ
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:11:46 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:45337)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQifW-0005qN-4f
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:11:42 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6MMBbJu006686
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 15:11:37 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6MMBbPQ013016
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 15:11:37 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6MMBbcP013009
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 15:11:37 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 22 Jul 2016 15:11:37 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
Message-ID: <Pine.LNX.4.58L1X.1607221509270.11566@bolt.sonic.net>
References: <20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVb4t09P7N4io2R/D2h6Q3Cipdal53BBXTPhk5JQHnSllKf1+LWLyNxwUexTT7vvlDKs7Fhe0PEC3GdvLf9+VNQI
X-Sonic-ID: C;NksjQllQ5hGqVZtMTlz00w== M;7kpNQllQ5hGqVZtMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 22:11:47 -0000


On Fri, 22 Jul 2016, Hal Murray wrote:
> gem@rellim.com said:
> > Yeah, been there done that, not what I need.  I need to FORCE what I need,
> > not just hope for "usually".
>
> If you are working with LAT/LON, they have a known range.  You can convert to
> long/bignum with manual scaling.

And note that long double is the same as double on ARM.

Fred Wright


From MAILER-DAEMON Fri Jul 22 18:19:50 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQinO-000559-1h
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 18:19:50 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36652)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQinJ-00054D-SC
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:19:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQinH-0007DY-SE
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:19:44 -0400
Received: from rellim.com ([2001:470:e815::19]:45304 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQinH-0007DU-Hy
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:19:43 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6MMJWgA014326
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 15:19:38 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6MMJWgA014326
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469225978; bh=48upu/V9Hxjpd1AFTx+i7agleDCsO1sul3hxqsX1xAQ=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=kxhm9btae5D7Pdj/XsDceb67u5ao/csBRJyOyCzU4gg+1DP29uuVuumRs1dfD95EC
	MtID0nJf131VogW6SEFPcsI07b9zYfsI24MJml8aHBRkxJfE6XWBfRHPij90UHpOUC
	hTKE+KmO1WnmTSyPcmMF8cGBUCpdD+eh8nJ7WRj0=
Date: Fri, 22 Jul 2016 15:19:32 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160722151932.4b2b47bc@spidey.rellim.com>
In-Reply-To: <20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
References: <20160722145151.31371803@spidey.rellim.com>
	<20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/jVTuN1hzecU81hePEfsNO9L";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 15:19:38 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 22:19:46 -0000

--Sig_/jVTuN1hzecU81hePEfsNO9L
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Fri, 22 Jul 2016 15:02:32 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said:
> > Yeah, been there done that, not what I need.  I need to FORCE what
> > I need, not just hope for "usually".  =20
>=20
> If you are working with LAT/LON, they have a known range.  You can
> convert to long/bignum with manual scaling.

I'd rather do "long double" if I can.  Then no worry about improper
scaling.  And I don't want to rewrite the Python gps.py library in fixed
point.  Execution speed is not an issue.

Remember, I'm not a Python guy, trying to keep this simple and obvious.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/jVTuN1hzecU81hePEfsNO9L
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkpv0AAoJEA0O2UlB0XnYOKIH/2Fh2Qv78jLjEZ2zav5xbiG9
iu0kbxyX6J5g+Thpn755QaGYAixmS60E9qt4Gzjyp4fspa5e4XfwTeRu/lvUblul
NfTSjqGvujv/nLrw1zjIWDKauA5/DmrHtnpukM+K9Q1ekCl7nO24G0OqfQvslJNU
VvDE+dQdVVh+9ihUiypNB5rrPutaftlPi9UeR+WJSDyjgKi247XLqovFwJNV9yVz
gTZIFUxO393qGHWANE7aeKt5g1hUGPA3jG/JG8b+SAfdp0kr2Lx18Q7Bnb1pLowf
A2nVZoSO/3YtGOcYK4ibHheMeIJt77YingIZPmYjn25pKjZtcnBVnVFxOeduEH8=
=fbW2
-----END PGP SIGNATURE-----

--Sig_/jVTuN1hzecU81hePEfsNO9L--


From MAILER-DAEMON Fri Jul 22 18:21:38 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQip8-0005KY-LB
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 18:21:38 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37026)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQip6-0005KS-Sm
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:21:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQip5-0007hF-QC
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:21:36 -0400
Received: from rellim.com ([2001:470:e815::19]:48587 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQip5-0007hB-Ip
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:21:35 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6MMLRWD014907
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 15:21:32 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6MMLRWD014907
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469226092; bh=LurpJi4ijvx47DKrSzRpNYShH6HR/cX0sYBgJFiMLCA=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=r5wGYQTNSY7wjAjfCfdUHEdFEd8CPEykIdZTIBmKmjwjrp83Gies9fNXhj6PPnKLv
	mtAvpe6pSG5A55bc1Bfwqcm8MRHezamb7yD+zRHuBE4gkXhlHiG6YuQ34u92cS0JaB
	CCz9agMPOPVumxxvItxXU7nsdHzSaZaP7aymwuqg=
Date: Fri, 22 Jul 2016 15:21:27 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160722152127.6e5a22aa@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607221509270.11566@bolt.sonic.net>
References: <20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
	<Pine.LNX.4.58L1X.1607221509270.11566@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/EkBrv458o.0R_DTFFMPwHAQ";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 15:21:32 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 22:21:37 -0000

--Sig_/EkBrv458o.0R_DTFFMPwHAQ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Fri, 22 Jul 2016 15:11:37 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> On Fri, 22 Jul 2016, Hal Murray wrote:
> > gem@rellim.com said: =20
> > > Yeah, been there done that, not what I need.  I need to FORCE
> > > what I need, not just hope for "usually". =20
> >
> > If you are working with LAT/LON, they have a known range.  You can
> > convert to long/bignum with manual scaling. =20
>=20
> And note that long double is the same as double on ARM.

Gack...  So much for standards.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/EkBrv458o.0R_DTFFMPwHAQ
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkpxnAAoJEA0O2UlB0XnYyxkH/jp2T4IPOTSrjISNMK8ZoB2d
LXfYRC0mhwKUYrzF518W4TTiqfphIUXMj6uPl4RmDaIBLcOnTtuPgwKFh2WLn1hK
QG6BtLxloeoKozkflrKeGVqeCUQK8++tvOugiBSJQ/miEoAayw009VJusMdHkTx2
CtWqB4OAD7SLDK58AX51mjaX5/q+zzhnKSYl9DWp2MXT5HhwhBVNzBUL3k9/QO63
jB4Rk1UlVM4HDx7Wy1TBUM81rk/1Cn64gePwbOEJKCNDOgDQPum4R0tHxEoRf2Xz
+a2D2MT6eHhpA2COHaVsyNUIp411sV1NWUzvLRNXEn4M3xG57Ap44Vkmyk/I5LQ=
=WS1A
-----END PGP SIGNATURE-----

--Sig_/EkBrv458o.0R_DTFFMPwHAQ--


From MAILER-DAEMON Fri Jul 22 18:59:45 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQjQ0-0004nz-SM
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 18:59:44 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43007)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQjPy-0004mP-Ax
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:59:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQjPv-0006My-6B
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:59:42 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:47594)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQjPu-0006MK-Tf
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 18:59:39 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6MMxZHP006421
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 15:59:35 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6MMxZ5n005280
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 15:59:35 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6MMxZZb005277
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 15:59:35 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 22 Jul 2016 15:59:35 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160722152127.6e5a22aa@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607221552510.1844@bolt.sonic.net>
References: <20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
	<Pine.LNX.4.58L1X.1607221509270.11566@bolt.sonic.net>
	<20160722152127.6e5a22aa@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVZltH6svO8K6XXmP/5TSDZgtPWuKvBN2S9NEING/w6bIfxegH7HzSDWgyf0zjV9NFvjZRhlvzDdFJ4w7Wf6nD+h
X-Sonic-ID: C;Yqiy9V9Q5hGFYpNwxPCmMQ== M;Es7S9V9Q5hGFYpNwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 22:59:43 -0000


On Fri, 22 Jul 2016, Gary E. Miller wrote:
> On Fri, 22 Jul 2016 15:11:37 -0700 (PDT)
> Fred Wright <fw@fwright.net> wrote:
>
> > On Fri, 22 Jul 2016, Hal Murray wrote:
> > > gem@rellim.com said:
> > > > Yeah, been there done that, not what I need.  I need to FORCE
> > > > what I need, not just hope for "usually".
> > >
> > > If you are working with LAT/LON, they have a known range.  You can
> > > convert to long/bignum with manual scaling.
> >
> > And note that long double is the same as double on ARM.
>
> Gack...  So much for standards.

Well, there is no real "standard" for long double, other than the C/C++
standards, which merely say that it's at least as good as a double and may
or may not be better.

But note that the circumference of the Earth is ~4E7m, or ~4E10mm, which
is still comfortable in the 52-bit mantissa of a double.

Fred Wright


From MAILER-DAEMON Fri Jul 22 19:18:56 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQjia-0008Te-SV
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 19:18:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46450)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQjiY-0008QT-D6
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:18:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQjiW-0001tI-8j
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:18:53 -0400
Received: from rellim.com ([2001:470:e815::19]:38863 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQjiW-0001tC-0B
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:18:52 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6MNIdbb000678
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 16:18:44 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6MNIdbb000678
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469229526; bh=Adkgp4VlWe0nS2GbnCOumyWLSS7WX4AEYWleSVZAcog=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=apZGf1NzJhui1KE22WBqZQtB+32vbDFLs0yFCm4E6y3K+v2kNGWsEQSSvJ3fH7vYB
	amyclvLwGZuPBM0hqwB1R59wUp/bfV8qC9qKTwXXgwBckI0NFkb7Yg5wCNGJm8gk91
	6soaZy2Nc/2S8QAi+mj2OwWqWaiR4UOH5HxhA2VY=
Date: Fri, 22 Jul 2016 16:18:39 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160722161839.50e6db6f@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607221552510.1844@bolt.sonic.net>
References: <20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
	<Pine.LNX.4.58L1X.1607221509270.11566@bolt.sonic.net>
	<20160722152127.6e5a22aa@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607221552510.1844@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/uv.rYajZkE4OVh.nPKc/dPz";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 16:18:46 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 23:18:55 -0000

--Sig_/uv.rYajZkE4OVh.nPKc/dPz
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Fri, 22 Jul 2016 15:59:35 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> On Fri, 22 Jul 2016, Gary E. Miller wrote:
> > On Fri, 22 Jul 2016 15:11:37 -0700 (PDT)
> > Fred Wright <fw@fwright.net> wrote:
> > =20
> > > On Fri, 22 Jul 2016, Hal Murray wrote: =20
> > > > gem@rellim.com said: =20
> > > > > Yeah, been there done that, not what I need.  I need to FORCE
> > > > > what I need, not just hope for "usually". =20
> > > >
> > > > If you are working with LAT/LON, they have a known range.  You
> > > > can convert to long/bignum with manual scaling. =20
> > >
> > > And note that long double is the same as double on ARM. =20
> >
> > Gack...  So much for standards. =20
>=20
> Well, there is no real "standard" for long double,

IETF Standard 754-2008 "quad precision" : 128 bits

Wikipedia says of C99:

    https://en.wikipedia.org/wiki/C99#IEEE.C2.A0754_floating_point_support

    "long double is defined as IEEE 754 extended precision (e.g., Intel
    80-bit double extended precision on x86 or x86-64 platforms), or
    some form of quad precision where available; otherwise, it is double
    precision."

Look in C99 Annex F.

Not relevant, since gpsprof is in Python, which has no standards...

> But note that the circumference of the Earth is ~4E7m, or ~4E10mm,
> which is still comfortable in the 52-bit mantissa of a double.

Yeah, but then gpsprof calculates spherical distances.  Lot's of
squaring and square rooting.  So, double is probably good enough, but
somewhere I'm losing enough precision to mess up my plots.

The numbers seems to come and go.  One plot almost looks right and the
next gives me all zeros. Until I nail down the problem I'm suspecting
everything.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/uv.rYajZkE4OVh.nPKc/dPz
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkqnPAAoJEA0O2UlB0XnYhAgH/2t0lyA5PIWHZVbHfGbto74k
MRJEwRNv374cNDGOc//MV5VifD1r5K9GnvJtJRCAyaqZfgAe2vTWe4nMaqGjkNRu
xLfhkGEw3+Ddr5NKt8SIys7Q6Jg4jFaQrK64l1PBtuigb94MsrYOM8g4DpgTi9Kn
z1YlhYtwc6uLrKfWNDVVdebxnT4uA36GYcEkx4PbrhJ6QNGk0xVnp+7UCBzO4amA
t3f8a39MXGJYZ1eCUH7G/v5MtDIqwQuCCWb6RE3tpLkSv+6gCAIfx0MJBRtHcRwy
YmicRbHD+ODnmheBp8R4uLTqT5CzvwbRn2jaQSbpIzxgyYk8zw7ctdrBuFFkwNU=
=+Mc6
-----END PGP SIGNATURE-----

--Sig_/uv.rYajZkE4OVh.nPKc/dPz--


From MAILER-DAEMON Fri Jul 22 19:24:25 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQjnt-0000vN-E8
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 19:24:25 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47037)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQjnq-0000vB-Nz
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:24:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQjnn-0002vD-Aj
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:24:22 -0400
Received: from fnord.ir.bbn.com ([192.1.100.210]:61322)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQjnn-0002uk-62
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:24:19 -0400
Received: by fnord.ir.bbn.com (Postfix, from userid 10853)
	id B601DA82F; Fri, 22 Jul 2016 19:24:17 -0400 (EDT)
From: Greg Troxel <gdt@ir.bbn.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: Hal Murray <hmurray@megapathdsl.net>,  gpsd-dev@nongnu.org
References: <20160722091807.D5EB9406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722110626.4fe78fc5@spidey.rellim.com>
OpenPGP: id=32611E25
X-Hashcash: 1:20:160722:gem@rellim.com::vxF67mKj8HJhShCi:0001QgE
X-Hashcash: 1:20:160722:gpsd-dev@nongnu.org::LilDcKQKFs1oxNim:0000000000000000000000000000000000000000003Mlh
X-Hashcash: 1:20:160722:hmurray@megapathdsl.net::DEb9EHqKyUDAALOd:000000000000000000000000000000000000005ww4
Date: Fri, 22 Jul 2016 19:24:17 -0400
In-Reply-To: <20160722110626.4fe78fc5@spidey.rellim.com> (Gary E. Miller's
	message of "Fri, 22 Jul 2016 11:06:26 -0700")
Message-ID: <rmi7fcdntni.fsf@fnord.ir.bbn.com>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (berkeley-unix)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 192.1.100.210
Subject: Re: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 23:24:23 -0000

--=-=-=
Content-Type: text/plain


"Gary E. Miller" <gem@rellim.com> writes:

>> -DHAVE_SYS_TIMEPPS_H=1 bits.c bits.c: In function 'ubits':
>> bits.c:40:19: warning: left shift of negative value
>> [-Wshift-negative-value] fld &= ~(-1LL << width);

I think the issue is that if you were to go read and understand the C99
standard, it would say that the left shift operator is only defined for
unsigned or positive values.

So the fix is probably to first figure out what it's supposed to be
doing and write it without invoking undefined behavior.

As I read that, if width is 8, you'd get

  0xffffffff (from the -1LL)
  0xffffff00 (from the <<)
  0x000000ff (from the ~

at least on platforms where long long is still 32 bits.  (I would expect
code to be written for fixed-width types, not native types anyway, but I
haven't looked at this.)  Basically "-1LL" is trying to be a constant
with all the bits set, rather than a negative number, and is assuming
that the machine uses 2s complement arithmetic, which while true on all
computers I can remember using, is probably not actually required by
the C99 standard.

So, I would rewrite this as

  fld &=  (1 << width) - 1

except that this won't work for width 32.   So instead this could be

  fld &=  ~(~0ULL << width)

I would definitely add an assert that the new/old ways are equal and run
tests with it present before changing.  This is tricky business!


--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAleSqyEACgkQ+vesoDJhHiXZuwCcDBZU0/Gbe9vE1ketxrBdRGQo
jy8An3Q5zz/bUrGoKmCxTNHZs6pGkZ6E
=wCUa
-----END PGP SIGNATURE-----
--=-=-=--


From MAILER-DAEMON Fri Jul 22 19:29:53 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQjtA-0001vJ-Tt
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 19:29:52 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47626)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQjt8-0001ux-PD
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:29:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQjt7-0003ha-Nf
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:29:50 -0400
Received: from rellim.com ([2001:470:e815::19]:54026 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQjt7-0003hU-GE
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:29:49 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6MNTK2U004211
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 16:29:25 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6MNTK2U004211
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469230165; bh=P7zgnEvvSPw/ZAeH97iYmEWg//L2bCYhQWUwwgLI800=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=INPQEAYD3F7fe8WJMxFDexTPPLPezAF264y0xkNehG81fGGXdVGILaUw7EsaaSZF8
	bsTsn7zG139YxiUpKISUKiXztHQw9R/Gb8fD9RkqXjhCChIW/LPwuidQku4pNAoOjv
	A09B473dh2jQ1+avmY7Rw7cl2K60P+42+eC5g6aE=
Date: Fri, 22 Jul 2016 16:29:20 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Greg Troxel <gdt@ir.bbn.com>
Cc: Hal Murray <hmurray@megapathdsl.net>, gpsd-dev@nongnu.org
Message-ID: <20160722162920.7999e8b0@spidey.rellim.com>
In-Reply-To: <rmi7fcdntni.fsf@fnord.ir.bbn.com>
References: <20160722091807.D5EB9406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722110626.4fe78fc5@spidey.rellim.com>
	<rmi7fcdntni.fsf@fnord.ir.bbn.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/VXWw44TdnEodyf5bpLDn2yV";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 16:29:25 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 23:29:51 -0000

--Sig_/VXWw44TdnEodyf5bpLDn2yV
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Greg!

Sounds like you almost have it sovled.  Patches welcome!

On Fri, 22 Jul 2016 19:24:17 -0400
Greg Troxel <gdt@ir.bbn.com> wrote:

> "Gary E. Miller" <gem@rellim.com> writes:
>=20
> >> -DHAVE_SYS_TIMEPPS_H=3D1 bits.c bits.c: In function 'ubits':
> >> bits.c:40:19: warning: left shift of negative value
> >> [-Wshift-negative-value] fld &=3D ~(-1LL << width); =20
>=20
> I think the issue is that if you were to go read and understand the
> C99 standard, it would say that the left shift operator is only
> defined for unsigned or positive values.
>=20
> So the fix is probably to first figure out what it's supposed to be
> doing and write it without invoking undefined behavior.
>=20
> As I read that, if width is 8, you'd get
>=20
>   0xffffffff (from the -1LL)
>   0xffffff00 (from the <<)
>   0x000000ff (from the ~
>=20
> at least on platforms where long long is still 32 bits.  (I would
> expect code to be written for fixed-width types, not native types
> anyway, but I haven't looked at this.)  Basically "-1LL" is trying to
> be a constant with all the bits set, rather than a negative number,
> and is assuming that the machine uses 2s complement arithmetic, which
> while true on all computers I can remember using, is probably not
> actually required by the C99 standard.
>=20
> So, I would rewrite this as
>=20
>   fld &=3D  (1 << width) - 1
>=20
> except that this won't work for width 32.   So instead this could be
>=20
>   fld &=3D  ~(~0ULL << width)
>=20
> I would definitely add an assert that the new/old ways are equal and
> run tests with it present before changing.  This is tricky business!
>=20




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/VXWw44TdnEodyf5bpLDn2yV
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkqxQAAoJEA0O2UlB0XnYaR4IALMb0AJywRnayCykVfOiOV9C
btznGzo5nI/mu6gedycjvn8TDo486PBHg0ZXLgH9/643nYykifHBNwdFUri3BI4U
pqcdaliTkX2xEwSD58xtQkg5NDhyH7f14j9RZnRtSKeQi65Vvp6TihzOEM1WxJd+
PUQgb5h3vyR8noWCtREX7FxrsBrGeLoAzRxKX6RvJNtZRgP2WvFUvxpN2tuGNucH
ztuabLigiAkhXNE3zNrGI/LVo5LcTluOwcMQeOjJD0m7gWDYGMumLELV19hn9ex0
OQ89qm3fXQAY+xTdLf9udLKOesDAwJgwtiS4F2dcHUtNTcTfE+t8ZFDNn3Sd7pk=
=6PIh
-----END PGP SIGNATURE-----

--Sig_/VXWw44TdnEodyf5bpLDn2yV--


From MAILER-DAEMON Fri Jul 22 19:31:44 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQjuy-0002R0-50
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 19:31:44 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48005)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQjuw-0002PX-FI
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:31:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQjus-0003za-AG
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:31:41 -0400
Received: from fnord.ir.bbn.com ([192.1.100.210]:61319)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQjus-0003zV-5B
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:31:38 -0400
Received: by fnord.ir.bbn.com (Postfix, from userid 10853)
	id ED0EAA82F; Fri, 22 Jul 2016 19:31:37 -0400 (EDT)
From: Greg Troxel <gdt@ir.bbn.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: Fred Wright <fw@fwright.net>,  GPSD Developers List <gpsd-dev@nongnu.org>
References: <20160722202103.22268406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722134909.2988cb2b@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607221351170.28131@bolt.sonic.net>
	<20160722140349.40b8b984@spidey.rellim.com>
OpenPGP: id=32611E25
X-Hashcash: 1:20:160722:fw@fwright.net::40WJRrptIoyhUiV/:00008+X
X-Hashcash: 1:20:160722:gpsd-dev@nongnu.org::DKvToUH4nFltsEeW:0000000000000000000000000000000000000000000sDf
X-Hashcash: 1:20:160722:gem@rellim.com::jiZxheKlQOOCktyi:0005K2/
Date: Fri, 22 Jul 2016 19:31:37 -0400
In-Reply-To: <20160722140349.40b8b984@spidey.rellim.com> (Gary E. Miller's
	message of "Fri, 22 Jul 2016 14:03:49 -0700")
Message-ID: <rmi37n1ntba.fsf@fnord.ir.bbn.com>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (berkeley-unix)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 192.1.100.210
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 23:31:43 -0000

--=-=-=
Content-Type: text/plain


long double appears not really that portable.

http://info.prelert.com/blog/the-pitfalls-of-long-double

"Gary E. Miller" <gem@rellim.com> writes:

> We aim to have gpsd run on 32 bit and 64 bit systems.  RasPi's, Odroid's
> and BBB's currently are 32 bit only.

That really shouldn't be an issue.    32-bit CPUs of various kinds have
implemented both uint64_t and double (the longer of the two normal
IEEE754 types) for a long time.   The thing to be careful about is to
use uint64_t if you want a 64-bit type, and not to assume that that int,
long, or any of the basic C types are particular sizes.  This may well
interact badly with python that tends to provide the native int.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAleSrNkACgkQ+vesoDJhHiWJ6wCeOReA04y3IxSaqmQ1IVfjylG+
xp4An3YR6eZwkVrPNKgNXetoEUcCYM1s
=Q2PZ
-----END PGP SIGNATURE-----
--=-=-=--


From MAILER-DAEMON Fri Jul 22 19:32:26 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQjve-0002eJ-Fr
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 19:32:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48240)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQjvc-0002eC-M0
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:32:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQjvY-00047N-HH
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:32:23 -0400
Received: from fnord.ir.bbn.com ([192.1.100.210]:61315)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQjvY-00047J-DX
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:32:20 -0400
Received: by fnord.ir.bbn.com (Postfix, from userid 10853)
	id EC0CFA82F; Fri, 22 Jul 2016 19:32:19 -0400 (EDT)
From: Greg Troxel <gdt@ir.bbn.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: Fred Wright <fw@fwright.net>,  GPSD Developers List <gpsd-dev@nongnu.org>
References: <20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
	<Pine.LNX.4.58L1X.1607221509270.11566@bolt.sonic.net>
	<20160722152127.6e5a22aa@spidey.rellim.com>
OpenPGP: id=32611E25
X-Hashcash: 1:20:160722:fw@fwright.net::+hgX0LRLkz7BkQeC:0000kqj
X-Hashcash: 1:20:160722:gem@rellim.com::u7udftZjol2Te7O+:0003gCR
X-Hashcash: 1:20:160722:gpsd-dev@nongnu.org::vPnt/q2+jbeMVW/Y:0000000000000000000000000000000000000000005bZT
Date: Fri, 22 Jul 2016 19:32:19 -0400
In-Reply-To: <20160722152127.6e5a22aa@spidey.rellim.com> (Gary E. Miller's
	message of "Fri, 22 Jul 2016 15:21:27 -0700")
Message-ID: <rmiy44tmepo.fsf@fnord.ir.bbn.com>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (berkeley-unix)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 192.1.100.210
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 23:32:25 -0000

--=-=-=
Content-Type: text/plain


"Gary E. Miller" <gem@rellim.com> writes:

>> And note that long double is the same as double on ARM.
>
> Gack...  So much for standards.

That's compliant.  The only requirement in C99 is that long double is at
least as big as double.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAleSrQMACgkQ+vesoDJhHiXzqgCfS60Bl8ND2yF6EnYpPRoZNTOl
r7YAoIGbtvyJ1RgLDNjbd2s2d8qKhwyu
=byPH
-----END PGP SIGNATURE-----
--=-=-=--


From MAILER-DAEMON Fri Jul 22 19:34:23 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQjxX-0003GS-P6
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 19:34:23 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48540)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQjxV-0003GG-TY
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:34:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQjxR-0004MX-OO
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:34:20 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:38223)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQjxR-0004MT-EK
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 19:34:17 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6MNYErF006701
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 16:34:14 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6MNYELr026824
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 16:34:14 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6MNYEAZ026821
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 16:34:14 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 22 Jul 2016 16:34:14 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160722161839.50e6db6f@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607221628060.22381@bolt.sonic.net>
References: <20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
	<Pine.LNX.4.58L1X.1607221509270.11566@bolt.sonic.net>
	<20160722152127.6e5a22aa@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607221552510.1844@bolt.sonic.net>
	<20160722161839.50e6db6f@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVbV7YnW0gGCqm1fFJXuJOokqngSeFK8ipJ/GAbnBOkkdqzjy4TobR02oh4YyELZNHyZggazbwWfZoy2RkOAYojJ
X-Sonic-ID: C;ajj4zGRQ5hGVzpNwxPCmMQ== M;2MMczWRQ5hGVzpNwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 23:34:23 -0000


On Fri, 22 Jul 2016, Gary E. Miller wrote:
> On Fri, 22 Jul 2016 15:59:35 -0700 (PDT)
> Fred Wright <fw@fwright.net> wrote:
>
> > On Fri, 22 Jul 2016, Gary E. Miller wrote:
> > > On Fri, 22 Jul 2016 15:11:37 -0700 (PDT)
> > > Fred Wright <fw@fwright.net> wrote:
> > >
> > > > On Fri, 22 Jul 2016, Hal Murray wrote:
> > > > > gem@rellim.com said:
> > > > > > Yeah, been there done that, not what I need.  I need to FORCE
> > > > > > what I need, not just hope for "usually".
> > > > >
> > > > > If you are working with LAT/LON, they have a known range.  You
> > > > > can convert to long/bignum with manual scaling.
> > > >
> > > > And note that long double is the same as double on ARM.
> > >
> > > Gack...  So much for standards.
> >
> > Well, there is no real "standard" for long double,
>
> IETF Standard 754-2008 "quad precision" : 128 bits

Sure, but nothing states that "long double" == IEEE "quad precision".

> Wikipedia says of C99:
>
>     https://en.wikipedia.org/wiki/C99#IEEE.C2.A0754_floating_point_support
>
>     "long double is defined as IEEE 754 extended precision (e.g., Intel
>     80-bit double extended precision on x86 or x86-64 platforms), or
>     some form of quad precision where available; otherwise, it is double
>     precision."

Note the last clause.

Also see:

	https://en.wikipedia.org/wiki/Long_double

> > But note that the circumference of the Earth is ~4E7m, or ~4E10mm,
> > which is still comfortable in the 52-bit mantissa of a double.
>
> Yeah, but then gpsprof calculates spherical distances.  Lot's of
> squaring and square rooting.  So, double is probably good enough, but
> somewhere I'm losing enough precision to mess up my plots.

Spherical distances are tricky, and ISTR that GPSD switched distance
algorithms at one point.  You almost certainly don't want the simple
spherical law-of-cosines formula, since that has awful numerical
sensitivities for short distances.

Fred Wright


From MAILER-DAEMON Fri Jul 22 20:01:29 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQkNl-0007v8-3C
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 20:01:29 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51298)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQkNi-0007uv-4I
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:01:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQkNg-0000wH-26
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:01:25 -0400
Received: from rellim.com ([2001:470:e815::19]:54103 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQkNf-0000w6-Nr
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:01:23 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6N01C4h015078
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 17:01:17 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6N01C4h015078
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469232078; bh=syVMc08OF1jUfuTb9E/KdgXbI+UKWTBblDqkMoIzXJo=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=Exnfv4EjKs+iGfqTctxn9aXsVrMVa9ysAaIedhVwSbx7drbwQ8JCTbcZTkec35LVV
	NxrivzUysCV+7V+Wx4WuPBipzeugY2+fNQpXr3281ZrvqRCacr9FGN7QoIu+6+hBoG
	c278ZA8stijqzMvot+RjztRXixVz1UE9X27lL6gs=
Date: Fri, 22 Jul 2016 17:01:12 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160722170112.0b7fdd26@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607221628060.22381@bolt.sonic.net>
References: <20160722220232.37FFD406060@ip-64-139-1-69.sjc.megapath.net>
	<Pine.LNX.4.58L1X.1607221509270.11566@bolt.sonic.net>
	<20160722152127.6e5a22aa@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607221552510.1844@bolt.sonic.net>
	<20160722161839.50e6db6f@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607221628060.22381@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/Be5PW7P8_fMI+R3tXRSsHOQ";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 17:01:18 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 00:01:27 -0000

--Sig_/Be5PW7P8_fMI+R3tXRSsHOQ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Fri, 22 Jul 2016 16:34:14 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> > IETF Standard 754-2008 "quad precision" : 128 bits =20
>=20
> Sure, but nothing states that "long double" =3D=3D IEEE "quad precision".

Except my next  Wikipedia quote.

> >     "long double is defined as IEEE 754 extended precision (e.g.,
> > Intel 80-bit double extended precision on x86 or x86-64 platforms),
> > or some form of quad precision where available; otherwise, it is
> > double precision." =20

=46rom the c11:

    Recommended practice

    The long double type should match an IEC 60559 extended format

So, only recommended, not mandatory.  Change everything I said from=20
'standard' to 'recommended by standard'.

But we are getting off in the weeds, the issue is Python, not C.

C at least 'recommends' the IETF 754-2008 standard.

Python is not standardized.  And I can't figure out how to force
it to some minimum precision past double.

> > Yeah, but then gpsprof calculates spherical distances.  Lot's of
> > squaring and square rooting.  So, double is probably good enough,
> > but somewhere I'm losing enough precision to mess up my plots. =20
>=20
> Spherical distances are tricky, and ISTR that GPSD switched distance
> algorithms at one point.  You almost certainly don't want the simple
> spherical law-of-cosines formula, since that has awful numerical
> sensitivities for short distances.

Yeah, tricky indeed.  Check out gps/misc.py

Check out these two function:

def MeterOffset(c1, c2):
    "Return offset in meters of second arg from first."

def EarthDistance(c1, c2):
    "Distance in meters between two points specified in degrees."

I agree, they are not optimized at all for very small angles.

If this were C I would take a shot at it.  But this is Python.

Can some Python person just improve that code?  I can provide the JSON
input to gpsprof if anyone wants to try, instead of just kvetch.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/Be5PW7P8_fMI+R3tXRSsHOQ
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkrPIAAoJEA0O2UlB0XnYGk8H/3oS/QmTiQMqGxBVEe9XZEun
u+2ynbqfOu1K0xoZpjnWPUqTSXKnNuAfi2OBZ4xLZhOfwMUDFec/zrlkYc+saP5B
JqfU9vNhvp4e2LpT/wJUnASj/kb9RgzdVkYUTxDkAQAITMjfe1XNdI5YCeB/X9Gv
xSzvfEhOTWKpfWd/woMulmiUMxc20Ul+oCV0pA+BFv6iudmS06tTK1qHVc6M5RXM
RTjNRlT0DJsIw2nUTFk06kR3tv8MmHXLg8A5QIvKU2cYg2wKNoSfYrVHkMvpOu51
iN+P3ApAv/KG+gko6UAuoEmXJqrWeJ9nwVxP1e/8zeXiRlw6rAtLxK+R627ldFQ=
=3fIK
-----END PGP SIGNATURE-----

--Sig_/Be5PW7P8_fMI+R3tXRSsHOQ--


From MAILER-DAEMON Fri Jul 22 20:03:35 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQkPn-000061-DF
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 20:03:35 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51515)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQkPl-00005u-87
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:03:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQkPj-0001Ee-2i
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:03:32 -0400
Received: from rellim.com ([2001:470:e815::19]:33731 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQkPi-0001ET-SA
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:03:31 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6N035nk015666
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 17:03:12 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6N035nk015666
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469232192; bh=AP36nFFWSatsgYMqOqwLWwvuZW39vypVFxfyIAIr7Kg=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=J4dvqv9gALekWcqJ+B0SBtlAdsa4P7Nya9RZkfYkiboj/8k1rJP/eE65kF+TE8Ne0
	52sxO1wN1AFmsDlW1o9ksBqGiO45dX0a5pKwmvVcVBeNnp6MvIpyVRVM+I2henwFIr
	jxwENBUaifkYrMLv80xkcfavs7ZOC+qjE5m8h6ME=
Date: Fri, 22 Jul 2016 17:03:05 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Greg Troxel <gdt@ir.bbn.com>
Cc: Fred Wright <fw@fwright.net>, GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160722170305.0420d8bb@spidey.rellim.com>
In-Reply-To: <rmi37n1ntba.fsf@fnord.ir.bbn.com>
References: <20160722202103.22268406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722134909.2988cb2b@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1607221351170.28131@bolt.sonic.net>
	<20160722140349.40b8b984@spidey.rellim.com>
	<rmi37n1ntba.fsf@fnord.ir.bbn.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/wPfIgKa.cpZi9X4an5Kb1LK";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 17:03:12 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 00:03:34 -0000

--Sig_/wPfIgKa.cpZi9X4an5Kb1LK
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Greg!

On Fri, 22 Jul 2016 19:31:37 -0400
Greg Troxel <gdt@ir.bbn.com> wrote:

> long double appears not really that portable.
>=20
> http://info.prelert.com/blog/the-pitfalls-of-long-double

Don't care, I just need better than double.
=20
> "Gary E. Miller" <gem@rellim.com> writes:
>=20
> > We aim to have gpsd run on 32 bit and 64 bit systems.  RasPi's,
> > Odroid's and BBB's currently are 32 bit only. =20
>=20
> That really shouldn't be an issue.    32-bit CPUs of various kinds
> have implemented both uint64_t and double (the longer of the two
> normal IEEE754 types) for a long time.   The thing to be careful
> about is to use uint64_t if you want a 64-bit type, and not to assume
> that that int, long, or any of the basic C types are particular
> sizes.  This may well interact badly with python that tends to
> provide the native int.

Don't care, the issue is Python.  gpsprof is written in Python.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/wPfIgKa.cpZi9X4an5Kb1LK
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkrQ5AAoJEA0O2UlB0XnY9aQH/1O11Tf0KQ6Tw4ck5Y2QLgXB
Sr+MszqdcKFQnhVf31nZqM04CylSojnHa4sLwDL/z1egRFIG+nXhoxXGEQqffkQb
N89CBSkZEvnjuDTpk7cnzhwpPy7pymOXbKI7WT8LxrtEGIVR9BtWeSqx2eQlez5Q
irzmFs+ijXNUrjJYAiwSAQBjnpGh45BJ+zvcl1f8a1+IfO4IOQMwWbuuHG+RJMXD
fBRv6oKryXiFMntZkb+umnNtQE6ljJtcMAAoBL7yPZTuOb3Rg4i7DlhCmpKiIp0/
XlIKx7gZITRv1C1vtPZ/BtCNR8LSyNiXRU7fCHpR7wVaTCLsPOjBzDHuWcHLskk=
=4k6U
-----END PGP SIGNATURE-----

--Sig_/wPfIgKa.cpZi9X4an5Kb1LK--


From MAILER-DAEMON Fri Jul 22 20:11:06 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQkX4-00015R-9z
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 20:11:06 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52299)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQkX2-00015K-6o
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:11:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQkWx-0002gs-Lz
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:11:03 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:58703)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQkWx-0002gB-Eh
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:10:59 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 280EB406060; 
	Fri, 22 Jul 2016 17:10:58 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>,
	GPSD Developers List <gpsd-dev@nongnu.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Fri,
	22 Jul 2016 15:19:32 PDT." <20160722151932.4b2b47bc@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 22 Jul 2016 17:10:58 -0700
Message-Id: <20160723001058.280EB406060@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 00:11:05 -0000


gem@rellim.com said:
> I'd rather do "long double" if I can.  Then no worry about improper scaling.
>  And I don't want to rewrite the Python gps.py library in fixed point.
> Execution speed is not an issue.

I'm not a language geek.

Wikipedia says:

  In C and related programming languages, long double refers
  to a floating-point data type that is often more precise than
  double-precision.

Notice the "often" in there.


Maybe useful info here:
  http://docs.scipy.org/doc/numpy-dev/user/basics.types.html

There is a float64 but no float128


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Fri Jul 22 20:31:27 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQkql-00047A-E5
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 20:31:27 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54681)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQkqj-00046o-5X
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:31:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQkqh-0005vG-2s
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:31:24 -0400
Received: from rellim.com ([2001:470:e815::19]:42869 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bQkqg-0005ur-R8
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:31:23 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6N0VAJh025229
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 22 Jul 2016 17:31:16 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6N0VAJh025229
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469233876; bh=o9efL/kI6cB1ErYW+6+fvL7V0KxfY2VqPtWW0HYWpGA=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=ZZxse4NyUPQTD4eCicRd/DDx2qS5qTM3Uo+vOsXKhGgs502Tmjj3y9FEem95Trr8c
	H9avWwOOmWo4Te07KHIF+249e+04OFrE/k+CahV2vdwjfGnFkhdJSxgIK3SAM9KoCu
	G9aGmWW+OE8Yr8DsHOHkwXnn3tQ2nQaGL9zo9qHA=
Date: Fri, 22 Jul 2016 17:31:10 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160722173110.0437eba9@spidey.rellim.com>
In-Reply-To: <20160723001058.280EB406060@ip-64-139-1-69.sjc.megapath.net>
References: <20160722151932.4b2b47bc@spidey.rellim.com>
	<20160723001058.280EB406060@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/vetGDbIa9T+ouB+oAI1Csev";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 22 Jul 2016 17:31:16 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 00:31:26 -0000

--Sig_/vetGDbIa9T+ouB+oAI1Csev
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Fri, 22 Jul 2016 17:10:58 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said:
> > I'd rather do "long double" if I can.  Then no worry about improper
> > scaling. And I don't want to rewrite the Python gps.py library in
> > fixed point. Execution speed is not an issue. =20
>=20
> I'm not a language geek.
>=20
> Wikipedia says:
>=20
>   In C and related programming languages, long double refers
>   to a floating-point data type that is often more precise than
>   double-precision.
>=20
> Notice the "often" in there.

As previously noted, in C11, it is 'recommended by the standard'.
gcc allows me control over what a long double is.  I could solve
the problem in C.

But that is way off in the weeds.  The immediate problem is solely
in Python.

> Maybe useful info here:
>   http://docs.scipy.org/doc/numpy-dev/user/basics.types.html
>=20
> There is a float64 but no float128

I hate to pull in another dependency.  Unless it directly solves
the problem.

Since the root problem is computing small distances from very close
(lat,lon), do you know a simple libary to do just that?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/vetGDbIa9T+ouB+oAI1Csev
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXkrrOAAoJEA0O2UlB0XnYJbcH+wfum+8skW7hRJcsXhrtmnqJ
gy31F0eMrJ/w004ItUZ8Cp0H19xdOfMYm0Oo37r5OgmgcHLQfda1cCXMj/CDaYFq
RtxrGCPtU6H8qNF2s3n/gak8rCWm/qSCQ6wX6Ja0F1Zy6VAmNulNwWV4wnsMT29m
TpcqvkuWGEl+5OlOgNd6tpzaZh303jXpK2ZdIYWzCDrCpGuwPnSFg7yCqlqXKrVu
z1kmykhkgY6u6GD+wxU0HPjQGOaN5U2rPjtlkS27jikyKR6OyHmLBcr+ouAlJU79
eUd0NGQwCuE0PbRiFZRVGFMsaYgcG4I5eNjtCZShjseJ45Dye0qce/K1DOo1LnY=
=Gjvf
-----END PGP SIGNATURE-----

--Sig_/vetGDbIa9T+ouB+oAI1Csev--


From MAILER-DAEMON Fri Jul 22 20:45:19 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQl4B-0007bI-Px
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 20:45:19 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56296)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQl49-0007Zs-Ad
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:45:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQl43-0000JZ-EO
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:45:16 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:60077)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bQl43-0000If-6V
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 20:45:11 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 5AF02406063; 
	Fri, 22 Jul 2016 17:45:03 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Fred Wright <fw@fwright.net>
cc: GPSD Developers List <gpsd-dev@nongnu.org>,
	hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Fred Wright <fw@fwright.net> of "Fri,
	22 Jul 2016 16:34:14 PDT."
	<Pine.LNX.4.58L1X.1607221628060.22381@bolt.sonic.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 22 Jul 2016 17:45:03 -0700
Message-Id: <20160723004503.5AF02406063@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=E2=9C=98CEP=2850=29_0=2E285_metersMime-Ver?=
 =?utf-8?b?c2lvbjogMS4w?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 00:45:18 -0000


fw@fwright.net said:
> Spherical distances are tricky, and ISTR that GPSD switched distance
> algorithms at one point.  You almost certainly don't want the simple
> spherical law-of-cosines formula, since that has awful numerical
> sensitivities for short distances. 

I'd expect distances for nearby points would be simple.

I'm assuming you start with LAT/LON.  Subtract LAT and LON.  LAT converts to 
feet/meters by diameter of the Earth.  LON is similar but gets scaled by cos 
of LAT.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Fri Jul 22 21:42:54 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQlxu-0002ce-3g
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 21:42:54 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33744)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bQlxs-0002cV-44
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 21:42:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bQlxo-0001Ir-Ut
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 21:42:52 -0400
Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:32851)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bQlxo-0001In-N1
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 21:42:48 -0400
Received: by mail-lf0-x242.google.com with SMTP id f93so8383941lfi.0
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 18:42:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:from:to:subject:message-id:in-reply-to:references:mime-version
	:content-transfer-encoding;
	bh=NzARtQFbzZyY2cCFRBKysyNHUtKIhhU+iv6xykC9CLQ=;
	b=xRluR6GlHujzNZj+Z1d3+2qPIpEl98OU5NF6o3hHjjBm9wDu4rXrhKk1EEMvBcrsTs
	S5uWylx50pXnfy+EsLsdtCPO3WTRBjUQJ5Hx9CxydfcUDfmkWLXCLTfh/vrsRnLmkBl+
	jdf6puX9dvZdFd/llCXo+6PkLgujGgoK4RHrgB+8ulFH7eintAqAACVdTUmicVqWFiUZ
	dxuG2JSfFhXM+eIDq8dSpDT8SzzL1fqLVCNz6DgDoxFGEeJPx8yA903iUxIZ2hegoD6U
	H7cFEIqmKQTdGh0xNRSAMgI3WqcDlKRCOed9J2luZXCXkrWT90uBS3I9QpjhT3Q79isg
	iaew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-transfer-encoding;
	bh=NzARtQFbzZyY2cCFRBKysyNHUtKIhhU+iv6xykC9CLQ=;
	b=ZNUrwx6ByLrzyuBGWf3lsc3P4bHYnyPUuFRU8lWOwMMWaKoHfrFMQWi9kL9OwS77BB
	UzFXgagsbCa7Xzy4Cmp0Gjl45C46EVm+nYIbRZRGWM7JAR4aMKggIn9iKbPxANaeUPYm
	mcNIlIvF3XcUtgsb1lyyhMNwT2moLIjT6LNGc7IAlDq+CgQwEZ8RASk+hCz1LcepdPZN
	Z/8Pnb6eb2CJ98M4EpbGgNtML4Id3x3ZM6d3aj0+VuFkY0LrtG94PCe6lEHb/WIZ4C/O
	tHSTd6g21Pf9DQu4ifSk/mzjcXdiXsm11AJBLp29uU9y8yv4PjkrRHg5QqDpmyJuB5pu
	SbuA==
X-Gm-Message-State: AEkoouuBOibdVpuj1R6L4ZaQvLqSyKLm8Ky+bQUCCWOCg+2A4tgDYwMZi9niKhlBu2mQmA==
X-Received: by 10.25.145.211 with SMTP id t202mr3390380lfd.208.1469238167070; 
	Fri, 22 Jul 2016 18:42:47 -0700 (PDT)
Received: from hopo (85-76-13-25-nat.elisa-mobile.fi. [85.76.13.25])
	by smtp.gmail.com with ESMTPSA id 26sm3424127lfp.38.2016.07.22.18.42.45
	for <gpsd-dev@nongnu.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 22 Jul 2016 18:42:46 -0700 (PDT)
Date: Sat, 23 Jul 2016 04:42:44 +0300
From: Juha Nurmela <oh5nxo@gmail.com>
To: gpsd-dev@nongnu.org
Message-Id: <20160723044244.bc098d868c4c0d4074bd1864@gmail.com>
In-Reply-To: <20160722162920.7999e8b0@spidey.rellim.com>
References: <20160722091807.D5EB9406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722110626.4fe78fc5@spidey.rellim.com>
	<rmi7fcdntni.fsf@fnord.ir.bbn.com>
	<20160722162920.7999e8b0@spidey.rellim.com>
X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; i386-portbld-freebsd10.1)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2a00:1450:4010:c07::242
Subject: Re: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 01:42:53 -0000


> >   fld &=  ~(~0ULL << width)

Isn't the ubits() function little bit dangerous?

The prototype and comments look like that it promises to extract 64 bits wide fields, but it will quietly fail with unaligned really wide fields. Variable fld is asked to hold more than 64 bits in certain cases.

Juha


Not wanting to whine with a sweatless shirt,

{
    int remain = width;
    uint64_t fld = 0;

    assert(width <= sizeof(uint64_t) * CHAR_BIT);

    buf += start / CHAR_BIT;
    start %= CHAR_BIT;

    if (start) {
        int piece = CHAR_BIT - start; /* might be more than remains */

        fld = *buf++ & (0xFF >> start); /* get lsbits */
        remain -= piece;

        if (remain < 0) {
            fld >>= -remain; /* just drop excess bits and all done */
            remain = 0;
        }
    }
    while (remain >= CHAR_BIT) {
        remain -= CHAR_BIT;
        fld <<= CHAR_BIT;
        fld |= *buf++;
    }
    if (remain) {
        fld <<= remain;
        fld |= *buf >> (CHAR_BIT - remain); /* get msbits, rightjusted */
    }

    /* was extraction as a little-endian requested? */


From MAILER-DAEMON Fri Jul 22 21:45:11 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQm07-00037b-7l
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 21:45:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33882)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQm04-00034A-I3
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 21:45:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQm00-0001c8-3P
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 21:45:07 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:57164)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bQlzz-0001by-Pc
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 21:45:04 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6N1ixrK030270
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 18:44:59 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6N1ixI6001649
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 18:44:59 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6N1iwwk001646
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 18:44:59 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 22 Jul 2016 18:44:58 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160723004503.5AF02406063@ip-64-139-1-69.sjc.megapath.net>
Message-ID: <Pine.LNX.4.58L1X.1607221816170.15810@bolt.sonic.net>
References: <20160723004503.5AF02406063@ip-64-139-1-69.sjc.megapath.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVYTyrkr5CLLFhS75opvcZxGV4rof6e7dVkkX3xlfbHB+HgjVXdPNVE1Vga6hGlziRWDOaBP6ij1+T/1WDRrQ67d
X-Sonic-ID: C;FgW2EHdQ5hGMF5tMTlz00w== M;pqrzEHdQ5hGMF5tMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] several messages
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 01:45:10 -0000


On Fri, 22 Jul 2016, Greg Troxel wrote:
> "Gary E. Miller" <gem@rellim.com> writes:
>
> > We aim to have gpsd run on 32 bit and 64 bit systems.  RasPi's, Odroid's
> > and BBB's currently are 32 bit only.
>
> That really shouldn't be an issue.    32-bit CPUs of various kinds have
> implemented both uint64_t and double (the longer of the two normal
> IEEE754 types) for a long time.   The thing to be careful about is to

Yes, as long as it's C99 or later.

> use uint64_t if you want a 64-bit type, and not to assume that that int,

Mostly yes, except that the 64-bit fixed types tend to be "long" on a
64-bit platform and "long long" on a 32-bit platform, so if you want to
use *printf you need a bitness-dependent format string.  I sometimes use
"long long" directly to avoid that.

> long, or any of the basic C types are particular sizes.  This may well
> interact badly with python that tends to provide the native int.

If interacting with Python in binary, anyway.

On Fri, 22 Jul 2016, Gary E. Miller wrote:

> But that is way off in the weeds.  The immediate problem is solely
> in Python.

No, it's not.  In C you may have long double, but it may be no better than
double, anyway.  In Python you only get double, but that's no worse in
terms of what you can count on.  Numpy lets you get long double, but that
still may be no better.

The bottom line is that you need calculations that work properly with
doubles, whether it's C, C++, or Python.

On Fri, 22 Jul 2016, Hal Murray wrote:

>
> fw@fwright.net said:
> > Spherical distances are tricky, and ISTR that GPSD switched distance
> > algorithms at one point.  You almost certainly don't want the simple
> > spherical law-of-cosines formula, since that has awful numerical
> > sensitivities for short distances.
>
> I'd expect distances for nearby points would be simple.
>
> I'm assuming you start with LAT/LON.  Subtract LAT and LON.  LAT converts to
> feet/meters by diameter of the Earth.  LON is similar but gets scaled by cos
> of LAT.

Yes, for *really* short distances you can just use "scaled Pythagoras".
It's not mathematically correct, but the discrepancy approaches zero as
the distance approaches zero.

The spherical law of cosines is mathematically correct (for a sphere,
anyway), but performs terribly for small distances.  This is because
floating point is designed to have good relative accuracy for numbers near
zero, but not when the "information" is contained in small differences
from one (as in cosines of small angles).

The Haversine formula solves this by using an inverted version of the
cosine ("versed sine") which is near zero (and hence plays nicely with
floating point) for small angles.  It's mathematically correct and works
accurately for small angles, but may get bad for certain *large* angle
cases.  See:

	https://en.wikipedia.org/wiki/Haversine_formula

All of the above assume a sphere.  The more complicated Vincenty formula
handles ellipsoidality, but at the expense of being iterative as well as
complicated.  See:

	https://en.wikipedia.org/wiki/Vincenty%27s_formulae

At some point, gpsutils.c switched from Haversine to Vincenty.  And it
doesn't require anything better than doubles.

There's a way to compromise on just the ellipsoidality issue by using a
spherical formula to get the "distance angle" but then using the actual
ellipsoidal radius (which has a non-iterative formula) at the location in
question rather than a constant for the angle to distance conversion.
Very roughly speaking, the error in this approach is proportional to the
product of the distance and the eccentricity.

Fred Wright


From MAILER-DAEMON Fri Jul 22 21:59:34 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQmE2-0005rs-47
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 21:59:34 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34569)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1bQmDz-0005rl-Sy
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 21:59:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1bQmDu-0003hT-7K
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 21:59:30 -0400
Received: from static-71-162-243-5.phlapa.fios.verizon.net
	([71.162.243.5]:49212 helo=snark.thyrsus.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1bQmDu-0003eK-39
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 21:59:26 -0400
Received: by snark.thyrsus.com (Postfix, from userid 1000)
	id 4E13413A60E3; Fri, 22 Jul 2016 21:58:48 -0400 (EDT)
Date: Fri, 22 Jul 2016 21:58:48 -0400
From: "Eric S. Raymond" <esr@thyrsus.com>
To: Juha Nurmela <oh5nxo@gmail.com>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160723015848.GB26470@thyrsus.com>
Reply-To: esr@thyrsus.com
References: <20160722091807.D5EB9406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722110626.4fe78fc5@spidey.rellim.com>
	<rmi7fcdntni.fsf@fnord.ir.bbn.com>
	<20160722162920.7999e8b0@spidey.rellim.com>
	<20160723044244.bc098d868c4c0d4074bd1864@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160723044244.bc098d868c4c0d4074bd1864@gmail.com>
Organization: Eric Conspiracy Secret Labs
X-Eric-Conspiracy: There is no conspiracy
User-Agent: Mutt/1.5.23 (2014-03-12)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 71.162.243.5
Subject: Re: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 01:59:33 -0000

Juha Nurmela <oh5nxo@gmail.com>:
> 
> > >   fld &=  ~(~0ULL << width)
> 
> Isn't the ubits() function little bit dangerous?

Yes, if you don't know what you're doing.

> The prototype and comments look like that it promises to extract 64 bits wide fields, but it will quietly fail with unaligned really wide fields. Variable fld is asked to hold more than 64 bits in certain cases.

I wrote that function and most of its uses.  If you grep for 'ubits(' and
'UBITS('in the code you will easily be able to verify that the longest field
width we extract with it is 42.

You might also want to take a look at the regression test for that kind
of function, in test_bits.c.

-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


From MAILER-DAEMON Fri Jul 22 22:12:46 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQmQo-0007Z2-P6
	for mharc-gpsd-dev@gnu.org; Fri, 22 Jul 2016 22:12:46 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35467)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bQmQm-0007Yu-EE
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 22:12:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bQmQi-0005Z9-8m
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 22:12:43 -0400
Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:33480)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oh5nxo@gmail.com>) id 1bQmQi-0005Z5-0f
	for gpsd-dev@nongnu.org; Fri, 22 Jul 2016 22:12:40 -0400
Received: by mail-lf0-x244.google.com with SMTP id f93so8402654lfi.0
	for <gpsd-dev@nongnu.org>; Fri, 22 Jul 2016 19:12:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:from:cc:subject:message-id:in-reply-to:references:mime-version
	:content-transfer-encoding;
	bh=bzW1ORbZvD/l/ThsXnC/lgvYMTsvo13x6HYlygMn8s0=;
	b=yGpcy/PGlLkvDjqGP+RGfpJlUuUzEZEIuxIRBtWohM9tqFF0BHAH3DkVSnDjiMKf6q
	EqRhgcp7e+ZCr7skOSZojpaz6QPwp6jzZkLssWQ0lolg++bEjuhZPZcJ5DngySJenmjl
	0wM5csWyhu1HfsLqxfsz8ociFxXVE+6/Qx8tAURh3CtO5Ewg7n2OwI4wnLAiPJl+cww8
	sf5QLZ8DC8HO8s6uIN7t25COEPT4lWvcBD+6yq58jBkjRS/yXZrrDUGycdztiFVwEJEh
	o3PRY/kYzgO8JabyELWOYo8OPe2ATbcsw14pOxX7eViCjZR/SomMISPfA5PClI0ljJjn
	OdNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:cc:subject:message-id:in-reply-to
	:references:mime-version:content-transfer-encoding;
	bh=bzW1ORbZvD/l/ThsXnC/lgvYMTsvo13x6HYlygMn8s0=;
	b=Vxdfsm/v3CR+6+HZDcW0YN3nmcXe7sd7rcsN9gNjas5yMmmptKtfTALTeieA+Yt2w3
	KSv1ZfEjPNFJboesC8rPquEaoGNmQnMgDreeCHF9RhWkUyCP4pvCZq3XD8mx6aDNBqqr
	L6ds8fNxXhG2QthCa2JMY6xg4mvMB3h9q8WT71qW993olZlO7AKqzYsD31Rh1zyOiUWc
	oGThjokC3+7PEjd+FZ5spAgrV4yzcP8utx9I02DNb8BU5J2CHXNwfYQneMAdBSmafizE
	8BbAJz9TWjZmwZYUA+dPdw4gt+QdD/YFYyM97HriDLKycFCnBk03zjsjYd+6+hQQJ25i
	3VDQ==
X-Gm-Message-State: AEkoouu33iDiW6j7QNELnGILyRGDgQN1sMymWvk8WPQMOeN0Nmg6xbiu0vjl8/ghZqyV6g==
X-Received: by 10.25.21.16 with SMTP id l16mr3383524lfi.229.1469239958921;
	Fri, 22 Jul 2016 19:12:38 -0700 (PDT)
Received: from hopo (85-76-13-25-nat.elisa-mobile.fi. [85.76.13.25])
	by smtp.gmail.com with ESMTPSA id
	u14sm3417349lja.11.2016.07.22.19.12.37 for <gpsd-dev@nongnu.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 22 Jul 2016 19:12:37 -0700 (PDT)
Date: Sat, 23 Jul 2016 05:12:35 +0300
From: Juha Nurmela <oh5nxo@gmail.com>
Cc: gpsd-dev@nongnu.org
Message-Id: <20160723051235.4b608a398b8b761c4246ede4@gmail.com>
In-Reply-To: <20160723015848.GB26470@thyrsus.com>
References: <20160722091807.D5EB9406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722110626.4fe78fc5@spidey.rellim.com>
	<rmi7fcdntni.fsf@fnord.ir.bbn.com>
	<20160722162920.7999e8b0@spidey.rellim.com>
	<20160723044244.bc098d868c4c0d4074bd1864@gmail.com>
	<20160723015848.GB26470@thyrsus.com>
X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; i386-portbld-freebsd10.1)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2a00:1450:4010:c07::244
Subject: Re: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 02:12:45 -0000

On Fri, 22 Jul 2016 21:58:48 -0400 "Eric S. Raymond" <esr@thyrsus.com> wrote:

> Juha Nurmela <oh5nxo@gmail.com>:
> > Isn't the ubits() function little bit dangerous?
> 
> Yes, if you don't know what you're doing.

Ah, okay, sorry about the noise.

Did the grep,
Juha


From MAILER-DAEMON Sat Jul 23 10:20:58 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bQxnW-0002CL-ST
	for mharc-gpsd-dev@gnu.org; Sat, 23 Jul 2016 10:20:58 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42941)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQxnV-0002CA-0L
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 10:20:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQxnQ-0006ts-UI
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 10:20:56 -0400
Received: from fnord.ir.bbn.com ([192.1.100.210]:61280)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gdt@ir.bbn.com>) id 1bQxnQ-0006to-PS
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 10:20:52 -0400
Received: by fnord.ir.bbn.com (Postfix, from userid 10853)
	id 5C943A830; Sat, 23 Jul 2016 10:20:52 -0400 (EDT)
From: Greg Troxel <gdt@ir.bbn.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
References: <20160723004503.5AF02406063@ip-64-139-1-69.sjc.megapath.net>
	<Pine.LNX.4.58L1X.1607221816170.15810@bolt.sonic.net>
OpenPGP: id=32611E25
X-Hashcash: 1:20:160723:fw@fwright.net::X9LabwZxUX3vXZyX:00020he
X-Hashcash: 1:20:160723:gpsd-dev@nongnu.org::ZkGZj7URAznALbyL:0000000000000000000000000000000000000000002Asr
Date: Sat, 23 Jul 2016 10:20:52 -0400
In-Reply-To: <Pine.LNX.4.58L1X.1607221816170.15810@bolt.sonic.net> (Fred
	Wright's message of "Fri, 22 Jul 2016 18:44:58 -0700 (PDT)")
Message-ID: <rmik2gcmo57.fsf@fnord.ir.bbn.com>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (berkeley-unix)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 192.1.100.210
Subject: Re: [gpsd-dev] several messages
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 14:20:58 -0000

--=-=-=
Content-Type: text/plain


Fred Wright <fw@fwright.net> writes:

> On Fri, 22 Jul 2016, Greg Troxel wrote:
>> "Gary E. Miller" <gem@rellim.com> writes:
>>
>> > We aim to have gpsd run on 32 bit and 64 bit systems.  RasPi's, Odroid's
>> > and BBB's currently are 32 bit only.
>>
>> That really shouldn't be an issue.    32-bit CPUs of various kinds have
>> implemented both uint64_t and double (the longer of the two normal
>> IEEE754 types) for a long time.   The thing to be careful about is to
>
> Yes, as long as it's C99 or later.

I forgot that, but surely C99 is an ok restriction and one we probably
have already.

>> use uint64_t if you want a 64-bit type, and not to assume that that int,
>
> Mostly yes, except that the 64-bit fixed types tend to be "long" on a
> 64-bit platform and "long long" on a 32-bit platform, so if you want to
> use *printf you need a bitness-dependent format string.  I sometimes use
> "long long" directly to avoid that.

PRIu64 :-)  Agreed, but to write portable code with fixed-width types,
one basicallyy has to use the PRI specifiers.  It's a little ugly, but
not hard.



--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAleTfUQACgkQ+vesoDJhHiUXlQCfaf36uGIGbSnZexSmECr2gWyw
IqEAoI4YgNd9EQsVwmFzKF+pB20PzKAR
=46rq
-----END PGP SIGNATURE-----
--=-=-=--


From MAILER-DAEMON Sat Jul 23 16:01:59 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bR37X-0000Rk-AQ
	for mharc-gpsd-dev@gnu.org; Sat, 23 Jul 2016 16:01:59 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40543)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bR37V-0000Rc-6x
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 16:01:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bR37Q-0007rv-84
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 16:01:56 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:57730)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bR37P-0007qw-VP
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 16:01:52 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6NK1lN2019574
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sat, 23 Jul 2016 13:01:47 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6NK1lhH016270
	for <gpsd-dev@nongnu.org>; Sat, 23 Jul 2016 13:01:47 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6NK1k6d016265
	for <gpsd-dev@nongnu.org>; Sat, 23 Jul 2016 13:01:47 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sat, 23 Jul 2016 13:01:46 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <rmik2gcmo57.fsf@fnord.ir.bbn.com>
Message-ID: <Pine.LNX.4.58L1X.1607231237480.32162@bolt.sonic.net>
References: <20160723004503.5AF02406063@ip-64-139-1-69.sjc.megapath.net>
	<Pine.LNX.4.58L1X.1607221816170.15810@bolt.sonic.net>
	<rmik2gcmo57.fsf@fnord.ir.bbn.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVZHm1i2Q8KKy6mImS+27gzJ07eumkXRrBq2AzjRk0CsQHvO32fpbd50E8stFXPkrftj8qNGuAnSBCLSCaYiqKGG
X-Sonic-ID: C;uLtESRBR5hGJ1JtMTlz00w== M;HklvSRBR5hGJ1JtMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] CEP(50) 0.285 meters
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 20:01:58 -0000


Restoring the original subject (with cleanup).  Sorry about the earlier
subject change; I thought Pine was smart enough not to do that when the
subjects were identical (or maybe they weren't identical due to the funny
characters), but didn't check.

On Sat, 23 Jul 2016, Greg Troxel wrote:
> Fred Wright <fw@fwright.net> writes:
> > On Fri, 22 Jul 2016, Greg Troxel wrote:
> >> That really shouldn't be an issue.    32-bit CPUs of various kinds have
> >> implemented both uint64_t and double (the longer of the two normal
> >> IEEE754 types) for a long time.   The thing to be careful about is to
> >
> > Yes, as long as it's C99 or later.
>
> I forgot that, but surely C99 is an ok restriction and one we probably
> have already.

Indeed.

> >> use uint64_t if you want a 64-bit type, and not to assume that that int,
> >
> > Mostly yes, except that the 64-bit fixed types tend to be "long" on a
> > 64-bit platform and "long long" on a 32-bit platform, so if you want to
> > use *printf you need a bitness-dependent format string.  I sometimes use
> > "long long" directly to avoid that.
>
> PRIu64 :-)  Agreed, but to write portable code with fixed-width types,
> one basicallyy has to use the PRI specifiers.  It's a little ugly, but
> not hard.

I wasn't aware of that, although I have created something similar on
occasion.  But it's *way* ugly and verbose, seriously impairing
readability.

On Fri, 22 Jul 2016, Fred Wright wrote:

> There's a way to compromise on just the ellipsoidality issue by using a
> spherical formula to get the "distance angle" but then using the actual
> ellipsoidal radius (which has a non-iterative formula) at the location in
> question rather than a constant for the angle to distance conversion.
> Very roughly speaking, the error in this approach is proportional to the
> product of the distance and the eccentricity.

I misstated a bit.  The relevant scaling parameter is the normal, not the
radius (assuming geodetic latitude, which is the kind normally used).
This is the perpendicular segment from the local tangent plane to the
equatorial plane.  Except at the equator and poles, it doesn't quite pass
through the center.

BTW, if the only purpose is to calculate GPS error bounds, then scaled
Pythagoras is perfectly adequate.  If the fixes are so badly scattered
that it isn't adequate, then the GPS is severely impaired. :-)

long_scale = cos((lat1 + lat2) / 2)
distance_angle = sqrt((lat1 - lat2) ** 2 + ((long1 - long2) * long_scale)) ** 2)
distance_radians = distance_angle * PI / 180.0
distance = distance_radians * earth_radius

Substituting the latitude-dependent ellipsoidal normal for earth_radius
improves accuracy a bit, but it's a pretty minor difference.

Fred Wright


From MAILER-DAEMON Sat Jul 23 16:32:16 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bR3aq-00064W-Pp
	for mharc-gpsd-dev@gnu.org; Sat, 23 Jul 2016 16:32:16 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43533)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bR3ap-00064G-28
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 16:32:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bR3aj-000459-4A
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 16:32:14 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:38422)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bR3ai-000455-Ru
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 16:32:09 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6NKW6UR012912
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sat, 23 Jul 2016 13:32:06 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6NKW6Yx002234
	for <gpsd-dev@nongnu.org>; Sat, 23 Jul 2016 13:32:06 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6NKW6SU002231
	for <gpsd-dev@nongnu.org>; Sat, 23 Jul 2016 13:32:06 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sat, 23 Jul 2016 13:32:06 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <rmi7fcdntni.fsf@fnord.ir.bbn.com>
Message-ID: <Pine.LNX.4.58L1X.1607231316320.32162@bolt.sonic.net>
References: <20160722091807.D5EB9406060@ip-64-139-1-69.sjc.megapath.net>
	<20160722110626.4fe78fc5@spidey.rellim.com>
	<rmi7fcdntni.fsf@fnord.ir.bbn.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVbofHd1dxImvEH5Bgjx7kDw6kCJ8E32tjORhPUFoddv3f2Sl8CViE70bUoumweWFYwfWYg4+dV4YkYz7r24jWK0
X-Sonic-ID: C;vDW4hRRR5hGt2JtMTlz00w== M;0tTahRRR5hGt2JtMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 20:32:16 -0000


No subject garble this time, so it must have been the funny character.

On Fri, 22 Jul 2016, Hal Murray wrote:

> I don't understand the left shift stuff.  I'm surprised you haven't seen it
> and fixed it.

I personally think the C standard is being overly pedantic in this area.
Ostensibly it's about avoiding possible overflow traps, but there are
various other integer overflow cases that C allows (while blithely
ignoring).  Consider:

	-1LL * (1 << wid)

> --------
>
> There is another mess in this area.  Why is scons rebuilding a lot of stuff
> when I install?

I think I's seen that as well, but didn't investigate.  Though scons does
have a "tell me why you're rebuilding these things" option.

> My work flow is to do a git pull on one machine then rsync the bits without
> the git overhead to various other systems.  At one point, I thought scons was
> rebuilding stuff to get the current version that it couldn't get from git.
> But it looks like it's rebuilding a lot more than that.  Mumble.  I haven't
> looked carefully recently.

One thing to be aware of, though it doesn't seem to be applicabe in this
case, is that whenever the version has "-dev" in it, the current git
commit ID is incorporated into the version.  Thus any new commit triggers
a rebuild of anything that depends on the version string.

> Am I being unreasonable when I expect scons install to not rebuild anything
> if I have already done a build and check?

No, but one possibility is discrepancies between root and non-root
environments.  Presumably you're building as non-root and installing as
root.

BTW, building as root and then later trying to build as non-root can be a
complete mess, since some of scons's internal files wind up being owned by
root and not modifiable by the non-root build.

On Fri, 22 Jul 2016, Greg Troxel wrote:

> except that this won't work for width 32.   So instead this could be
>
>   fld &=  ~(~0ULL << width)

In general I think it's cleaner to write "all ones" as ~0 rather than as
-1, especially when the result is intended to be unsigned.

Strictly speaking, that's a portability requirement, given that C doesn't
demand a twos-complement processor, but I suspect that all the real-world
C code that works correctly on a non-twos-complement processor could be
written on the head of a pin.  And although the original UNIX was written
for a ones-complement processor, I don't think there was ever a PDP-7 C.

Fred Wright


From MAILER-DAEMON Sat Jul 23 17:21:26 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bR4MQ-0007Xa-3k
	for mharc-gpsd-dev@gnu.org; Sat, 23 Jul 2016 17:21:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51481)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bR4MO-0007XQ-BU
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 17:21:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bR4MK-0004Za-48
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 17:21:23 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:55004)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bR4MJ-0004YQ-Rt
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 17:21:20 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 42CF3406063; 
	Sat, 23 Jul 2016 14:21:13 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Fred Wright <fw@fwright.net>
cc: GPSD Developers List <gpsd-dev@nongnu.org>,
	hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Fred Wright <fw@fwright.net> of "Sat,
	23 Jul 2016 13:32:06 PDT."
	<Pine.LNX.4.58L1X.1607231316320.32162@bolt.sonic.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 23 Jul 2016 14:21:13 -0700
Message-Id: <20160723212113.42CF3406063@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] Warnings on 32 bit Fedora 24
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 21:21:25 -0000

[Context is scons install rebuilding stuff.]

> No, but one possibility is discrepancies between root and non-root
> environments.  Presumably you're building as non-root and installing as
> root.

If scons doesn't control all relevant parts of the environment, then you and 
I can accidentally build different versions even if we are using the same 
distro.  That would make tracking bugs "interesting".

> BTW, building as root and then later trying to build as non-root can be a
> complete mess, since some of scons's internal files wind up being owned by
> root and not modifiable by the non-root build. 

Been there.  I have a script to do the install.  It includes a chmod -R to 
fix things up.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Sat Jul 23 17:32:59 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bR4Xb-0001CZ-7Y
	for mharc-gpsd-dev@gnu.org; Sat, 23 Jul 2016 17:32:59 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52607)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bR4XZ-0001CF-7N
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 17:32:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bR4XW-0006CY-09
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 17:32:57 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:55330)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bR4XV-0006CU-Ne
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 17:32:53 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id DFB40406063; 
	Sat, 23 Jul 2016 14:32:50 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 23 Jul 2016 14:32:50 -0700
Message-Id: <20160723213250.DFB40406063@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: [gpsd-dev] Bogus rebuilds from scons
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 21:32:58 -0000


After build and check...

"scons" (no args) ends with:

Altered configuration variables:
bluez = False (default True): BlueZ support for Bluetooth devices
qt = False (default True): build QT bindings
scons: done reading SConscript files.
scons: Building targets ...
g++ -o libgps.so.23.0.0 -pthread -shared -Wl,-Bsymbolic 
-Wl,-soname=libgps.so.23 ais_json.os bits.os clock_gettime.os daemon.os 
gpsutils.os gpsdclient.os gps_maskdump.os hex.os json.os libgps_core.os 
libgps_dbus.os libgps_json.os libgps_shm.os libgps_sock.os netlib.os 
ntpshmread.os rtcm2_json.os rtcm3_json.os shared_json.os strl.os libgpsmm.os 
-L. -lrt -ldbus-1 -ldbus-1 -lrt
leapseconds_cache_rebuild(["leapseconds.cache"], ["leapsecond.py"])
timebase_h(["timebase.h"], ["leapseconds.cache"])
scons: done building targets.

Do it again and I get the same results.

--------

After scons (build) and scons check,
scons install does a blizard of rebuilding.

Maybe I'm doing something stupid.  Can somebody reproduce this?

After scons install.

-rw-r--r-- 1 root root 52560 Jul 23 14:24 ais_json.o
-rw-r--r-- 1 root root  3052 Jul 23 14:24 bits.o
-rw-r--r-- 1 root root  1696 Jul 23 14:23 bsd_base64.o
-rw-r--r-- 1 root root 14288 Jul 23 14:24 cgps.o
-rw-r--r-- 1 root root   660 Jul 23 14:24 clock_gettime.o
-rw-r--r-- 1 root root  2392 Jul 23 14:23 crc24q.o
-rw-r--r-- 1 root root   652 Jul 23 14:24 daemon.o
-rw-r--r-- 1 root root  2100 Jul 23 14:23 dbusexport.o
-rw-r--r-- 1 root root 22120 Jul 23 14:24 driver_ais.o
-rw-r--r-- 1 root root  3732 Jul 23 14:24 driver_evermore.o
-rw-r--r-- 1 root root 15880 Jul 23 14:24 driver_garmin.o
-rw-r--r-- 1 root root  6180 Jul 23 14:24 driver_garmin_txt.o
-rw-r--r-- 1 root root 16112 Jul 23 14:24 driver_geostar.o
-rw-r--r-- 1 root root 10176 Jul 23 14:24 driver_italk.o
-rw-r--r-- 1 root root 21928 Jul 23 14:24 driver_navcom.o
-rw-r--r-- 1 root root 24488 Jul 23 14:24 driver_nmea0183.o
-rw-r--r-- 1 root root 26884 Jul 23 14:24 driver_nmea2000.o
-rw-r--r-- 1 root root  7020 Jul 23 14:24 driver_oncore.o
-rw-r--r-- 1 root root  6272 Jul 23 14:24 driver_rtcm2.o
-rw-r--r-- 1 root root 12604 Jul 23 14:24 driver_rtcm3.o
-rw-r--r-- 1 root root 21776 Jul 23 14:24 driver_sirf.o
-rw-r--r-- 1 root root  7444 Jul 23 14:24 driver_skytraq.o
-rw-r--r-- 1 root root 21184 Jul 23 14:24 drivers.o
-rw-r--r-- 1 root root  7904 Jul 23 14:24 driver_superstar2.o
-rw-r--r-- 1 root root 24928 Jul 23 14:24 driver_tsip.o
-rw-r--r-- 1 root root 13356 Jul 23 14:24 driver_ubx.o
-rw-r--r-- 1 root root  7188 Jul 23 14:24 driver_zodiac.o

scons install again rebuilds libgps.so.23.0.0 as above.  It doesn't install 
anything.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Sat Jul 23 18:51:15 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bR5lK-0007If-WF
	for mharc-gpsd-dev@gnu.org; Sat, 23 Jul 2016 18:51:15 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33157)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bR5lI-0007IX-Tk
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 18:51:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bR5lE-0001aE-Vu
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 18:51:12 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:57636)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bR5lE-0001ZA-Nm
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 18:51:08 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 99695406063; 
	Sat, 23 Jul 2016 15:51:04 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Hal Murray <hmurray@megapathdsl.net> of "Sat,
	23 Jul 2016 14:32:50 PDT."
	<20160723213250.DFB40406063@ip-64-139-1-69.sjc.megapath.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 23 Jul 2016 15:51:04 -0700
Message-Id: <20160723225104.99695406063@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] Bogus rebuilds from scons
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 22:51:14 -0000


More poking around...


fw@fwright.net said:
> I think I's seen that as well, but didn't investigate.  Though scons does
> have a "tell me why you're rebuilding these things" option.

Thanks.

scons --debug=explain is the magic.


scons: done reading SConscript files.
scons: Building targets ...
scons: rebuilding `libgps.so.23.0.0' because the contents of the build action 
changed
               action: SharedFlagChecker(target, source, env)
                       VersionedSharedLibrary(target, source, env)
g++ -o libgps.so.23.0.0 -pthread -shared -Wl,-Bsymbolic 
-Wl,-soname=libgps.so.23 ais_json.os bits.os clock_gettime.os daemon.os 
gpsutils.os gpsdclient.os gps_maskdump.os hex.os json.os libgps_core.os 
libgps_dbus.os libgps_json.os libgps_shm.os libgps_sock.os netlib.os 
ntpshmread.os rtcm2_json.os rtcm3_json.os shared_json.os strl.os libgpsmm.os 
-L. -lrt -ldbus-1 -ldbus-1 -lrt

I don't know what that is trying to tell me.

--------

On the install mess...

It's full of things like:
scons: rebuilding `sd_socket.o' because:
           `/usr/lib/ccache/gcc' is no longer a dependency
           `/bin/gcc' is a new dependency

I'm not sure how to fix that.  I have a script which seems like the right 
place to fix the search path, but that script runs on various platforms which 
may or may not have ccache available or installed.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Sat Jul 23 19:27:51 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bR6Kl-0005Y3-GH
	for mharc-gpsd-dev@gnu.org; Sat, 23 Jul 2016 19:27:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36137)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bR6Ki-0005Pf-TM
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 19:27:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bR6Ke-0006fa-Nm
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 19:27:47 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:47905)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bR6Ke-0006fS-FG
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 19:27:44 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6NNReFm021232
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sat, 23 Jul 2016 16:27:40 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6NNRdef013533
	for <gpsd-dev@nongnu.org>; Sat, 23 Jul 2016 16:27:39 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6NNRddl013527
	for <gpsd-dev@nongnu.org>; Sat, 23 Jul 2016 16:27:39 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sat, 23 Jul 2016 16:27:39 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <Pine.LNX.4.58L1X.1607231237480.32162@bolt.sonic.net>
Message-ID: <Pine.LNX.4.58L1X.1607231619510.8214@bolt.sonic.net>
References: <20160723004503.5AF02406063@ip-64-139-1-69.sjc.megapath.net>
	<Pine.LNX.4.58L1X.1607221816170.15810@bolt.sonic.net>
	<rmik2gcmo57.fsf@fnord.ir.bbn.com>
	<Pine.LNX.4.58L1X.1607231237480.32162@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVbDhijsI5sFXYQjPxiyq+jZtMXudYmnaVF3Q1BCc/dy+IMj13Tx13joiUVEoihaUCSOXMKrKjZ2RnkEzosd7Z9k
X-Sonic-ID: C;LhQjDC1R5hGDJJtMTlz00w== M;GJdHDC1R5hGDJJtMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] CEP(50) 0.285 meters
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jul 2016 23:27:49 -0000


On Sat, 23 Jul 2016, Fred Wright wrote:
> On Fri, 22 Jul 2016, Fred Wright wrote:
>
> > There's a way to compromise on just the ellipsoidality issue by using a
> > spherical formula to get the "distance angle" but then using the actual
> > ellipsoidal radius (which has a non-iterative formula) at the location in
> > question rather than a constant for the angle to distance conversion.
> > Very roughly speaking, the error in this approach is proportional to the
> > product of the distance and the eccentricity.
>
> I misstated a bit.  The relevant scaling parameter is the normal, not the
> radius (assuming geodetic latitude, which is the kind normally used).
> This is the perpendicular segment from the local tangent plane to the
> equatorial plane.  Except at the equator and poles, it doesn't quite pass
> through the center.

Oops - correction to the correction.  The normal isn't to the equatorial
plane, it's to the polar axis.  Thus, it's normally *larger* than the
equatorial radius.  If this seems weird, it's because geodetic latitude is
based on the angle of the normal, not the angle of the radius.  Geodetic
and geocentric latitude differ maximally at approximately 45 degrees.

Fred Wright


From MAILER-DAEMON Sat Jul 23 20:27:00 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bR7Fz-0007px-W7
	for mharc-gpsd-dev@gnu.org; Sat, 23 Jul 2016 20:27:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42418)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bR7Fx-0007pg-VK
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 20:26:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bR7Fv-0007O3-SQ
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 20:26:56 -0400
Received: from rellim.com ([2001:470:e815::19]:35420 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bR7Fv-0007Ju-H5
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 20:26:55 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6O0QTR3029051
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Sat, 23 Jul 2016 17:26:34 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6O0QTR3029051
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469319995; bh=M49VWgtcDtc/sa2Uw3dWO3uEtIQhRb3ZeUV/yUZzVz0=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=CRNlGeJASKu1fPItD+f3bGr/ie6tvfbefbiE2zMcIzYRRZ51dsvv8Su5z4i9twYww
	z+Exmn6ebdq1PPb3xK2U1Jduu+E29ug1wO/olpMmnfJCH46j1mYbFYm7SokY/Kt4xy
	jRjOu8h2MmKNK/MZL1/dZqYtxx+fcg6qbOjLlV/c=
Date: Sat, 23 Jul 2016 17:26:29 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160723172629.13d60101@spidey.rellim.com>
In-Reply-To: <20160723213250.DFB40406063@ip-64-139-1-69.sjc.megapath.net>
References: <20160723213250.DFB40406063@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/1s5+ygtSmusFHO12YHVF0WF";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Sat, 23 Jul 2016 17:26:35 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] Bogus rebuilds from scons
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Jul 2016 00:26:58 -0000

--Sig_/1s5+ygtSmusFHO12YHVF0WF
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Sat, 23 Jul 2016 14:32:50 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> Maybe I'm doing something stupid.

I I just assume I'm always doing something stupid...

> Can somebody reproduce this?

Not me, but I'm all Gentoo, and you are not.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/1s5+ygtSmusFHO12YHVF0WF
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXlAs1AAoJEA0O2UlB0XnYNHcH/A4aG9MZ1wxrpP0HM/VCa5rl
8mslAINhOcbO7HS8agzNbwT0JDay/WnOXqPCw0FWkKtgKTC1E1oSeVSFYs/IuhnR
mD2cynkSSMoXwzHaSC+VY1JqnQAGWg0t6TdvFW4YR27dgz9srm4tJ8JMS98+b9Ye
zAuEdmF+RgE7SRibpEY/Eg4H4ouxOwKYd/Fjelhu+9TxNiYnFFkXC0YWRKUvqVS0
iYQQifpyFjuMCeEYVwnB+JGZG3HBbJoQAF95tEfweMm7q22khg0QvfK4rUKsD4cK
2yck/cbVQBBiiOncbZfUTh0iuJKhSOu0VcUk7llmmkyj3uRXyBaK3Ikx4JhXkrk=
=U9rw
-----END PGP SIGNATURE-----

--Sig_/1s5+ygtSmusFHO12YHVF0WF--


From MAILER-DAEMON Sat Jul 23 20:37:15 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bR7Pv-0000wo-31
	for mharc-gpsd-dev@gnu.org; Sat, 23 Jul 2016 20:37:15 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43275)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bR7Ps-0000wZ-NK
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 20:37:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bR7Pq-0000Np-OS
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 20:37:11 -0400
Received: from rellim.com ([2001:470:e815::19]:49705 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bR7Pq-0000Nj-Ga
	for gpsd-dev@nongnu.org; Sat, 23 Jul 2016 20:37:10 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6O0b1H8016310
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Sat, 23 Jul 2016 17:37:06 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6O0b1H8016310
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469320626; bh=N9fXAr9V6u3zAAAz9iOeQTS59/ymq25xy6MEeXFmnww=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=GIsEMq++fltq0kqwaolzUye3KcQ6zs4TsiQhDzAvBliWsgHIh27uiX4+WKb3i97yd
	b7lAcu2E6oVlBO1dfcfW8JnNU+L4Y0v6urRKCwP9GrlFuLQyDUd/6WXNKl9TpB7BZd
	hK1on8oXaijHBlvVsW8JGLC++FDTR0EX01uiN1tA=
Date: Sat, 23 Jul 2016 17:37:01 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160723173701.076e8fd5@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607231237480.32162@bolt.sonic.net>
References: <20160723004503.5AF02406063@ip-64-139-1-69.sjc.megapath.net>
	<Pine.LNX.4.58L1X.1607221816170.15810@bolt.sonic.net>
	<rmik2gcmo57.fsf@fnord.ir.bbn.com>
	<Pine.LNX.4.58L1X.1607231237480.32162@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/H9PQ9K/lNoF7Y=P3K0EEFVM";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Sat, 23 Jul 2016 17:37:06 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?b?4pyYQ0VQKDUwKSAwLjI4NSBtZXRlcnM=?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Jul 2016 00:37:13 -0000

--Sig_/H9PQ9K/lNoF7Y=P3K0EEFVM
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Sat, 23 Jul 2016 13:01:46 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> Restoring the original subject (with cleanup).  Sorry about the
> earlier subject change; I thought Pine was smart enough not to do
> that when the subjects were identical (or maybe they weren't
> identical due to the funny characters), but didn't check.

Pine?  I used to love pine, but it has not had a patch in over 10
years..  And those funny chars are called UTF-8.  It is all the rage
this millennium.


> > PRIu64 :-)  Agreed, but to write portable code with fixed-width
> > types, one basicallyy has to use the PRI specifiers.  It's a little
> > ugly, but not hard. =20
>=20
> I wasn't aware of that, although I have created something similar on
> occasion.  But it's *way* ugly and verbose, seriously impairing
> readability.

When push comes to shove, functionality trumps readability.

When doing high precision you gotta force the integer/float types
to what you need.

> BTW, if the only purpose is to calculate GPS error bounds, then scaled
> Pythagoras is perfectly adequate.  If the fixes are so badly scattered
> that it isn't adequate, then the GPS is severely impaired. :-)

The problem at hand is scatter plots, which are usually for 100
meters or less.  I'm gonna use Hal's idea rip out the transcendantals
(which are blowing up) and use the small angle approximations, which
are actually more accurate than the "proper" math.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/H9PQ9K/lNoF7Y=P3K0EEFVM
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXlA2tAAoJEA0O2UlB0XnYj/gH/AsGpIvuCX12k364fF4JcDnL
rA7x36Au+cqDh/d76VD1EkKmakXprxL3YXLjeAOYnhdyylzIi1Lc48S6SQTZAkzp
dmdlGfjF5mwNr3w5Muug9lTv2hGJY+CT1g7Ty8aM3xDtmnHUEVMUeIqwWdpNTOTq
lu6GHI/w2BRWWM85stsecIfVwNXBSitOhJTcMzPu+ERT14t54YPrv0S2Z8YvA9ZT
3ATLRo7KYzL3EK+SoxNQ8/QooCr6jcfnXOh0nZfhZzCO6tC7p62wSrFxo5P+nt1h
kdlxbq8frYSO5dgLpKC0QjoN7nozFZdJqSc9C/7f8BuozDI58ghR3vA2BUxte6I=
=kiX8
-----END PGP SIGNATURE-----

--Sig_/H9PQ9K/lNoF7Y=P3K0EEFVM--


From MAILER-DAEMON Sun Jul 24 04:35:53 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bREt6-0004t4-UE
	for mharc-gpsd-dev@gnu.org; Sun, 24 Jul 2016 04:35:52 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44826)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bREt4-0004sj-H7
	for gpsd-dev@nongnu.org; Sun, 24 Jul 2016 04:35:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bREsz-0004Rd-G9
	for gpsd-dev@nongnu.org; Sun, 24 Jul 2016 04:35:50 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:58512)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bREsz-0004Qi-8p
	for gpsd-dev@nongnu.org; Sun, 24 Jul 2016 04:35:45 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id AACFF406063; 
	Sun, 24 Jul 2016 01:35:42 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sun, 24 Jul 2016 01:35:42 -0700
Message-Id: <20160724083542.AACFF406063@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: [gpsd-dev] Weird build quirk
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Jul 2016 08:35:51 -0000

Anybody understand this one?

gcc -pthread -o gpsclient-py_2_7_11_final_0.so -c -fno-strict-aliasing 
-Wmissing-declarations -O2 -pthread -fPIC -DNDEBUG -O2 -g -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -fwrapv -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/python2.7 
gpsclient.c
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
scons: *** [gpsclient-py_2_7_11_final_0.so] Error 1

It has already compiled lots of stuff.

Google says I have to install redhat-rpm-config
That fixed it.

That was on a Fedora 23 box that was recently updated from Fedora 22.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Sun Jul 24 13:00:36 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRMlY-0000RI-N1
	for mharc-gpsd-dev@gnu.org; Sun, 24 Jul 2016 13:00:36 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37834)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRMlW-0000QS-CP
	for gpsd-dev@nongnu.org; Sun, 24 Jul 2016 13:00:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRMlV-0002An-9c
	for gpsd-dev@nongnu.org; Sun, 24 Jul 2016 13:00:34 -0400
Received: from rellim.com ([2001:470:e815::19]:40665 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRMlU-0002AP-Nf
	for gpsd-dev@nongnu.org; Sun, 24 Jul 2016 13:00:33 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6OH0IV1002461
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Sun, 24 Jul 2016 10:00:24 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6OH0IV1002461
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469379625; bh=m8vfz7vYes2JcZCiE4jWyjrppN1J2PFpnXSnX7uv6es=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=Q0MVGI98L2wiEtAdPYxMyP0nQS1SaLFox3huU8X4CeHPvQSkzMeHpev0LNxLCniHY
	vsTLsXMh8ZiuFmvlP5I4BWJUymrGwXaawfY4zfMeAKrz2dJUMCYHY84kEG+C/jdgCf
	VX0DculciVIodoLdzRqnaojz514e8tLR+nc1E/+8=
Date: Sun, 24 Jul 2016 10:00:18 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160724100018.47b87200@spidey.rellim.com>
In-Reply-To: <20160724083542.AACFF406063@ip-64-139-1-69.sjc.megapath.net>
References: <20160724083542.AACFF406063@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/dVOqrFa3zM/uK0rM6hkiU0G";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Sun, 24 Jul 2016 10:00:25 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] Weird build quirk
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Jul 2016 17:00:36 -0000

--Sig_/dVOqrFa3zM/uK0rM6hkiU0G
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Sun, 24 Jul 2016 01:35:42 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> Anybody understand this one?

> -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1

That looks like you got a weird thing in your CCFLAGS.

> error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or
> directory scons: *** [gpsclient-py_2_7_11_final_0.so] Error 1

Your compiler is broken.  Being able to compile a prerequsite for
building any software.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/dVOqrFa3zM/uK0rM6hkiU0G
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXlPQiAAoJEA0O2UlB0XnYYFIIAI3Z8KyUY7DCdHtIyKqlF82P
IMLvVwY8n8nBYnYMXBHq976CuRXKs3p2xexNsfOsCfh+Cqh2rlnl+LA3TbDG9Z+U
Jc3incSvkHtg3w/HZQnzhNzyVnbEk4ib0rfq/Yzy+GOaJ5y4diBUswuZBomHDv4h
2NjdeQu1G1NIIgsbpfVqB8QpQYBpz4rHIX0m2GA+MsAqL9T2oiteXn1GMXoJvH83
FeNr4g0oQbaAUi+t1WC0w03CZXVktBb8j4fXPQ6tV43ppvbBiIT3MflITLfLIYRZ
0jcNN5TTxlPV0SeRgJu/nrukbYPlL4f8y8eZxYQlPVliZzuiFzAIPyUkXtu+Rks=
=ad8q
-----END PGP SIGNATURE-----

--Sig_/dVOqrFa3zM/uK0rM6hkiU0G--


From MAILER-DAEMON Mon Jul 25 15:17:24 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRlNU-0000bQ-Td
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 15:17:24 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37801)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRlNS-0000bG-As
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 15:17:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRlNR-0002Wb-C9
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 15:17:22 -0400
Received: from rellim.com ([2001:470:e815::19]:51632 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRlNQ-0002V1-Tm
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 15:17:21 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6PJH2lv021992
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
	for <gpsd-dev@nongnu.org>; Mon, 25 Jul 2016 12:17:07 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6PJH2lv021992
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469474227; bh=dnFFKPjIp8mdiHcED9xY71cWXol2RFPBXL6cFPnSJXU=;
	h=Date:From:To:Subject;
	b=f+xrDlChH4LTJcvguGozPHnwSt1Hiyfs+QU41iT0P9E+a70hkU8ZyU1rN/YhHGNc8
	nBl8bvKyG3QQNjaNJKMuyWoIQ4UOe0ljzw4Oqpf+ZY90Q1Wn1PT2Aml6GrOzueqyvW
	hej2gv31ILd77BxLVG1GAk+yRwnE5kWDZY9YJ6Ho=
Date: Mon, 25 Jul 2016 12:17:01 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160725121701.51f47180@spidey.rellim.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/ukD4N/I5I387MMGXwqDSrU9";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 25 Jul 2016 12:17:07 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: [gpsd-dev] =?utf-8?b?4pyYQ0VQKDUwKSAwLjAwOSBtZXRlcnM=?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2016 19:17:23 -0000

--Sig_/ukD4N/I5I387MMGXwqDSrU9
Content-Type: multipart/mixed; boundary="MP_/561koXe16A/viTIKL.N58L4"

--MP_/561koXe16A/viTIKL.N58L4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Yo All!

See attached.  CEP(50) of 0.009 meters from a Skytraq EVB in base/rover
mode.  I used Hal's idea of Equirectangular projection to keep the trig
from blowing up.

CEP(50) 0.009
CEP(95) 0.024
CEP(99) 0.038

Looks like I have a bit more work to do, but close.  Changes so far
are in git head.  Next I'll add WGS84 ellipsoid correction for
latitude.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--MP_/561koXe16A/viTIKL.N58L4
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=skytraq-rover.png

iVBORw0KGgoAAAANSUhEUgAAAyAAAAJYCAMAAACtqHJCAAABR1BMVEX///8AAACgoKD/AAAAwAAA
gP/AAP8A7u7AQADIyABBaeH/wCAAgEDAgP8wYICLAABAgAD/gP9//9SlKir//wBA4NAAAAAaGhoz
MzNNTU1mZmZ/f3+ZmZmzs7PAwMDMzMzl5eX////wMjKQ7pCt2ObwVfDg///u3YL/tsGv7u7/1wAA
/wAAZAAA/38iiyIui1cAAP8AAIsZGXAAAIAAAM2HzusA////AP8AztH/FJP/f1DwgID/RQD6gHLp
lnrw5oy9t2u4hgv19dyggCD/pQDugu6UANPdoN2QUEBVay+AFACAFBSAQBSAQICAYMCAYP+AgAD/
gED/oED/oGD/oHD/wMD//4D//8DNt57w//Cgts3B/8HNwLB8/0Cg/yC+vr6/v79fX1/f39+fn58f
Hx8/Pz9vb2+Li4tTU1M3Nzenp6fmnwDw5EK+D3rtAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElE
QVR4nO2d67arKJeGdYzeV8H91HVw7O6vd93/7+YsKBpAiMla7zOqdhIVJFm8cppzsiwAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJgATXi6LAB8HGvC02UB4OPgAbLKp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SdQ63IbfWM339t+
l9t8n9oTgcDlFnwHcLkF4AK43AJwBVxuAQAAAAAAAACAN9DschvfjHG5TX1vAfg02l1uw5t7LrdS
UGvmwiTldL1WCFxuwVN0uNyGN3dcbrltRuIuty98buFyC56i3eU2vrnvcnsQCFxuwWfR4XKbvLnp
cmtbL2IM5oNZLlxuwWfR43Ib39xzudW3c/uDRG8QuNyCT6PH5Tb3ve12ueXUCtAO0otbsMHlFjxP
j8tt6nvb73K7+BGNSTRkl9t/2+j9xcCvotfl1r/pdrnl7kruxBJ6Z3C5BR9Gh8ttfLP0u9zSbU7s
tAWByy34AJpdbtN9aftdbpVdKGS2N6fHIH4mDC634ONodrlN9qXt3+WWs5KpCVxuwTcCl1sALoDL
LQBXwOUWAAAAAAAAAAAAAAAAAAAAOP4fIaJcpH3jUZ0AAAAASUVORK5CYII=

--MP_/561koXe16A/viTIKL.N58L4--

--Sig_/ukD4N/I5I387MMGXwqDSrU9
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXlmWtAAoJEA0O2UlB0XnY2EAH/21O2BEp8CSvpkM06R+3HZip
6MDsHx3ZU5wuFaeSKvHH6SOOIkPhexEiufhV0CRnzeEANKUNycNmXkdHfz1uKdgL
Tpo4adOWa/GDSQj5KS7D6Eb2EFG1s8x7rl+Hko8xN6zYirptnb43+ipe1ly9EhOX
DI1BbPeiMYwrOZJxxvmfSYo6IlkyL3tD32Hu8oqRJy6CCCrdIho5bnwXaAYV+//H
lK+YXLPv99HnzY8pW4XHp5CHC882hN+Nh9fU3KyUx2pw4voDyLy3XqU0A9WNIOGw
a2z+KAQAfLig0CG9dUa2DSWv14fx6GxrAgknCA28gWayF1fmuHHMjQiuSyF8aIg=
=yJsO
-----END PGP SIGNATURE-----

--Sig_/ukD4N/I5I387MMGXwqDSrU9--


From MAILER-DAEMON Mon Jul 25 15:30:20 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRla0-0004C3-Ee
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 15:30:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43012)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRlZy-0004Bw-R7
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 15:30:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRlZt-0006F8-NB
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 15:30:17 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:60994)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRlZt-0006CD-Fx
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 15:30:13 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 402F640605C; 
	Mon, 25 Jul 2016 12:30:07 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>, gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Mon, 25 Jul 2016 12:30:07 -0700
Message-Id: <20160725193007.402F640605C@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] =?iso-8859-1?Q?=E2=9C=98CEP?=(50) 0.009 meters
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2016 19:30:19 -0000


gem=40rellim.com said:
> Looks like I have a bit more work to do, but close.  Changes so far are=
 in
> git head.  Next I'll add WGS84 ellipsoid correction for latitude.=20

Why?  Is that going to be significant?

Assuming you start with doubles, after you do the subtract, how many bits=
 of=20
precision do you have left?


--=20
These are my opinions.  I hate spam.





From MAILER-DAEMON Mon Jul 25 15:48:25 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRlrU-0001Oq-Sv
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 15:48:24 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48568)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRlrS-0001J7-1H
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 15:48:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRlrP-00022U-Rj
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 15:48:21 -0400
Received: from rellim.com ([2001:470:e815::19]:47044 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRlrP-00022M-H1
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 15:48:19 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6PJm7Ih032022
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Mon, 25 Jul 2016 12:48:12 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6PJm7Ih032022
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469476092; bh=fzUg6DXPlAGC3ilzMDzkv9CbQ3SaKxDoZtQuxU8B3to=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=cdegOP1wcbgEUWjCpX4t5ma/XVBR84MchZA7mxRfAI5Dxfr30hS9E7ZQh4cs4qFZo
	kmJkDQymt4EEz17k/zTvrHbzYOAETYR0Y2bgSngEs/isu8Lw6cy4vId+q2MnJijYcp
	+IEM5UHs+/WE4izmp/WEpbFiHAFqEPriueV3/seA=
Date: Mon, 25 Jul 2016 12:48:07 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160725124807.2d61e05e@spidey.rellim.com>
In-Reply-To: <20160725193007.402F640605C@ip-64-139-1-69.sjc.megapath.net>
References: <20160725193007.402F640605C@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/xGr3I_EnpMDdG4Vf5gNZNUj";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 25 Jul 2016 12:48:12 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?b?w6LCnMKYQ0VQKDUwKSAwLjAwOSBtZXRlcnM=?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2016 19:48:23 -0000

--Sig_/xGr3I_EnpMDdG4Vf5gNZNUj
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Mon, 25 Jul 2016 12:30:07 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said:
> > Looks like I have a bit more work to do, but close.  Changes so far
> > are in git head.  Next I'll add WGS84 ellipsoid correction for
> > latitude.  =20
>=20
> Why?  Is that going to be significant?

It could be.  Skytraq claims, not yet verified, that they can get
cEnti-meter accuracy off a 1km baseline.  At that distance the
slightly less than 1% error would be noticeable.  At least to someone
very picky.

Even if not important, if the last guy that worked on gpsprof had
worked to rediculous overkill in the math then I would not have had to
suffer to fix it.  So I'm paying it forward to the next guy pushing the
envelope.

> Assuming you start with doubles, after you do the subtract, how many
> bits of precision do you have left?

Right now I am subtracting these two:

  121.31405412
- 121.31405411
--------------

    0.00000001

I figure the latitude is 35 binary digits of precision.  Plus a sign bit.

An IEEE 754 double float is 53 bits of binary precision.  Plus a sign bit.

So that leaves 18 bits binary precision to play with.  About 5.5 decimal
digits of precision.

If I only know the meters inn a degree (lat or lon) to about 1% that
seems gross compared to the rest.

The next step, that I'll not take, would be altitude correction.  I've been
reading PhD papers that do indeed go that far.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/xGr3I_EnpMDdG4Vf5gNZNUj
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXlmz3AAoJEA0O2UlB0XnYFSsH/3XSKVz8Etc8bndznOZPHuu8
dvvoFpedkNdI108mvhXigYiciF3gbgPVmk/HePBXkh7GXxYWAzIoysbhLlHuDTR0
akIL0Ny4j6XpHZ1EhrlSZp9caBmi78bbDi+J5lM2JCyGl2EtqrBL2B6pp7sZNvxW
wvjmxNtpgDMpdul7B2F59EgLEohyVC6ueq9qUqLnKx04lWCq+m8x0T3ZGOE2I47f
kmxuu+ayWqxA34y6mrsCI/M1Mk+bhWt1+/1WToi+tNW/M2n/BhuSybRY7PDTTYUR
9W5OvskK7aRPnDDrtKriyyJ9Yz0e3qUqGdwpM4h8JW2GdCYtg2Yp1UmxFftzUfA=
=QJ5o
-----END PGP SIGNATURE-----

--Sig_/xGr3I_EnpMDdG4Vf5gNZNUj--


From MAILER-DAEMON Mon Jul 25 17:01:42 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRn0Q-0003Rp-Tn
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 17:01:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37467)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bRn0L-0003RV-Ci
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 17:01:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bRn0I-0001A4-18
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 17:01:37 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:59173)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bRn0H-00018y-Ou
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 17:01:33 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6PL1Q1q015724
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Mon, 25 Jul 2016 14:01:26 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6PL1QTt009783
	for <gpsd-dev@nongnu.org>; Mon, 25 Jul 2016 14:01:26 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6PL1QaH009774
	for <gpsd-dev@nongnu.org>; Mon, 25 Jul 2016 14:01:26 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Mon, 25 Jul 2016 14:01:26 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160725124807.2d61e05e@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1607251325370.20682@bolt.sonic.net>
References: <20160725193007.402F640605C@ip-64-139-1-69.sjc.megapath.net>
	<20160725124807.2d61e05e@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED;
	BOUNDARY="-1908389267-24747248-1469480486=:20682"
X-Sonic-CAuth: UmFuZG9tSVaCkOs/9jlfUxAGJG0mtMJodxuUOFM9Lw+/zB7hYU/WcZu7gXr72GeCM7aVaMIn/PgMyNv9VhNYB38n7G8nDFg9
X-Sonic-ID: C;YOCa86pS5hGDcZtMTlz00w== M;rFPH86pS5hGDcZtMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] CEP(50) 0.009 meters
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2016 21:01:41 -0000

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---1908389267-24747248-1469480486=:20682
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Mon, 25 Jul 2016, Gary E. Miller wrote:
> On Mon, 25 Jul 2016 12:30:07 -0700
> Hal Murray <hmurray@megapathdsl.net> wrote:
>
> > gem@rellim.com said:
> > > Looks like I have a bit more work to do, but close.  Changes so far
> > > are in git head.  Next I'll add WGS84 ellipsoid correction for
> > > latitude.
> >
> > Why?  Is that going to be significant?
>
> It could be.  Skytraq claims, not yet verified, that they can get
> cEnti-meter accuracy off a 1km baseline.  At that distance the
> slightly less than 1% error would be noticeable.  At least to someone
> very picky.

At your latitude it's about 0.27%.  See below.

> Even if not important, if the last guy that worked on gpsprof had
> worked to rediculous overkill in the math then I would not have had to
> suffer to fix it.  So I'm paying it forward to the next guy pushing the
> envelope.
>
> > Assuming you start with doubles, after you do the subtract, how many
> > bits of precision do you have left?
>
> Right now I am subtracting these two:
>
>   121.31405412
> - 121.31405411
> --------------
>
>     0.00000001
>
> I figure the latitude is 35 binary digits of precision.  Plus a sign bit.
>
> An IEEE 754 double float is 53 bits of binary precision.  Plus a sign bit.
>
> So that leaves 18 bits binary precision to play with.  About 5.5 decimal
> digits of precision.
>
> If I only know the meters inn a degree (lat or lon) to about 1% that
> seems gross compared to the rest.
>
> The next step, that I'll not take, would be altitude correction.  I've been
> reading PhD papers that do indeed go that far.

Strictly speaking, for this sort of calculation you really want
straight-line distance, not great-circle distance, though the difference
for short distances is miniscule.  OTOH, that calculation is
mathematically exact and reasonably numerically accurate, without needing
iteration (beyond the internal iteration in the trig functions, that is).
Basically, you just convert the points to ECEF coordinates and then do the
usual Pythagorean distance calculation (3D version).

I'm attaching some code I started working on a while back to do this sort
of thing.  It's more general in that it works for arbitrary ellipsoids,
and also allows you to specify the value of PI (since the GPS specs call
out a specific PI value that one is supposed to use for consistency).

Note that everything calculated in Ellipsoid.__new__() is constant for any
given ellipsoid (and PI value).

Sample:

MacPro:Util fw$ python
Python 2.7.12 (default, Jun 29 2016, 12:46:54)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import geo_utils as gu
>>> e = gu.Ellipsoid.ByName('wgs84')
>>> e.DistElev(44.058188, 121.31405412, 3629 / .3048, 44.058188, 121.31405411, 3629 / .3048)
(0.000802770017091834, 0.0)
>>> gu.math.sqrt(e._GetLocParams(44.058188, 121.31405412, 3629 / .3048).norm_sqr)
6388485.687314996
>>> gu.math.sqrt(e._GetLocParams(44.058188, 121.31405412, 3629 / .3048).norm_sqr) / 6371000
1.0027445749984296
>>>

You didn't post your latitude (or altitude), so I used what Google Earth
gave me for central Bend.

The first result is the distance in meters, and the elevation angle (0.0
in this case).

The second result is the length of the ellipsoidal normal in meters at
your latitude.

The third result divides this by the usually accepted mean radius value to
show the discrepancy between the ellipsoidal and spherical approaches.

Fred Wright
---1908389267-24747248-1469480486=:20682
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="geo_utils.py"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.58L1X.1607251401260.20682@bolt.sonic.net>
Content-Description: Some geographic calculation utilities
Content-Disposition: attachment; filename="geo_utils.py"

IiIiTW9kdWxlIGZvciBnZW9ncmFwaGljIHV0aWxpdHkgZnVuY3Rpb25zLiIi
Ig0KDQ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AoMiAqIG5vcm1fYWx0MSAqIGRpc3QpKQ0KICAgIGVs
ZXYgPSBtYXRoLmRlZ3JlZXMobWF0aC5hY29zKHZpZXdfY29zKSkgLSA5MC4w
DQogICAgcmV0dXJuIGRpc3QsIGVsZXYNCg==

---1908389267-24747248-1469480486=:20682--


From MAILER-DAEMON Mon Jul 25 18:15:57 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRoAH-00031r-ND
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 18:15:57 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33471)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bRoAF-00030X-9a
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 18:15:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bRoAB-0003wR-8g
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 18:15:55 -0400
Received: from d.mail.sonic.net ([64.142.111.50]:49142)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bRoAB-0003wM-0P
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 18:15:51 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6PMFmML002510
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Mon, 25 Jul 2016 15:15:48 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6PMFmAg032006
	for <gpsd-dev@nongnu.org>; Mon, 25 Jul 2016 15:15:48 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6PMFmRU032003
	for <gpsd-dev@nongnu.org>; Mon, 25 Jul 2016 15:15:48 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Mon, 25 Jul 2016 15:15:48 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20160724083542.AACFF406063@ip-64-139-1-69.sjc.megapath.net>
Message-ID: <Pine.LNX.4.58L1X.1607251508470.27651@bolt.sonic.net>
References: <20160724083542.AACFF406063@ip-64-139-1-69.sjc.megapath.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVba4lQliq0LooYpzHUd9mTAxqFv/OtGGa5gIxaM2Rx+a8tDRAa3crwk4mRZKbgRXsFzqI8MTRVZfka7N9VV3gbd
X-Sonic-ID: C;cpIxV7VS5hGHT5NwxPCmMQ== M;mGtVV7VS5hGHT5NwxPCmMQ==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] Weird build quirk
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2016 22:15:56 -0000


On Sun, 24 Jul 2016, Hal Murray wrote:

> Anybody understand this one?
>
> gcc -pthread -o gpsclient-py_2_7_11_final_0.so -c -fno-strict-aliasing
> -Wmissing-declarations -O2 -pthread -fPIC -DNDEBUG -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
> -D_GNU_SOURCE -fPIC -fwrapv -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/python2.7
> gpsclient.c
> gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
> scons: *** [gpsclient-py_2_7_11_final_0.so] Error 1
>
> It has already compiled lots of stuff.
>
> Google says I have to install redhat-rpm-config
> That fixed it.
>
> That was on a Fedora 23 box that was recently updated from Fedora 22.

I suggest investigating where the "/usr/lib/rpm/redhat/redhat-hardened-cc1"
came from.  Maybe from pkg-config?

If necessary, you can debug with --debug=pdb, but since that's intended
primarily for debugging scons itself, it doesn't add the script directory
to sys.path, so you need to specify the full absolute path to SConstruct
to set breakpoints.

Fred Wright


From MAILER-DAEMON Mon Jul 25 20:14:53 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRq1N-00072G-Hl
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 20:14:53 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36303)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRq1L-0006zh-Di
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 20:14:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRq1J-0006Li-8z
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 20:14:50 -0400
Received: from rellim.com ([2001:470:e815::19]:60046 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRq1I-0006Ld-UY
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 20:14:49 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6Q0EaAK020691
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Mon, 25 Jul 2016 17:14:42 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6Q0EaAK020691
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469492082; bh=765r77t3chwD1EvdqVEW9AKTA8wAO8ZfsogQ6sBkgzo=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=aLLmW04t3bdmtCE5HGMlkdKSWvz1ADnYiT1Sua6aBdzLcnNRGKCPqqao95bUzBW9T
	YjwUCPQJ0gvYneWrQo05itaxK8az/az4WHicRbtMhXjWvt5XFIvdsHxw0jMtHGcN2y
	FdmKAL11iYfz/tDLcS2l5CYWSGf+IDS35Jb9A8YM=
Date: Mon, 25 Jul 2016 17:14:36 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160725171436.64ab2907@spidey.rellim.com>
In-Reply-To: <20160725124807.2d61e05e@spidey.rellim.com>
References: <20160725193007.402F640605C@ip-64-139-1-69.sjc.megapath.net>
	<20160725124807.2d61e05e@spidey.rellim.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/0ooRUpe1FlniBeeOBQk9GYJ";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 25 Jul 2016 17:14:42 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?b?w6LCnMKYQ0VQKDUwKSAwLjAwOSBtZXRlcnM=?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2016 00:14:52 -0000

--Sig_/0ooRUpe1FlniBeeOBQk9GYJ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Mon, 25 Jul 2016 12:30:07 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said: =20
> > Looks like I have a bit more work to do, but close.  Changes so
> > far are in git head.  Next I'll add WGS84 ellipsoid correction for
> > latitude.    =20
>=20
> Why?  Is that going to be significant? =20

I'm being dragged in Python, like it or not.  I've created a new
Python file (test_misc.py) to test the gps/misc.py library.  It
uses the valuse from Wikipedia:

    https://en.wikipedia.org/wiki/Decimal_degrees#Precision

0.0000001 degree at the equator is 11.132 mm.

At centimeter accuracy my latest code at the equator is off by almost
40% in some test cases...

As for the altitude correction, wikipedia claims at an altitude of
6,378 meters the error is 0.1%.  So not a big deal, yet.

So more work to do. =20

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/0ooRUpe1FlniBeeOBQk9GYJ
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXlqtsAAoJEA0O2UlB0XnYgbgH/Ajy5ubfur4jhpk3fpwrtcWQ
hpiKDlFCq0HYkR5hcYljG0jQWiwdq2KoqN6YILsDP0w74B+uHo4XvsH3jq8p5C2n
U6yHdGZzseLDD2SkPEPd5jNdCHwEefFqBAhYzgN4pO1uQ1zD5rPjDq1yqvBmWx/J
viA1uphOc6iCZVzurtAoe79wWoGUSvgmDe2/xoMCA5ZyHvht+YWvEpQDuazqhLx8
wmcNIpvVctFS4VKu9ugFJNqZcg+x6R+9T2sXOufjKLxtwzEd5O4TjmGIC7wmexeS
HMe2GOJaxZNyUn/WcWU8+JsJg84cv5EbENtU4TM8243+wqGcYBfUFvg1cLMFKBM=
=Lo6b
-----END PGP SIGNATURE-----

--Sig_/0ooRUpe1FlniBeeOBQk9GYJ--


From MAILER-DAEMON Mon Jul 25 20:50:50 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRqaA-0004tA-IK
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 20:50:50 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42109)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRqa8-0004t3-My
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 20:50:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRqa2-0004PN-UD
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 20:50:47 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:55667)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRqa2-0004P0-Lz
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 20:50:42 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id E769740605C; 
	Mon, 25 Jul 2016 17:50:40 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>, gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Mon,
	25 Jul 2016 17:14:36 PDT." <20160725171436.64ab2907@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 25 Jul 2016 17:50:40 -0700
Message-Id: <20160726005040.E769740605C@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] =?utf-8?b?w6LCnMKYQ0VQKDUwKSAwLjAwOSBtZXRlcnM=?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2016 00:50:49 -0000


gem@rellim.com said:
> 0.0000001 degree at the equator is 11.132 mm.
> At centimeter accuracy my latest code at the equator is off by almost 40% in
> some test cases... 

>From a few messages ago:
>   121.31405412
> - 121.31405411
> --------------
>    0.00000001

You are likely to have serious roundoff in the decimal printing.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Mon Jul 25 20:54:58 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRqeA-0005oC-K2
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 20:54:58 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42530)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRqe8-0005nz-3T
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 20:54:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRqe6-0005NN-8w
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 20:54:55 -0400
Received: from rellim.com ([2001:470:e815::19]:60490 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRqe5-0005NH-Uq
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 20:54:54 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6Q0sgHA000908
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Mon, 25 Jul 2016 17:54:47 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6Q0sgHA000908
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469494487; bh=WRIhj7Z40EXzDCHJ3rfgOJwOecfQ2a/PKUMP9Vg36NA=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=DytH51wkYwNmeFhGCgWN4e031nZUlTNsGUZC2jpyS/qeCgIHyANTKd1hUaEa46XRz
	RbCDIZ5o1GUseh0oSqRmdziAvEYRo/h18RKqkfkIpHIJSmDpoedLK617aEABduu/xH
	R5bL1LK/htbs5qemKTcykuk7D3Yw31fYTYtB6ksM=
Date: Mon, 25 Jul 2016 17:54:42 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160725175442.644dea29@spidey.rellim.com>
In-Reply-To: <20160726005040.E769740605C@ip-64-139-1-69.sjc.megapath.net>
References: <20160725171436.64ab2907@spidey.rellim.com>
	<20160726005040.E769740605C@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/9T.eKl5Y_.9Jw2hA6BnJakn";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 25 Jul 2016 17:54:47 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?b?w6LCnMKYQ0VQKDUwKSAwLjAwOSBtZXRlcnM=?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2016 00:54:57 -0000

--Sig_/9T.eKl5Y_.9Jw2hA6BnJakn
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Mon, 25 Jul 2016 17:50:40 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said:
> > 0.0000001 degree at the equator is 11.132 mm.
> > At centimeter accuracy my latest code at the equator is off by
> > almost 40% in some test cases...  =20
>=20
> From a few messages ago:
> >   121.31405412
> > - 121.31405411
> > --------------
> >    0.00000001 =20
>=20
> You are likely to have serious roundoff in the decimal printing.

Works for me: %.9f

 # python  test_misc.py
misc test: 0.00000000 0.00000000, 0.00000000 0.00000010, expected 0.011320 =
got 0.011057
misc test: 67.00000000 0.00000000, 67.00000000 0.00000010, expected 0.00435=
0 got 0.004358

So I'm under 1% now in lat.  Still fighting lon...

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/9T.eKl5Y_.9Jw2hA6BnJakn
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXlrTSAAoJEA0O2UlB0XnYDRAH/R2z5+rBQuaGGPXYblfPQID6
NsbAElVQ3JoSXv2ghs/8gUNjuWe1r7fL/HRZPxupqZ20JCRSdhKDNncwKKwxV800
VbIvwlSXJ0wvzUqM1OhpwSsSvfB+MOwd7Zw7fdUgucwHqKd8saVtabTPD0cGoFyM
FrfhAwmGaRP7R/iQbLAFi7jWIYmRjUwYBZRddiW0i4Yake/dlO1fMWhI0brJuCHa
B/6OTWnKMLY2OJQWzLSXWzwfvxz5xhj8Zs/t0MEdU8ONqickJDLuUqgSi3yNJzLd
bl5eNlVdiaQz0Q66CdwvcauRleX8Zm6uT0/YdM+303z/+/SneXOTo/DEBef1cuw=
=AJVw
-----END PGP SIGNATURE-----

--Sig_/9T.eKl5Y_.9Jw2hA6BnJakn--


From MAILER-DAEMON Mon Jul 25 21:49:08 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRrUa-0002z4-Cb
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 21:49:08 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52853)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRrUY-0002yv-OE
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 21:49:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRrUT-0007b7-Qg
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 21:49:06 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:57531)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRrUT-0007aU-JF
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 21:49:01 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 037D340605C; 
	Mon, 25 Jul 2016 18:48:59 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>, gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Mon,
	25 Jul 2016 17:54:42 PDT." <20160725175442.644dea29@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 25 Jul 2016 18:48:59 -0700
Message-Id: <20160726014900.037D340605C@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] =?utf-8?b?w6LCnMKYQ0VQKDUwKSAwLjAwOSBtZXRlcnM=?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2016 01:49:07 -0000

> Works for me: %.9f

9 is a small number.

What I was trying to say is that if you print out a number and read it back 
in, you may not get the same low order bits.  If they matter, you may get a 
different result if you work with the numbers before printout as compared to 
reading in the numbers in and doing the same computation.

If it matters, print it out in hex.

-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Mon Jul 25 22:22:18 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRs0g-0000LY-G0
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 22:22:18 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37872)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRs0e-0000Ky-0Z
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 22:22:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRs0c-0000mW-UZ
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 22:22:15 -0400
Received: from rellim.com ([2001:470:e815::19]:33401 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bRs0c-0000lV-Mh
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 22:22:14 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6Q2M1dK029516
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Mon, 25 Jul 2016 19:22:06 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6Q2M1dK029516
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469499727; bh=M6js5i6BlDroc27tQrOOLqOC/u0ns9FNOwELQeUKD3k=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=XtwWPaw5EpalYBIzrSJWkP9Mt3Gz3foR9CBD6tUINNQFXvI4O4wvMEhaevQThvMcf
	Z7bbkZBUtUR7ENV40znMm7npUvEoRPlh5YS8tghDzwqvDUdBva+vt56n6nWbgShvgZ
	71j0jKX6KNcpVZtVpuDdPv8Ox5Wc4n0I5UvanZfU=
Date: Mon, 25 Jul 2016 19:22:01 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd-dev@nongnu.org
Message-ID: <20160725192201.1d3d754a@spidey.rellim.com>
In-Reply-To: <20160726014900.037D340605C@ip-64-139-1-69.sjc.megapath.net>
References: <20160725175442.644dea29@spidey.rellim.com>
	<20160726014900.037D340605C@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/AgEYq2bPvOy8e5=7Zye_GJ7";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Mon, 25 Jul 2016 19:22:07 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] =?utf-8?b?w6LCnMKYQ0VQKDUwKSAwLjAwOSBtZXRlcnM=?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2016 02:22:17 -0000

--Sig_/AgEYq2bPvOy8e5=7Zye_GJ7
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Mon, 25 Jul 2016 18:48:59 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> > Works for me: %.9f =20
>=20
> 9 is a small number.

Yup!  One or two more than I need.  7 is about a centi-meter.

> What I was trying to say is that if you print out a number and read
> it back in, you may not get the same low order bits.  If they matter,
> you may get a different result if you work with the numbers before
> printout as compared to reading in the numbers in and doing the same
> computation.

I'm not seeing that in Python.  Not seen that in C for a long time.

But that is why I'm unsing %.9f when I only need %.7f

I'm not that worried if I get 1.999999999 instead of 2.000000000

> If it matters, print it out in hex.

Is there a standard for import/export of IETF 754 in hex?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/AgEYq2bPvOy8e5=7Zye_GJ7
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXlslJAAoJEA0O2UlB0XnYUyoH/1qF67XcOE85JlTHzQ9iThbT
f8/Ip3YEXMsrh3N30cCQRiq9kDUkNbAEfpd7//CvO3mS5/8qp99CuIPR1W10n+z+
HGZRnFWUyCREWkiqOXB4Lh3GJlu8iFNhnKFj+h/XqPUzsVlghVBdv9zeTX5ajD90
Hh2OZsfky3EPQNAue/lXlo9suGP6ka5nMfnb3gor9rjCLGAlEDdJdxS3tPbqR2aa
x+q1fo0Eqwzu9vbRSXAiWAwksQ2wq9Kuc/JnNXf+zYHoiPbZbDGK/2o4EBizulLX
2o2iuzyxESQ3jnaLPFNW52z5/EiPGQ66zvtIiHcL/Z5HAI7qGGJqObLHggY/AYQ=
=JnsU
-----END PGP SIGNATURE-----

--Sig_/AgEYq2bPvOy8e5=7Zye_GJ7--


From MAILER-DAEMON Mon Jul 25 22:31:37 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bRs9h-0004sQ-EQ
	for mharc-gpsd-dev@gnu.org; Mon, 25 Jul 2016 22:31:37 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39558)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRs9f-0004qn-Pi
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 22:31:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRs9a-00026R-QC
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 22:31:34 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:58835)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bRs9a-00026N-JZ
	for gpsd-dev@nongnu.org; Mon, 25 Jul 2016 22:31:30 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id CB91140605C; 
	Mon, 25 Jul 2016 19:31:28 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>, gpsd-dev@nongnu.org
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Mon,
	25 Jul 2016 19:22:01 PDT." <20160725192201.1d3d754a@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 25 Jul 2016 19:31:28 -0700
Message-Id: <20160726023128.CB91140605C@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] =?utf-8?b?w6LCnMKYQ0VQKDUwKSAwLjAwOSBtZXRlcnM=?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2016 02:31:36 -0000

> Is there a standard for import/export of IETF 754 in hex?

Not that I know of.  There are probably big/little endian opportunities in 
there.

(I assume you mean IEEE.)


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Thu Jul 28 03:03:25 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bSfLo-0005wk-R8
	for mharc-gpsd-dev@gnu.org; Thu, 28 Jul 2016 03:03:24 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53809)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bSfLm-0005tp-2p
	for gpsd-dev@nongnu.org; Thu, 28 Jul 2016 03:03:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bSfLk-00022d-1z
	for gpsd-dev@nongnu.org; Thu, 28 Jul 2016 03:03:21 -0400
Received: from rellim.com ([2001:470:e815::19]:49906 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bSfLj-00022B-KV
	for gpsd-dev@nongnu.org; Thu, 28 Jul 2016 03:03:20 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6S73BJx024561
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
	for <gpsd-dev@nongnu.org>; Thu, 28 Jul 2016 00:03:18 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6S73BJx024561
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469689398; bh=RsO9i1Nn/ai4YsENpRlC3DZR0Q/n9zIUrtIw9lt2os0=;
	h=Date:From:To:Subject;
	b=Dv7MFjAJMrIzb/YD8WPEbeR9Uh0zICoxWggtw9wHJ83wKh4YFVxL4T0TILAqZN8fA
	sSduCYwdSLmENMJEnHUpRyL5QCwWF1PZTgTOM+bMrdYpPrPnMx1t84ohs20YdUlinR
	4uSS8nzeoC0CbmZJHKAoZIfyTm2cYkaAp4Q0ewRQ=
Date: Thu, 28 Jul 2016 00:03:10 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20160728000310.16326754@spidey.rellim.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/ihulukWZW67b6YYvP58JgV_";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 28 Jul 2016 00:03:18 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: [gpsd-dev] =?utf-8?q?=E2=9C=98Centi-meter_scatter_plot?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Jul 2016 07:03:23 -0000

--Sig_/ihulukWZW67b6YYvP58JgV_
Content-Type: multipart/mixed; boundary="MP_/Hb/nMy.zYEugv2i1sJANI89"

--MP_/Hb/nMy.zYEugv2i1sJANI89
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Yo All!

I'm still working on the centi-meter accuracy thing.  Base/rover mode,
not free range mode.  See attached for a scatter plot. CEP(50) of
0.007m, CEP(95) of 0.027m!

I had to replace the function to calculate the earth distance between
two points with a better function: Vincenty's Formula.  Supposed to
be accuarate to 1mm.

Of course the numbers are now so small that gnuplot gets confused, so more
work to do.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--MP_/Hb/nMy.zYEugv2i1sJANI89
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=rover-10k-a.png

iVBORw0KGgoAAAANSUhEUgAAAyAAAAJYCAMAAACtqHJCAAABQVBMVEX///8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ha5X4LA5BZ8AGdNbl1jQUijKtvbv5jc5gVrrW+DxJ4wmNyCj+Osye2q
EGZb29s/mNyWBWvrqSYwuQUUgcktADeAyS0At4DJLQAAAAAAAAAAMIGHTW7zxp9MbuPwB1a5BZ/N
4ya3aeNPJreSxTnzWOUWfDJPmNymDaxyC76fx01u88ZfTW7L8ApWuQUfyhMmt9XG30xus6Swyi34
VJ4xuc0bfzS5XVIGxyq34FN5xuS2tb193uQ26Q+r3ILP5RmT29r29nmT22wP+KpVbn8f45nYApfj
WZPbuPG8yW3p+sUqt+BzecLkNm8sfzC51SVzY5Vb8ME8bHJbNv5icmtkau9glVvw0Txscls2nje5
LU0KrHILyAOTWwBuAJNbAG4Bk1sAAAAAAAAAAAAAAAAAAAAQ+H9OjGmlbCWtYAAAAABJRU5ErkJg
gg==

--MP_/Hb/nMy.zYEugv2i1sJANI89--

--Sig_/ihulukWZW67b6YYvP58JgV_
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXma4vAAoJEA0O2UlB0XnYFIsH/ivF0TAanQqH4tMzhQnLIC2N
RGRdhvgMcgJ4a71jTvsos3M7T0UVHVuDsL5TcdU3iVAxfV7vCT8488PLh2riZ2t3
6X9gCeCJV3/CKRC3/SRsgMGzu79O0MOGZFDsV+b9kzKquZA1UEJ88BXsBGhEWDO7
Doz4VW00hidzk6y4jmIMLJP9fDjYXfJmGH1pb4aoJCGF7+rAyZDnuqXVvc3KhT6D
AWEKBH6Zi9V2xf7F0zNmb7hcMeP/Hi8HqqYHQ/Ddud3e44XrWNskMfxMF3iMs8kW
p5moiLi30GP33cldl7FmChsMTZGGFS62nFPEer6u8TgRAHdj71sqeYfNAZ+qDTw=
=B7QY
-----END PGP SIGNATURE-----

--Sig_/ihulukWZW67b6YYvP58JgV_--


From MAILER-DAEMON Thu Jul 28 11:21:54 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bSn8E-0007Hy-2G
	for mharc-gpsd-dev@gnu.org; Thu, 28 Jul 2016 11:21:54 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39753)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Henning.Hakonsen@q-free.com>) id 1bSgcR-0005mJ-9n
	for gpsd-dev@nongnu.org; Thu, 28 Jul 2016 04:24:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Henning.Hakonsen@q-free.com>) id 1bSgcO-00026X-3B
	for gpsd-dev@nongnu.org; Thu, 28 Jul 2016 04:24:39 -0400
Received: from mail-db5eur01on0076.outbound.protection.outlook.com
	([104.47.2.76]:50080
	helo=EUR01-DB5-obe.outbound.protection.outlook.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Henning.Hakonsen@q-free.com>) id 1bSgcN-00025a-FP
	for gpsd-dev@nongnu.org; Thu, 28 Jul 2016 04:24:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=qfreeonline.onmicrosoft.com; s=selector1-qfree-com0c;
	h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
	bh=+OBHh/J4x8CNQ1HxmLKnzEAiZOHbsRnyDTX7U8xqkq8=;
	b=psiMFI+JvkNL9k0fNC6nE6UwRe1NzwAIRQYeOTLIUhW9EIKlQKJVjLcVfJk4faqWMZyvRriA1NxOmsgFDw4nc0+3THYZji+F4vAM7Q3AbOWbLwxL/1zkaosHEd8tQQxFe8I7CywfvrTPXC4g7UpQhO0wXRcMPnBlUuhehSowyRA=
Received: from HE1PR02MB0683.eurprd02.prod.outlook.com (10.161.114.15) by
	HE1PR02MB0682.eurprd02.prod.outlook.com (10.161.114.149) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.544.10; Thu, 28 Jul 2016 06:50:36 +0000
Received: from HE1PR02MB0683.eurprd02.prod.outlook.com ([10.161.114.15]) by
	HE1PR02MB0683.eurprd02.prod.outlook.com ([10.161.114.15]) with mapi id
	15.01.0544.019; Thu, 28 Jul 2016 06:50:36 +0000
From: Henning Hakonsen <Henning.Hakonsen@q-free.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: gpsd/ntpd
Thread-Index: AQHR6JwNIfq5brlzP0K242s3PlitlQ==
Date: Thu, 28 Jul 2016 06:50:35 +0000
Message-ID: <HE1PR02MB0683349842B70C4CCD25BD7DA5000@HE1PR02MB0683.eurprd02.prod.outlook.com>
Accept-Language: nb-NO, en-US
Content-Language: nb-NO
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is )
	smtp.mailfrom=Henning.Hakonsen@q-free.com; 
x-originating-ip: [193.213.4.186]
x-ms-office365-filtering-correlation-id: 790ac96f-a1fa-405b-fb2b-08d3b6b37a81
x-microsoft-exchange-diagnostics: 1; HE1PR02MB0682;
	6:f6AM3EuwLH8Hyvj6nXK3QOPVDyeNJsKGpjGhxHv8sPKD67pibG5M9WY2x8Ckg6SwTlEJZNlJK1QB5WPDRxO/WyO/DvgTXRfUSTW1OthrUF8dIC0t+rWm+gt6u98ipNdFkG6vA/bK3RR3tvqKFaxQP5OqFBsoa3dj6V4YQQZ2h1jdi6avUEDJ+CFMdGpSKDqgv2mQv4i59EuQoEps7cYgL+K14tLdTOp1K3aVyShJjkDwJqeST1Z20L8SUejicJNSqhLqvph/D5IfYoOW4yUM/ZRVMepomGE5IAwNtww1rhw=;
	5:eO5KnH1mQzdxYk0jOa11krmPSPEVArTbWtrY1OD3zavwACqmU5cHESEKW2rgx4YAuuvMHP675L1lCEjMFpN6+AdsbwHQG6EOxRhiNbNN8sVQzPPLjB7zdhfpRgjuJaJgryVmmOuobKfPM35htsCttQ==;
	24:5r4Ni8K9lbBCGJjEI89jpqgcsHILtiIzD/BoS41fDb19RtLkBzDiTmNOH5n9SYaTxkv7EG8lqfvYVh50uMZo0SBhDumQaJ61UKtMTO3VF38=;
	7:xbm2lQpZTz/NjBFT8DOkEFKwWrQoVpz0K9uIqP3quwLK097DEXI0Y4ftaP13zotajvECFq4OwNkuFZ0gdIz1iSTMgPtJL0DSYMiByMt8ucZnrKZPPw2IP1AfJ1bYwcO68CBWMVdPN3gq1IZBl8mf18u3MW8xWjyEmeb7SfrNiWGcm8unO859ZyJ0Zz4KUNNbZzV4iymisCRvEmEMY4i51l6HUlkCOvfvPLNzNBiG3cj8ZxRMkeUgTpL3yeLE+WZ9
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR02MB0682;
x-microsoft-antispam-prvs: <HE1PR02MB0682EB22D4B1B010BD73B5D5A5000@HE1PR02MB0682.eurprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
	RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);
	SRVR:HE1PR02MB0682; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB0682; 
x-forefront-prvs: 00179089FD
x-forefront-antispam-report: SFV:NSPM;
	SFS:(10009020)(6009001)(7916002)(189002)(199003)(71364002)(101416001)(105586002)(50986999)(19625215002)(2351001)(5002640100001)(5640700001)(54356999)(122556002)(33656002)(81166006)(106356001)(229853001)(81156014)(16236675004)(97736004)(2906002)(92566002)(76576001)(3280700002)(106116001)(10400500002)(9686002)(11100500001)(3660700001)(6116002)(2501003)(450100001)(8676002)(102836003)(68736007)(19627405001)(86362001)(107886002)(77096005)(5003600100003)(87936001)(7736002)(7696003)(3846002)(8936002)(189998001)(2900100001)(7846002)(586003)(110136002)(66066001)(74316002);
	DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR02MB0682;
	H:HE1PR02MB0683.eurprd02.prod.outlook.com; FPR:; SPF:None;
	PTR:InfoNoRecords; MX:1; A:0; LANG:en; 
received-spf: None (protection.outlook.com: q-free.com does not designate
	permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative;
	boundary="_000_HE1PR02MB0683349842B70C4CCD25BD7DA5000HE1PR02MB0683eurp_"
MIME-Version: 1.0
X-OriginatorOrg: q-free.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2016 06:50:35.5928 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 39ef44ca-adfa-4a24-8858-ef68dbe16345
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR02MB0682
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 104.47.2.76
X-Mailman-Approved-At: Thu, 28 Jul 2016 11:21:52 -0400
Subject: [gpsd-dev] gpsd/ntpd
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Jul 2016 08:24:43 -0000

--_000_HE1PR02MB0683349842B70C4CCD25BD7DA5000HE1PR02MB0683eurp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi

I am currently trying to send a PPS signal to gpsd or ntpd. I am using u-bl=
ox gps receiver for gps clock, but the PPS signal is hardwired to GPIO. Our=
 software can get the PPS signal and I would like to signal ntpd with this =
signal over shared memory much like gpsd is.

I have tried to collect information about how to activate the shared memory=
 to ntpd, but not quite happy with the result.

Is there anyone who can help me(or have done similar things)?

With kind regards,
Henning H=E5konsen


--_000_HE1PR02MB0683349842B70C4CCD25BD7DA5000HE1PR02MB0683eurp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;back=
ground-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 16px; margin-top: 0px; margin-bottom: 0px;">
Hi</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 16px; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 16px; margin-top: 0px; margin-bottom: 0px;">
I am currently trying to send a PPS signal to gpsd or ntpd. I am using u-bl=
ox gps receiver for gps clock, but the PPS signal is hardwired to GPIO. Our=
 software can get the PPS signal and I would like to signal ntpd with this =
signal over shared memory much like
 gpsd is.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 16px; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 16px; margin-top: 0px; margin-bottom: 0px;">
I have tried to collect information about how to activate the shared memory=
 to ntpd, but not quite happy with the result.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 16px; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 16px; margin-top: 0px; margin-bottom: 0px;">
Is there anyone who can help me(or have done similar things)?</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 16px; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 16px; margin-top: 0px; margin-bottom: 0px;">
With kind regards,</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 16px; margin-top: 0px; margin-bottom: 0px;">
Henning H=E5konsen</div>
<br>
<p></p>
</div>
</body>
</html>

--_000_HE1PR02MB0683349842B70C4CCD25BD7DA5000HE1PR02MB0683eurp_--


From MAILER-DAEMON Thu Jul 28 14:56:44 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bSqU8-0000yj-GG
	for mharc-gpsd-dev@gnu.org; Thu, 28 Jul 2016 14:56:44 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46245)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bSqU6-0000xT-Uy
	for gpsd-dev@nongnu.org; Thu, 28 Jul 2016 14:56:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bSqU5-0000m8-0W
	for gpsd-dev@nongnu.org; Thu, 28 Jul 2016 14:56:41 -0400
Received: from rellim.com ([2001:470:e815::19]:59473 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bSqU4-0000fb-O8
	for gpsd-dev@nongnu.org; Thu, 28 Jul 2016 14:56:40 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6SIuH8F029202
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Thu, 28 Jul 2016 11:56:23 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6SIuH8F029202
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469732184; bh=aJiptByMt+Bjvu3GNPWpFZ2Q+3G3XBeQUPTqlG2revE=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=Jcc0tC8BA1HJXAlOXj1sQLcqTLjADE9pReFc7R268R9xkbUwtzggo7cTz1K+LWI7Q
	qVMIZjXjrzU/Y196M+QX/5feAvNCZEKnLzedV8Oum2W6Oaz6VHzWU68gtwsYWefWAD
	V+gGXLn3y8x7PYQiisnvEYtGUvqF+KrYsBAr2MnE=
Date: Thu, 28 Jul 2016 11:56:17 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Henning Hakonsen <Henning.Hakonsen@q-free.com>
Cc: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Message-ID: <20160728115617.20788a2c@spidey.rellim.com>
In-Reply-To: <HE1PR02MB0683349842B70C4CCD25BD7DA5000@HE1PR02MB0683.eurprd02.prod.outlook.com>
References: <HE1PR02MB0683349842B70C4CCD25BD7DA5000@HE1PR02MB0683.eurprd02.prod.outlook.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/i.9TgKlSQ.s5Tsjh11.UZOJ";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Thu, 28 Jul 2016 11:56:24 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] gpsd/ntpd
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Jul 2016 18:56:43 -0000

--Sig_/i.9TgKlSQ.s5Tsjh11.UZOJ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Henning!

> I am currently trying to send a PPS signal to gpsd or ntpd. I am
> using u-blox gps receiver for gps clock, but the PPS signal is
> hardwired to GPIO. Our software can get the PPS signal and I would
> like to signal ntpd with this signal over shared memory much like
> gpsd is.

If you are on a RasPi or BBB then check out the gpsd-time-service-howto.txt
in the tarball.  The solution is well documented.

There are important improvements to this in git head, so be sure to=20
try git head and not anything from your distro.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/i.9TgKlSQ.s5Tsjh11.UZOJ
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXmlVRAAoJEA0O2UlB0XnYar4IAJmyqN8n1H/j/OsovIuEuWnv
gXUnJXywqvbA3X/zdif+Nmus10HmyEvoeubiDRmXSrVw2LWup1z/S3XbE5IOZ3gc
J/VSPfGUHcZeRZ7vmtRCeCtorgKxg0UfOpPMSoC7dWrnTmD/iuKm1M8ptgh2idWp
+LF1yqeGlRVVi4hzjORezDRFHUJ+nHCxXsNVslr0FLQZPe2EKzYCqS3Ou7/t2zvT
jMOTZEtJIrlSpt3fljdU2Gcu/1UokBSyVuLfCBEURJDsk4kq7OZkbc1jff+YA3I4
xfJOsVNMQnJQ3wNqfZKhw+NYV1FArSQ1uoBijpHVA33BEpbNVoLTTHps3PkRTfs=
=Kl8R
-----END PGP SIGNATURE-----

--Sig_/i.9TgKlSQ.s5Tsjh11.UZOJ--


From MAILER-DAEMON Fri Jul 29 09:37:25 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bT7yf-0006YW-Pl
	for mharc-gpsd-dev@gnu.org; Fri, 29 Jul 2016 09:37:25 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57105)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Henning.Hakonsen@q-free.com>) id 1bT7yd-0006W0-28
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 09:37:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Henning.Hakonsen@q-free.com>) id 1bT7yZ-0003Y8-3W
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 09:37:22 -0400
Received: from mail-db5eur01on0074.outbound.protection.outlook.com
	([104.47.2.74]:23473
	helo=EUR01-DB5-obe.outbound.protection.outlook.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Henning.Hakonsen@q-free.com>) id 1bT7yY-0003XL-Kh
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 09:37:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=qfreeonline.onmicrosoft.com; s=selector1-qfree-com0c;
	h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
	bh=C39ej6dYE7+5RGZGUIa1/rvhu2PMWN9/q1E5pidc7HM=;
	b=cS5kU+OcLDLlf9YkeY1dutAmyeeoqTUXUBh/NFPCAkXH2hQMt3HSAJAvRn+Ceb2jg5c5vU0ZW0uCVCcH+8y/4v3V2voPQPr4uW+6gkV2I/VETmsw2kxpuLOKuXKLKmgmnXclKbuhQmZF/E1IgSRSNle5qhlrgFWhsFjKPTJQdRw=
Received: from HE1PR02MB0683.eurprd02.prod.outlook.com (10.161.114.15) by
	HE1PR02MB0684.eurprd02.prod.outlook.com (10.161.114.150) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.544.10; Fri, 29 Jul 2016 07:03:53 +0000
Received: from HE1PR02MB0683.eurprd02.prod.outlook.com ([10.161.114.15]) by
	HE1PR02MB0683.eurprd02.prod.outlook.com ([10.161.114.15]) with mapi id
	15.01.0544.022; Fri, 29 Jul 2016 07:03:52 +0000
From: Henning Hakonsen <Henning.Hakonsen@q-free.com>
To: "Gary E. Miller" <gem@rellim.com>
CC: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: [gpsd-dev] gpsd/ntpd
Thread-Index: AQHR6JwNIfq5brlzP0K242s3PlitlaAuMjiAgADK3W4=
Date: Fri, 29 Jul 2016 07:03:52 +0000
Message-ID: <HE1PR02MB06837ADAE9CF7654B3C0921FA5010@HE1PR02MB0683.eurprd02.prod.outlook.com>
References: <HE1PR02MB0683349842B70C4CCD25BD7DA5000@HE1PR02MB0683.eurprd02.prod.outlook.com>,
	<20160728115617.20788a2c@spidey.rellim.com>
In-Reply-To: <20160728115617.20788a2c@spidey.rellim.com>
Accept-Language: nb-NO, en-US
Content-Language: nb-NO
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is )
	smtp.mailfrom=Henning.Hakonsen@q-free.com; 
x-originating-ip: [193.213.4.186]
x-ms-office365-filtering-correlation-id: c1760078-51cd-492e-95e0-08d3b77e7fd0
x-microsoft-exchange-diagnostics: 1; HE1PR02MB0684;
	6:g0JBHAh4opxLOojrurzSjF4c5OWLDh44t0R8my1kg73BZVTM22ZJg0dP+GrouNkDpbqTfEZZTm0lpNLlHbf5Q8Av7qAEh3CD6g3RbJQDrbKczSrt4fM+2PtYwaorTF4hYNP8go8Fd5KcZqOojapO1JyEEsDI3FbyLqqdesXJ2JM+hnH6iIO96nQIYb2MdaKvi8TfDVdN6BYzRm+Nzet50GhXJ4GulxFBtSSSR4d6V+2TI4yeMq4m6R7kko9ZGVWFFMwilMCGeTR1ZtfSI5IDc3dEc5pSAFqwYsxT7ItmMKY=;
	5:onf5S7gsOxQUGBWshxjLz3+wS7D7xhrhSkVNons9Ow6wATQSf2O74q9DChZzXYyGjxoKmncetzsqWjzogI621Rbp92UI1iu576oZYcUp0XDbdualyK7WI9XwhW7nYQCvGnpqQ+BWP8xjvskyEBEX7g==;
	24:pW+OfOcuyHpLVj42dRJjzF+1UDR9W0wlRSwEXmopOiNMO5FAAM17LgipkKWjiKojpl9NO+OQuSKz9W84wLH1s5S5r145+DR8VHYyExO1rxM=;
	7:vTdBWPLAAO08Or9Ku9j7tVkua5Meg99P4LvD+L3O9hIK4zNsXGVujNrQoGlbN4VeYXjw5Lyui4ttLPeJxiZjzQXItxktBv8Y4vyqJ0ArCawygeNFttDZHQQZUhqUBnbchmJLfwi5ESuRsih+ZsPtV7zIlxSYddWg+iPF6y+vwvsffkW8qgAtgMHqn6ZZ34/7FJlZM5Y73XlPqUhRNPoxMLPXg2emISNDBPI3llJHm1P4/37q+tjTk2DO2UYyhiXN
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR02MB0684;
x-microsoft-antispam-prvs: <HE1PR02MB06843D8DA0EBCC5F7E18FE51A5010@HE1PR02MB0684.eurprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
	RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);
	SRVR:HE1PR02MB0684; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB0684; 
x-forefront-prvs: 0018A2705B
x-forefront-antispam-report: SFV:NSPM;
	SFS:(10009020)(6009001)(7916002)(199003)(51914003)(189002)(71364002)(74316002)(16236675004)(106356001)(106116001)(66066001)(3660700001)(5002640100001)(9686002)(8936002)(68736007)(229853001)(7736002)(7696003)(7846002)(92566002)(105586002)(19580405001)(19580395003)(81166006)(81156014)(97736004)(50986999)(189998001)(2906002)(102836003)(6116002)(10400500002)(3846002)(86362001)(77096005)(76576001)(8676002)(33656002)(76176999)(54356999)(87936001)(586003)(4326007)(3280700002)(122556002)(2950100001)(110136002)(2900100001)(101416001)(19625215002);
	DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR02MB0684;
	H:HE1PR02MB0683.eurprd02.prod.outlook.com; FPR:; SPF:None;
	PTR:InfoNoRecords; A:0; MX:1; LANG:en; 
received-spf: None (protection.outlook.com: q-free.com does not designate
	permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative;
	boundary="_000_HE1PR02MB06837ADAE9CF7654B3C0921FA5010HE1PR02MB0683eurp_"
MIME-Version: 1.0
X-OriginatorOrg: q-free.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2016 07:03:52.2106 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 39ef44ca-adfa-4a24-8858-ef68dbe16345
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR02MB0684
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 104.47.2.74
Subject: Re: [gpsd-dev] gpsd/ntpd
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jul 2016 13:37:24 -0000

--_000_HE1PR02MB06837ADAE9CF7654B3C0921FA5010HE1PR02MB0683eurp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hey


Thanks for the reply. I got my program to feed ntpd with the PPS signal.


Now the only thing I am struggeling with is that I need to edit (linechange=
 or something) ntp.conf file and restart ntp after boot.

Do you have any idea as why I need to do that?


With kind regards,

Henning H=E5konsen

________________________________
Fra: Gary E. Miller <gem@rellim.com>
Sendt: 28. juli 2016 20:56:17
Til: Henning Hakonsen
Kopi: gpsd-dev@nongnu.org
Emne: Re: [gpsd-dev] gpsd/ntpd

Yo Henning!

> I am currently trying to send a PPS signal to gpsd or ntpd. I am
> using u-blox gps receiver for gps clock, but the PPS signal is
> hardwired to GPIO. Our software can get the PPS signal and I would
> like to signal ntpd with this signal over shared memory much like
> gpsd is.

If you are on a RasPi or BBB then check out the gpsd-time-service-howto.txt
in the tarball.  The solution is well documented.

There are important improvements to this in git head, so be sure to
try git head and not anything from your distro.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

--_000_HE1PR02MB06837ADAE9CF7654B3C0921FA5010HE1PR02MB0683eurp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; pad=
ding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content=3D"text/html; charset=3DUTF-8">
<style type=3D"text/css" style=3D"">
<!--
p
	{margin-top:0;
	margin-bottom:0}
-->
</style>
<div dir=3D"ltr">
<div id=3D"x_divtagdefaultwrapper" style=3D"font-size:12pt; color:#000000; =
background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hey</p>
<p><br>
</p>
<p>Thanks for the reply. I got my program to feed ntpd with the PPS signal.=
</p>
<p><br>
</p>
<p>Now the only thing I am struggeling with is that I need to edit (linecha=
nge or something) ntp.conf file and restart ntp after boot.</p>
<p>Do you have any idea as why I need to do that?&nbsp;</p>
<p><br>
</p>
<p>With kind regards,</p>
<p>Henning H=E5konsen</p>
</div>
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
<div id=3D"x_divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" =
color=3D"#000000" style=3D"font-size:11pt"><b>Fra:</b> Gary E. Miller &lt;g=
em@rellim.com&gt;<br>
<b>Sendt:</b> 28. juli 2016 20:56:17<br>
<b>Til:</b> Henning Hakonsen<br>
<b>Kopi:</b> gpsd-dev@nongnu.org<br>
<b>Emne:</b> Re: [gpsd-dev] gpsd/ntpd</font>
<div>&nbsp;</div>
</div>
</div>
<font size=3D"2"><span style=3D"font-size:10pt;">
<div class=3D"PlainText">Yo Henning!<br>
<br>
&gt; I am currently trying to send a PPS signal to gpsd or ntpd. I am<br>
&gt; using u-blox gps receiver for gps clock, but the PPS signal is<br>
&gt; hardwired to GPIO. Our software can get the PPS signal and I would<br>
&gt; like to signal ntpd with this signal over shared memory much like<br>
&gt; gpsd is.<br>
<br>
If you are on a RasPi or BBB then check out the gpsd-time-service-howto.txt=
<br>
in the tarball.&nbsp; The solution is well documented.<br>
<br>
There are important improvements to this in git head, so be sure to <br>
try git head and not anything from your distro.<br>
<br>
RGDS<br>
GARY<br>
---------------------------------------------------------------------------=
<br>
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gem@rellim.com&nbsp; Tel:&#43;1 =
541 382 8588<br>
</div>
</span></font>
</body>
</html>

--_000_HE1PR02MB06837ADAE9CF7654B3C0921FA5010HE1PR02MB0683eurp_--


From MAILER-DAEMON Fri Jul 29 14:48:14 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTCpS-0000rG-KB
	for mharc-gpsd-dev@gnu.org; Fri, 29 Jul 2016 14:48:14 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38690)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bTCpP-0000qC-DP
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 14:48:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bTCpL-00077F-8e
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 14:48:10 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:51660)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bTCpL-00076n-07
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 14:48:07 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6TIm0Fp003239
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Fri, 29 Jul 2016 11:48:00 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6TIm0Md007700
	for <gpsd-dev@nongnu.org>; Fri, 29 Jul 2016 11:48:00 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6TIm0md007697
	for <gpsd-dev@nongnu.org>; Fri, 29 Jul 2016 11:48:00 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 29 Jul 2016 11:48:00 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <HE1PR02MB06837ADAE9CF7654B3C0921FA5010@HE1PR02MB0683.eurprd02.prod.outlook.com>
Message-ID: <Pine.LNX.4.58L1X.1607291121150.21265@bolt.sonic.net>
References: <HE1PR02MB0683349842B70C4CCD25BD7DA5000@HE1PR02MB0683.eurprd02.prod.outlook.com>,
	<20160728115617.20788a2c@spidey.rellim.com>
	<HE1PR02MB06837ADAE9CF7654B3C0921FA5010@HE1PR02MB0683.eurprd02.prod.outlook.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVaXdmxyp6FXYpp2pyCa7u/CPVWJlfK8qxAuO7J0NGt9VnQQXyAT3hqoTy3wBiufqoYV2aKyIGG7gsT3ybNZ7yFC
X-Sonic-ID: C;DmFW+bxV5hG1hZtMTlz00w== M;Ui2C+bxV5hG1hZtMTlz00w==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] gpsd/ntpd
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jul 2016 18:48:12 -0000


It would be helpful in general if you'd provide more details.

On Thu, 28 Jul 2016, Henning Hakonsen wrote:

> I am currently trying to send a PPS signal to gpsd or ntpd. I am using
> u-blox gps receiver for gps clock, but the PPS signal is hardwired to
> GPIO. Our software can get the PPS signal and I would like to signal
> ntpd with this signal over shared memory much like gpsd is.

You don't specify what hardware platform, what OS, or what "our software"
is doing.

On Fri, 29 Jul 2016, Henning Hakonsen wrote:

> Thanks for the reply. I got my program to feed ntpd with the PPS signal.

You don't specify what you did.

> Now the only thing I am struggeling with is that I need to edit
> (linechange or something) ntp.conf file and restart ntp after boot.

If you mean that you need to edit ntp.conf on every boot, I would be very
surprised if that were actually true.

As far as restarting ntpd goes, that *may* be necessary, but it also may
be that you're just not sufficiently patient.

In order for ntpd to trust a PPS source, that source has to be in
reasonable agreement with at least one peer that's passed the intersection
tests and is flagged with the "prefer" keyword (note: examples that put
the "prefer" keyword on the PPS source itself are incorrect, albeit
harmless).  It's documented that the "reasonable agreement" test is false
if the difference is more than 128 ms.  What's not documented is that
discrepancies substantially less than 128 ms are sufficient to make it
significantly reluctant to trust the PPS.  And any PPS sample that fails
the "reasonable agreement" test is treated as "no response" and hence
shows up as a 0 bit in the reachability mask.  This may lead one to
falsely believe that the PPS source isn't working.

If the "prefer" source is a GPS NMEA stream, then the time lag in the NMEA
data can make ntpd take a long time (or forever) to trust the PPS.  One
can compensate somewhat by setting the "time1" fudge parameter to the mean
offset, though variability in the delay can still cause issues.

I've also seen cases where the loss of PPS data for too long causes it to
stop using PPS, apparently forever, but maybe just exceeding my patience
to the point where I restarted it.  This isn't limited to PPS; I've seen
it give up on network peers due to temporary network outages as well.
However, it may be that it's actually retrying, but with a really long
poll interval that isn't reflected in "ntpq -p".

Fred Wright


From MAILER-DAEMON Fri Jul 29 15:05:22 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTD62-0006CX-Jz
	for mharc-gpsd-dev@gnu.org; Fri, 29 Jul 2016 15:05:22 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42746)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTD60-0006Bd-LM
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 15:05:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTD5y-0002lG-Jk
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 15:05:19 -0400
Received: from rellim.com ([2001:470:e815::19]:44462 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTD5y-0002eG-97
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 15:05:18 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6TJ4x6Q010224
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 29 Jul 2016 12:05:05 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6TJ4x6Q010224
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469819105; bh=eBd+2k+et3eu8TLg3U7J4GrZIKdhvDkayr95VIYIPaQ=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=gzflimQvjf21rITP7FbRAC+h6zEeXd7ocGhmr4kWbTiiIEpcSSxiORoqCdWynzAi5
	zZPk/QryMOJZI5ZNzPoir5olRVtopyToQpHynPQAF61DzBck4FVQJFp7NXrqmP5+q+
	te03enfjrDrmFvHzThfvC9Sqt4eCr4VUgsOGFuFw=
Date: Fri, 29 Jul 2016 12:04:59 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Henning Hakonsen <Henning.Hakonsen@q-free.com>
Cc: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Message-ID: <20160729120459.0b52e793@spidey.rellim.com>
In-Reply-To: <HE1PR02MB06837ADAE9CF7654B3C0921FA5010@HE1PR02MB0683.eurprd02.prod.outlook.com>
References: <HE1PR02MB0683349842B70C4CCD25BD7DA5000@HE1PR02MB0683.eurprd02.prod.outlook.com>
	<20160728115617.20788a2c@spidey.rellim.com>
	<HE1PR02MB06837ADAE9CF7654B3C0921FA5010@HE1PR02MB0683.eurprd02.prod.outlook.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/d2nEVOCQbrTv+i081G1zaIg";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 29 Jul 2016 12:05:05 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] gpsd/ntpd
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jul 2016 19:05:21 -0000

--Sig_/d2nEVOCQbrTv+i081G1zaIg
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Henning!

On Fri, 29 Jul 2016 07:03:52 +0000
Henning Hakonsen <Henning.Hakonsen@q-free.com> wrote:

> Thanks for the reply. I got my program to feed ntpd with the PPS
> signal.

Hopefully over SHM().  The other ways are less good.

> Now the only thing I am struggeling with is that I need to edit
> (linechange or something) ntp.conf file and restart ntp after boot.

Lost me?

> Do you have any idea as why I need to do that?

Do what?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/d2nEVOCQbrTv+i081G1zaIg
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXm6jbAAoJEA0O2UlB0XnYFP0IALlTQeTZRfH/WplyzDayJeKG
LkSN40FsUwiW+tgDoWS9b0JuYiZCuUrOJE1fLwfg7YyoM3sSrg4soaBQxGGPCxtB
bLyVPv8rNHIbZd05LFlHWeYdHbBdvjOGTEkixLOmt3+SkvIM0FUwvrVQoxOaCscZ
wJY65orOiYTo7Lj6isJBnxdcXPAFX4g/RUnkp0C1Pr60JsCtcgVVbMxvZGn3nd+A
ure3+8s4TqPAgkVznBdvzZv46dAuHuPIbSPfHPXGPo0YV4b0Q7kvTtoY77ChYiWC
bTep4u7Nk6WwSPr73tjWZ8C7b9Jbylkd8+mmJt8Fova+noWbMM3+fz8kKgiLBuk=
=QQy9
-----END PGP SIGNATURE-----

--Sig_/d2nEVOCQbrTv+i081G1zaIg--


From MAILER-DAEMON Fri Jul 29 15:08:00 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTD8Z-0006xN-Ut
	for mharc-gpsd-dev@gnu.org; Fri, 29 Jul 2016 15:07:59 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43488)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTD8Y-0006oz-Ab
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 15:07:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTD8W-00036n-5C
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 15:07:57 -0400
Received: from rellim.com ([2001:470:e815::19]:43345 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTD8V-00036i-U4
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 15:07:56 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6TJ7lvt011719
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 29 Jul 2016 12:07:52 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6TJ7lvt011719
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469819272; bh=K+fLmmyklkL6kFPmGzvaHDGuvydbpAgeY3rB2h4ANxA=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=QNPMGKP7/EaIagLQOsPl3CZC0I/riGtock7QCAElxNZACxKsMJyDk3GUgA55GLJF0
	DchJRmZ+fb540GnZFBMQ8j2D0P7IpkYk08DVG4Ff6EluI6xtT6zyKpd6LEXoWe900g
	5liJuWIEgEywCiMoqPXrI9GCZ8M4tQ/9K97xzUBA=
Date: Fri, 29 Jul 2016 12:07:47 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160729120747.1f1dc9a5@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1607291121150.21265@bolt.sonic.net>
References: <HE1PR02MB0683349842B70C4CCD25BD7DA5000@HE1PR02MB0683.eurprd02.prod.outlook.com>
	<20160728115617.20788a2c@spidey.rellim.com>
	<HE1PR02MB06837ADAE9CF7654B3C0921FA5010@HE1PR02MB0683.eurprd02.prod.outlook.com>
	<Pine.LNX.4.58L1X.1607291121150.21265@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/FHVrfkQ+QjTRyDTl_zCMgzy";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 29 Jul 2016 12:07:52 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] gpsd/ntpd
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jul 2016 19:07:59 -0000

--Sig_/FHVrfkQ+QjTRyDTl_zCMgzy
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Fri, 29 Jul 2016 11:48:00 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> > Now the only thing I am struggeling with is that I need to edit
> > (linechange or something) ntp.conf file and restart ntp after
> > boot. =20
>=20
> If you mean that you need to edit ntp.conf on every boot, I would be
> very surprised if that were actually true.

If that is his problem, it is a common one.  Some dhcp clients insist
on changing ntp.conf on every reboot.  Simple fix, stifle the dhcp client,
or make the ntp.conf file immutable.

> As far as restarting ntpd goes, that *may* be necessary, but it also
> may be that you're just not sufficiently patient.

Restarting ntpd when it is PPS synced is a bad idea.  It can take days
for the local clock to settle down.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/FHVrfkQ+QjTRyDTl_zCMgzy
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXm6mDAAoJEA0O2UlB0XnYWlwH/1+C3hKdVdPGltgBdO7XP5Vc
ghxZyh5uFpwiQljd1eK3rI0bzAsSQOQuYeK/8dXuOI2QTkzDQ05ugNisUJ28jwff
UZsboAykKDWXbOKUNBV7oNYtquj67o52Xbg+K4dqGp1fpkMibActnwqoPt6NtAYU
V6Uq5O7K14Imz2j0NvfQPy4SWgwq6fLwP4G4KmXBmyeJGDQ8gjvU5Rf2jzoTXihM
Pig0LxFprAyJ1vSFg2JNkU417haxVBGjvbzCrMw43iLNa1xgXpjGUkDGFr/Nk/fY
O6AkV318RB4aNnlH71Y3W2kb/DNVBu24zAc+5kIn4gp+TxeJUi1DtDKVHIZIa1w=
=GYP2
-----END PGP SIGNATURE-----

--Sig_/FHVrfkQ+QjTRyDTl_zCMgzy--


From MAILER-DAEMON Fri Jul 29 16:28:48 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTEOm-0007oH-DK
	for mharc-gpsd-dev@gnu.org; Fri, 29 Jul 2016 16:28:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56086)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bTEOk-0007o3-80
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 16:28:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bTEOf-00084v-8L
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 16:28:45 -0400
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:58129)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1bTEOf-00084j-0D
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 16:28:41 -0400
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 72FA0406057; 
	Fri, 29 Jul 2016 13:28:33 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Fred Wright <fw@fwright.net>,
	GPSD Developers List <gpsd-dev@nongnu.org>, hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Fri,
	29 Jul 2016 12:07:47 PDT." <20160729120747.1f1dc9a5@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 29 Jul 2016 13:28:33 -0700
Message-Id: <20160729202833.72FA0406057@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] gpsd/ntpd
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jul 2016 20:28:47 -0000


gem@rellim.com said:
> If that is his problem, it is a common one.  Some dhcp clients insist on
> changing ntp.conf on every reboot.  Simple fix, stifle the dhcp client, or
> make the ntp.conf file immutable. 

We should collect the places where DHCP screws things up and document it 
someplace.

A variation on reboot is a laptop recovering from lid-closed.

The details probably vary with OS/distro.

I have a note that references:
  /etc/dhcp/dhclient-exit-hooks.d/ntp
I think that's on Debian

I'm pretty sure I've inserted an "exit" near the top of something like that.


Another note references /var/lib/ntp/ntp.conf.dhcp
There is code (on Debian) from /etc/init.d/ntp
  if [ -e /var/lib/ntp/ntp.conf.dhcp ]; then
          NTPD_OPTS="$NTPD_OPTS -c /var/lib/ntp/ntp.conf.dhcp"
  fi

So you either have to comment that out or arrange it so that file doesn't get 
created.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Fri Jul 29 16:39:36 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTEZE-0001Yz-NC
	for mharc-gpsd-dev@gnu.org; Fri, 29 Jul 2016 16:39:36 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58135)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTEZC-0001Yr-Va
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 16:39:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTEZB-0001br-Ve
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 16:39:34 -0400
Received: from rellim.com ([2001:470:e815::19]:60915 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTEZB-0001bh-NN
	for gpsd-dev@nongnu.org; Fri, 29 Jul 2016 16:39:33 -0400
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6TKdIQq011557
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Fri, 29 Jul 2016 13:39:23 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6TKdIQq011557
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469824763; bh=36Ymlx0Xj/1iTDJXdVH2f12A2tskJO9dPXLEocC5VDk=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=tWPXiUfJD1l8Mq9Ng3aTKkVAgfSXO59Q5N4lSNPAkQUSDXmV7o7tHgZGZ1HdnR1zZ
	8KCK5KhB3vIuIJw+tAlNcHy6PAaryQkG4nPJMcqCavxdex5nsgQkEh8Ac7f4/k100b
	r0E7hfvaklaGrTGm3rNAwwCBu4eF//58IdIpbZdM=
Date: Fri, 29 Jul 2016 13:39:18 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: Fred Wright <fw@fwright.net>, GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20160729133918.290b4db7@spidey.rellim.com>
In-Reply-To: <20160729202833.72FA0406057@ip-64-139-1-69.sjc.megapath.net>
References: <20160729120747.1f1dc9a5@spidey.rellim.com>
	<20160729202833.72FA0406057@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/8OQCe7BtDGWda_Z.OZapiF2";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Fri, 29 Jul 2016 13:39:23 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] gpsd/ntpd
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jul 2016 20:39:36 -0000

--Sig_/8OQCe7BtDGWda_Z.OZapiF2
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Fri, 29 Jul 2016 13:28:33 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said:
> > If that is his problem, it is a common one.  Some dhcp clients
> > insist on changing ntp.conf on every reboot.  Simple fix, stifle
> > the dhcp client, or make the ntp.conf file immutable.  =20
>=20
> We should collect the places where DHCP screws things up and document
> it someplace.
>=20
> A variation on reboot is a laptop recovering from lid-closed.

A bit job.  Have at it.

> The details probably vary with OS/distro.

Just on gentoo there are at least 5 different dhcp client's.

On the one I use, I have to put this in /dev/conf.d/net:

dhcpcd_wlan0=3D"-C resolv.conf -C ntp.conf"=20

Simpler just to make the file immutable, that works on any sane file
system:
	# chattr +i /etc/ntp.conf

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/8OQCe7BtDGWda_Z.OZapiF2
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXm772AAoJEA0O2UlB0XnYxfAIAKVE6vGHWrT34xIP7sYcsrul
DxxBkBu/bxIoJ77CIBbn6hy3sC1iyJ+/mTYKn9WFzP3BItK54vgAHnON/dBthvAq
TCXteqi+aM7gdoBnS/0cF0MGhUmRy1AO2SdTClfZAxOP77ElcRBHj3TWqyl+DxfW
R6On1UsvsaO4Mkl9VJ58gEfZGjoA8KFz0LECVkdyBwXrpCEIYbKaeXANUagOMAfy
9RByvVBCqMXk9WVvC8YwXlN6qowHve8WuY7iNtGlqvzDGki0An4TWXQV3v6rWa5x
brwXRwS+/H58kxXyEY1Gs3gHlWKX3qDrKBj3TCVNvXFIvjGOlqlYihsJd4N+Yv4=
=CsdX
-----END PGP SIGNATURE-----

--Sig_/8OQCe7BtDGWda_Z.OZapiF2--


From MAILER-DAEMON Sat Jul 30 14:08:51 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTYgt-0002P6-I8
	for mharc-gpsd-dev@gnu.org; Sat, 30 Jul 2016 14:08:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50436)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYgr-0002P0-NV
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:08:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYgo-0001Bo-DN
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:08:49 -0400
Received: from snt004-omc1s18.hotmail.com ([65.55.90.29]:54905)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYgo-0001BN-42
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:08:46 -0400
Received: from EUR01-HE1-obe.outbound.protection.outlook.com ([65.55.90.7]) by
	SNT004-OMC1S18.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Sat, 30 Jul 2016 11:08:43 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=YBo3oSsUaXitpJAHWhNgsGMFnm/aVlwsNeoa3monJBo=;
	b=TTHr5Va28IkUt/0xaowQ8MUtfD8k03FYZSnLQB+M7jLRqNwX4Ut7OW0ckiS4pFBu5RM3FHMHpNQ30K+Ffiy6Oyl4e63AQav9TMjf3z9IwYVJfAZqE6NsihREySleovNXvQ2iUGc296wk5ViPjoSs+2bXFB3ggXIwP4p9D2S87xHkZ4FI1QwwLXfSDcmLsMYTeDTMrkBqEsIDotyZS/OGGSfjVCsuqG/tV1UfMinD6vS54XHEtaWI7BY6YPdTi/+rE4yFS+ZJ1I7ZDJDNKEm+342AT4CwDIo3leKV58eO9LJUVrfF6lj/GXQaahgcivgPiPMXJolEcScz7hqchX1HBg==
Received: from HE1EUR01FT008.eop-EUR01.prod.protection.outlook.com
	(10.152.0.57) by HE1EUR01HT250.eop-EUR01.prod.protection.outlook.com
	(10.152.1.142) with Microsoft SMTP Server (version=TLS1_0,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.5;
	Sat, 30 Jul 2016 18:08:41 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com (10.152.0.57) by
	HE1EUR01FT008.mail.protection.outlook.com (10.152.1.250) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.557.8 via Frontend Transport; Sat, 30 Jul 2016 18:08:41 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) by
	DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) with mapi id
	15.01.0549.016; Sat, 30 Jul 2016 18:08:40 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: [PATCH] Prevent client crashes if one calls gps_close() multiple
	times
Thread-Index: AQHR6o1mYIepNs3eY0SOQ8b/kiKLmA==
Date: Sat, 30 Jul 2016 18:08:40 +0000
Message-ID: <DB6PR0601MB21687BF0D457373B7AD398B08E020@DB6PR0601MB2168.eurprd06.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=softfail (sender IP is 10.152.0.57)
	smtp.mailfrom=hotmail.com; nongnu.org; dkim=none (message not signed)
	header.d=none; nongnu.org;
	dmarc=fail action=none header.from=hotmail.com; 
received-spf: SoftFail (protection.outlook.com: domain of transitioning
	hotmail.com discourages use of 10.152.0.57 as permitted sender)
x-ms-exchange-messagesentrepresentingtype: 1
x-eopattributedmessage: 0
x-forefront-antispam-report: CIP:10.152.0.57; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM;
	SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1;
	SRVR:HE1EUR01HT250; H:DB6PR0601MB2168.eurprd06.prod.outlook.com;
	FPR:; SPF:None; LANG:en; 
x-microsoft-exchange-diagnostics: 1; HE1EUR01HT250;
	6:UJfiNsEEnunxlf0oRLgD0Y8oO/NCpubQUiuX3Tqf7KLxM0InS193zD2ICh+Dn48ziP6eFU+chaqsCghDQGoaa9LYnYyKSEaZeugi94ntavgIo0gDqgKt7RbiHTJriUWIgUPOaz93Q339hPDI3HUnHv3Q74xdjk9J+akNc6ODz/gB7o84cRnIGmEEywiWlLzVn2dnL1eBCmSP7+Zd3GzlGnksHO8v2Z3Qt5qqbMcHiTx5ovYmNomA+tSGqBehAneBVoBR+PZ58KKQ5tdlF0ItkB7TnHsaDkPMyVsY5sv5PN1Wm42t8ftPhI+FFEVM+NYA;
	5:tONW1L5YbZejsQPPAUr9FzW/psF1gjpFKJm+RpiHHl25ZXKsQ1ACTxFbC9uJLkkaAMc6dgWKaHIwhWuPM5x/k+4V05099j7N0brhGIgwnagvAkq/uZOPHGWMwCdxdfXFvYaKZB5188fNGgehm8vWPw==;
	24:aVGSyBM08isTPjCf45SDHqLoVw0bw5hqJXgVlSvtJLf7dfhKj/VqiHyH3PFyqKj4HAEI2lCplqde/YMhfHxBbAFn3Tji0/ieHpiAoYhAXmY=;
	7:aHXbbvXGsBYAouwe5vmYxxk+6T+7vnleGlBGt6pEjyB6QWjcpsAYm+h8LmbrXHHEWdKDMwOVN3ujIRMtHt5vxiMKrXfi5go4Ismw8GrcSo/nXi6QHLUjPXd0/W4xVctVGd4fNuYUJkurq0KtjxOR3swMJ1wpkRv5koCPUivbSSBpVyiaBWqtk/Bv05E6bAa5HeheTdxotU7n3qdT713WSjo0XdvUrVdC8ynRaSf2KNIBWguNdEmryCGKEn1LYHFn
x-ms-office365-filtering-correlation-id: 9707f3d6-5f4e-4b15-330b-08d3b8a488a7
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(1601125047);
	SRVR:HE1EUR01HT250; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046);
	SRVR:HE1EUR01HT250; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR01HT250; 
x-forefront-prvs: 001968DD50
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2016 18:08:40.2653 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT250
X-OriginalArrivalTime: 30 Jul 2016 18:08:44.0055 (UTC)
	FILETIME=[68D54270:01D1EA8D]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.90.29
Subject: [gpsd-dev] [PATCH] Prevent client crashes if one calls gps_close()
 multiple times
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Jul 2016 18:08:50 -0000

privdata must be explicitly set to NULL after use,
 otherwise if gps_close() is (incorrectly) called again before
 a new gps_open() then a double free condition can occur.
---
 libgps_shm.c  | 1 +
 libgps_sock.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libgps_shm.c b/libgps_shm.c
index b256249..a0dfdde 100644
--- a/libgps_shm.c
+++ b/libgps_shm.c
@@ -60,6 +60,7 @@ int gps_shm_open(struct gps_data_t *gpsdata)
     if (PRIVATE(gpsdata)->shmseg =3D=3D (void *) -1) {
 	/* attach failed for sume unknown reason */
 	free(gpsdata->privdata);
+	gpsdata->privdata =3D NULL;
 	return -2;
     }
 #ifndef USE_QT
diff --git a/libgps_sock.c b/libgps_sock.c
index d056515..a7ac672 100644
--- a/libgps_sock.c
+++ b/libgps_sock.c
@@ -118,6 +118,7 @@ int gps_sock_close(struct gps_data_t *gpsdata)
     int status;
=20
     free(PRIVATE(gpsdata));
+    gpsdata->privdata =3D NULL;
     status =3D close(gpsdata->gps_fd);
     gpsdata->gps_fd =3D -1;
     return status;
--=20
2.8.1



From MAILER-DAEMON Sat Jul 30 14:08:56 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTYgy-0002Rc-MI
	for mharc-gpsd-dev@gnu.org; Sat, 30 Jul 2016 14:08:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50450)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYgw-0002Q0-E5
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:08:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYgr-0001D3-Uo
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:08:53 -0400
Received: from snt004-omc3s1.hotmail.com ([65.55.90.140]:56071)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYgr-0001Cv-NN
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:08:49 -0400
Received: from EUR01-VE1-obe.outbound.protection.outlook.com ([65.55.90.137])
	by SNT004-OMC3S1.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Sat, 30 Jul 2016 11:08:48 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=h/sJWYHd+lmEOf3+RxVaExjPF03ogh18NSpgYc+fyZQ=;
	b=Ok6e66TKLEl6MyrzTrwi2QQZpO5Yf4Qx7avpkYatGlCDsIIWwHxfr9BG6whCaPWul0R/cCrBE+K44PlOk8YBdWxIq+IgkKxgP/xJwQIf6JPulKLerqqS0uQ9u4EKIH+7MgSuS7P1ofD++ijpXR7/NXXIJuSC6Bvu57OCuRu/oMQR3N98BHMMm1MVsMnPqtKCet/Mj8ej6myN8/7BJqesBS7fjOaRYP4Xyh98wYi808O8uIJcvwwc6osIlfnkymWqmnMu1NsgfrhVAE2+2vRB+jdmTSVnPN9W+/1NlJmuDqlM1P6XwqJDPHrG1JSfubOyM7ClnvZHdkA185fzkGmHJQ==
Received: from HE1EUR01FT008.eop-EUR01.prod.protection.outlook.com
	(10.152.0.59) by HE1EUR01HT094.eop-EUR01.prod.protection.outlook.com
	(10.152.1.0) with Microsoft SMTP Server (version=TLS1_0,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.5;
	Sat, 30 Jul 2016 18:08:47 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com (10.152.0.57) by
	HE1EUR01FT008.mail.protection.outlook.com (10.152.1.250) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.557.8 via Frontend Transport; Sat, 30 Jul 2016 18:08:46 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) by
	DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) with mapi id
	15.01.0549.016; Sat, 30 Jul 2016 18:08:45 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: [PATCH] Improved resilience in gps_shm_close() in case it is
	called after an unsuccessful gps_shm_open()
Thread-Index: AQHR6o1pz0ClT3jL00yobOW0dmZfiw==
Date: Sat, 30 Jul 2016 18:08:45 +0000
Message-ID: <DB6PR0601MB21685EA98C5884F52CBB555E8E020@DB6PR0601MB2168.eurprd06.prod.outlook.com>
References: <1469902106-5416-1-git-send-email-rw_norris@hotmail.com>
In-Reply-To: <1469902106-5416-1-git-send-email-rw_norris@hotmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=softfail (sender IP is 10.152.0.57)
	smtp.mailfrom=hotmail.com; nongnu.org; dkim=none (message not signed)
	header.d=none; nongnu.org;
	dmarc=fail action=none header.from=hotmail.com; 
received-spf: SoftFail (protection.outlook.com: domain of transitioning
	hotmail.com discourages use of 10.152.0.57 as permitted sender)
x-ms-exchange-messagesentrepresentingtype: 1
x-eopattributedmessage: 0
x-forefront-antispam-report: CIP:10.152.0.57; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM;
	SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1;
	SRVR:HE1EUR01HT094; H:DB6PR0601MB2168.eurprd06.prod.outlook.com;
	FPR:; SPF:None; LANG:en; 
x-microsoft-exchange-diagnostics: 1; HE1EUR01HT094;
	6:xtWr8VZHyS/SK4N6hiuNeo/YCdY6I5WMXMhDWWn2FRf0uNONdiGhLLHEH9apQg9sbhy62BTpC2nzwb2H7HubtNzF69lUdjsS1+a2bLkeDEZNYTd/Rj51nLrqF3DCuU2KMpfRtcdPkuyDuxjnRSQtTI4slBw0njjo8j68iyGvZoxr4ypSIshUInCtGuzNiHZ5pCMtH+pADoW62kZxUZ39V6Dpm6/DKUEFU+GMMjG61m/A5l5yUnIVMcVW2ENTma1GBgzfIXmxxcTgps4rY4lthyiW0wtv8iMq59I46MCX46PlOdAkxMY25pqqB1dGwj2e;
	5:pb01d60nbTFV5sPbEFt75xh7vlVfnosaLhXSudIkw+0PMNKFAGVCO0qx2De6slmuNhinkP7uyCUIeZ8vx8b66S7PqB5spz7RK8aip4Z0ccQZ1PkdizSXmBcTSA/QWJPq0cIXH2IdYfOYfeWLvWGXmA==;
	24:soSY5YmOUwZGRJVDXa1iFQBfHxcsNZuvhD+RgXZX5B1dn/HFQLc8fA7JgFjujfrB2mmD2yy0LXXXhAlR2J3+ack17G8B2YzItVm0sxMe29U=;
	7:7cg20xl548By0QWjYAhtEvTPYAPqEATSJp7VkSq4LFabJvcAAWqQeJX3/kg9bQ0cSnBOgWzrskuYA7nK46t/jjNGS1ogl7BHhFV0VOhuZRJjnzSxbA6UHinVnYuLV+h+EDq1wi4/C2HwtSpqebrg2wvaa0LUVeEdf6hPet8nfNVPjInDE78rpO5dcMhALkpakaRnAOquoyKfCKF7aLyMPnICYqCROYRACiMa9dl89nrUcQvUGRSa2IgicC/DP4zl
x-ms-office365-filtering-correlation-id: 3ab1c069-50d8-4d4e-0355-08d3b8a48c0a
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(1601125047);
	SRVR:HE1EUR01HT094; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046);
	SRVR:HE1EUR01HT094; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR01HT094; 
x-forefront-prvs: 001968DD50
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2016 18:08:45.7799 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT094
X-OriginalArrivalTime: 30 Jul 2016 18:08:48.0953 (UTC)
	FILETIME=[6BC0A290:01D1EA8D]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.90.140
Subject: [gpsd-dev] [PATCH] Improved resilience in gps_shm_close() in case
 it is called after an unsuccessful gps_shm_open()
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Jul 2016 18:08:55 -0000

Check that the structure exists before trying to use a component of it.
---
 libgps_shm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libgps_shm.c b/libgps_shm.c
index a0dfdde..872a089 100644
--- a/libgps_shm.c
+++ b/libgps_shm.c
@@ -154,6 +154,8 @@ int gps_shm_read(struct gps_data_t *gpsdata)
=20
 void gps_shm_close(struct gps_data_t *gpsdata)
 {
+    if (PRIVATE(gpsdata) =3D=3D NULL)
+	return;
     if (PRIVATE(gpsdata)->shmseg !=3D NULL)
 	(void)shmdt((const void *)PRIVATE(gpsdata)->shmseg);
 }
--=20
2.8.1



From MAILER-DAEMON Sat Jul 30 14:09:02 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTYh3-0002Ue-Rq
	for mharc-gpsd-dev@gnu.org; Sat, 30 Jul 2016 14:09:01 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50464)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYh1-0002T0-94
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:09:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYgy-0001Eb-06
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:08:59 -0400
Received: from col004-omc4s14.hotmail.com ([65.55.34.216]:62902)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYgx-0001EX-NQ
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:08:55 -0400
Received: from EUR01-VE1-obe.outbound.protection.outlook.com ([65.55.34.199])
	by COL004-OMC4S14.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Sat, 30 Jul 2016 11:08:54 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=Xc8hVa+aZPEDI34TUdtUJn+bFTdmVnFivNvHRgW39cI=;
	b=l3sCoeOIknLNGmatSDw2Ja904J4Bc/5kv/r1DKHnPdlfsjLRdAOfdPBUj9vy4V+SeF2ddQKVz34TNA2/Z7b86ADoG/3OgI6TGMYu60PmRJrTbv2za1Dl/2g+Ztr4aQpWOuWKtHWn7hj41Ed1GTfxeet6c/OM8YRDu5IelHdAIE0msJx9NZwDbvqzuzBk+Xrvg3qHdJGJX1Uq+chqesEpAUHtzTYbAnY7opSQrr7myJyFeAj3ub4+uNMlke633mcmOBAUgCg/iQZ/pnD09+KWx+WhOxwLTxLF9F9Vj2pMe9uMBF4qIcQT506Y87WdpLQ2wqiq6icNRvKLVfiyEv7z8A==
Received: from HE1EUR01FT008.eop-EUR01.prod.protection.outlook.com
	(10.152.0.58) by HE1EUR01HT221.eop-EUR01.prod.protection.outlook.com
	(10.152.1.127) with Microsoft SMTP Server (version=TLS1_0,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.5;
	Sat, 30 Jul 2016 18:08:51 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com (10.152.0.57) by
	HE1EUR01FT008.mail.protection.outlook.com (10.152.1.250) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.557.8 via Frontend Transport; Sat, 30 Jul 2016 18:08:51 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) by
	DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) with mapi id
	15.01.0549.016; Sat, 30 Jul 2016 18:08:50 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: [PATCH] Ensure all functions of the client API are available at
	all times.
Thread-Index: AQHR6o1sqGxIAsXkJEyg0XDip+kPTg==
Date: Sat, 30 Jul 2016 18:08:50 +0000
Message-ID: <DB6PR0601MB21685BED26D5A9D1B45689AA8E020@DB6PR0601MB2168.eurprd06.prod.outlook.com>
References: <1469902106-5416-1-git-send-email-rw_norris@hotmail.com>
In-Reply-To: <1469902106-5416-1-git-send-email-rw_norris@hotmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=softfail (sender IP is 10.152.0.57)
	smtp.mailfrom=hotmail.com; nongnu.org; dkim=none (message not signed)
	header.d=none; nongnu.org;
	dmarc=fail action=none header.from=hotmail.com; 
received-spf: SoftFail (protection.outlook.com: domain of transitioning
	hotmail.com discourages use of 10.152.0.57 as permitted sender)
x-ms-exchange-messagesentrepresentingtype: 1
x-eopattributedmessage: 0
x-forefront-antispam-report: CIP:10.152.0.57; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM;
	SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1;
	SRVR:HE1EUR01HT221; H:DB6PR0601MB2168.eurprd06.prod.outlook.com;
	FPR:; SPF:None; LANG:en; 
x-microsoft-exchange-diagnostics: 1; HE1EUR01HT221;
	6:fYPRCeuNQ7um8L0XndxgnP/N9lxaue46Zn+5tWm8LGKfz6K//kDMxqsCfu9lPQSET+5oo/2+Ce+PyxKUv2yiFD5r4W8lDAPhWcv9FbHBTXrigKmfjwFzXolwFJgBNXCH/m8ewxPBXeKbOTpWpwClF20ywAefIm22tZiQKSzYi3/QJpBs7bmvAWNMmj11jXH2JT9EBeXXsWmKUbxNcIefOIQiet9GeKtSioY3IExsi6rqAcJdEwyI3LyFGdLBpEIhbf/io6sQhAoMHzyB2kknkiZp63K2WBssaXKMWhgpBP5ywEQ7pLXs5TcG7Ns9jSLu;
	5:/OvNFrQlztUneoPrsL4E9BJbZ0OWeQ6D8aVWngO6jn7KK4+mfBxqEfOJDIOhBi9ktv/fPMZJWBmMBm9vEOE6h3P8EeefDZRy28HFVDuw7kQtm5I8m9QkOmXdMkFcU7ESoYCly/S9WFalWQ+rmJRz6g==;
	24:1HC9ukG1fDyEF4DORo2bZ9IFTCu6fDOgbrvFouFy8B3xcnH4uu3qb+/4/VuSTXIA9RtjZr02kfM3SEx9728P3QbANw52GxForNXb8xsScsU=;
	7:DZG4A4wfMB85VN/k+lbpaDIUiK00ysiWCYAj7kyF5RLV/cr7hGn0Mv75Pwj+S7zGPeL2g+acls+M3YBaacpCHgR8HOHdhpNCI5KybzYUyqBjnCP/zbaNCXIeI5m8L4CDQtCD3bFjrSAWo24gQyqL1x4MFu/stqSDDAkewJ1XV4qh4JRfrqYfQlWdRS5pysuJ+Bitjv6cS2aE80iF168ZoB8u4qdy4MTFV/CTTei97/l0/tBzfm5iQbq/IUjkpRZ6
x-ms-office365-filtering-correlation-id: edb57acc-c071-4b37-e10d-08d3b8a48ec9
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(1601125047);
	SRVR:HE1EUR01HT221; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046);
	SRVR:HE1EUR01HT221; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR01HT221; 
x-forefront-prvs: 001968DD50
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2016 18:08:50.3788 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT221
X-OriginalArrivalTime: 30 Jul 2016 18:08:54.0959 (UTC)
	FILETIME=[6F5513F0:01D1EA8D]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.34.216
Subject: [gpsd-dev] [PATCH] Ensure all functions of the client API are
 available at all times.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Jul 2016 18:09:00 -0000

Thus client programs won't fail to build or run due to missing functions.
Although when clientdebug is turned off in building libgps, then these func=
tions won't do anything.
---
 libgps_core.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libgps_core.c b/libgps_core.c
index 582e210..ca580bd 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -49,6 +49,10 @@ void libgps_trace(int errlevel, const char *fmt, ...)
 	(void)fputs(buf, debugfp);
     }
 }
+#else
+// Functions defined as so to furfil the API but otherwise do nothing when=
 built with debug capability turned off
+void gps_enable_debug(int level UNUSED, FILE * fp UNUSED) {}
+void libgps_trace(int errlevel UNUSED, const char *fmt UNUSED, ...){}
 #endif /* LIBGPS_DEBUG */
=20
 #ifdef SOCKET_EXPORT_ENABLE
--=20
2.8.1



From MAILER-DAEMON Sat Jul 30 14:09:04 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTYh6-0002Wf-Qv
	for mharc-gpsd-dev@gnu.org; Sat, 30 Jul 2016 14:09:04 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50474)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYh4-0002VN-MP
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:09:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYh1-0001Es-4N
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:09:02 -0400
Received: from snt004-omc3s4.hotmail.com ([65.55.90.143]:56963)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYh0-0001Em-So
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:08:59 -0400
Received: from EUR01-HE1-obe.outbound.protection.outlook.com ([65.55.90.137])
	by SNT004-OMC3S4.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Sat, 30 Jul 2016 11:08:58 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=9QS4MUxUvT3SAwKim8wFIab2RlwB/t908MNmS5tRO/I=;
	b=ARK0Nx3WweCjPZBhQiRqr7Cc+dkaW26gvoaIfSq+sYClOJ7rD0W0CzXPmwUNiRio6EK6/BteUCQHJFKuHw2LOBs8omoCLsE2/xNXvQMGAO3GEh6Lr12ydW8mnJkYPagBtl/tlO0W2WSalm+twuK3VYFZYjc8MHdqEWJ3NaQ0AXVvY21/kGzEsq9iwjFipR/AaQW/kFpopr5T0HA0mp5mZgwnO0M0lMGVmnIgn6h84fC1pFjuRqNNS+iG1+/qDAccFCPchmey21OWgR2dz5qerfmrgJnoL66itPwQGsmOABGUReFQqc4G1gYNSjdeX2GJSNnH3/oaY5NtzOBjsZm/rA==
Received: from HE1EUR01FT008.eop-EUR01.prod.protection.outlook.com
	(10.152.0.55) by HE1EUR01HT090.eop-EUR01.prod.protection.outlook.com
	(10.152.0.234) with Microsoft SMTP Server (version=TLS1_0,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.5;
	Sat, 30 Jul 2016 18:08:55 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com (10.152.0.57) by
	HE1EUR01FT008.mail.protection.outlook.com (10.152.1.250) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.557.8 via Frontend Transport; Sat, 30 Jul 2016 18:08:55 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) by
	DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) with mapi id
	15.01.0549.016; Sat, 30 Jul 2016 18:08:54 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: [PATCH] Improve documentation around the usage of gps_close()
Thread-Index: AQHR6o1vevHb98HjbEGPYjNDRpL7Fw==
Date: Sat, 30 Jul 2016 18:08:54 +0000
Message-ID: <DB6PR0601MB2168D28A8E63F2C32DF325B48E020@DB6PR0601MB2168.eurprd06.prod.outlook.com>
References: <1469902106-5416-1-git-send-email-rw_norris@hotmail.com>
In-Reply-To: <1469902106-5416-1-git-send-email-rw_norris@hotmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=softfail (sender IP is 10.152.0.57)
	smtp.mailfrom=hotmail.com; nongnu.org; dkim=none (message not signed)
	header.d=none; nongnu.org;
	dmarc=fail action=none header.from=hotmail.com; 
received-spf: SoftFail (protection.outlook.com: domain of transitioning
	hotmail.com discourages use of 10.152.0.57 as permitted sender)
x-ms-exchange-messagesentrepresentingtype: 1
x-eopattributedmessage: 0
x-forefront-antispam-report: CIP:10.152.0.57; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM;
	SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1;
	SRVR:HE1EUR01HT090; H:DB6PR0601MB2168.eurprd06.prod.outlook.com;
	FPR:; SPF:None; LANG:en; 
x-microsoft-exchange-diagnostics: 1; HE1EUR01HT090;
	6:YCRo5jR4gREGuRd4UPCeZ7TMIrLVUtPIeDha3NJaWo4eaU047rCzxp7K2g9VVFLksEM5f8Dxwc2l9xkZP9gKFF2cpmIX7nNWld+dFpHCvf7SDO945wA1I41sdDlfNUU3ikufpIE9et7EJK/y1E0/4E0KAeTF8uunA9wYFC6VdVp3zQbL+Z5CVzI/GgV3+YpjkQl4N1cGeAXr5cL+nZcePgRMJDa7ROLM2yaOk0V+G0BrlP6IVUsxVUbpLq3uxvVXeBt4u9CqApMP0WvXqUoLX2/sYOrFzwpMBs4kBhfJhI7coXcTtaFjsMJvQLc+JVe5;
	5:JJv5iIKm3kLQyKoxGxrG5ABcUYTs0Sf2yondkrlofLipF7MrDvVnccWyFLNtJdKR0Kcch5ETtRqCBQteJ1/hTPc8qWBas0cpYF9ekqJUIr1t8GHXjRQdE2aaWCabpPY6tZD10jYnSqA4JguhXzMy8g==;
	24:V1F05AA1A5AnDDTjIfdcA9lL5oV5D9jRpWewRtwXA5d2fPVZWC8fmdwmZv/QA7P+td9tOjaJ+317IB7Ud6veVcW6p7ld3lVHiPGtHFnogYA=;
	7:/bkQQZLTZwJN2fOf+0UK+/xCv6n6NxDr2JD+Kfyb6UX0Ga95AH/AvSGCOsgE0GLW88AzoAllrPimhkQP95hs/8sPCyzbWr4gKN/KzPXkm/CgzF2mZPkWkle7ZqspjndqMNZCAf80kyLFk93RMBTc5xNWEuZGPqTxnT9Knyk1QDu6wG9dahgem3Yj2dG4mRQ7g6k3B8u4Do1qYcXRl3+gHUKur0tOQ50z+1wNq3EQWrJlWXYly6PfcTD0wL2DA7ry
x-ms-office365-filtering-correlation-id: c534d0ee-4a09-4d85-7c5e-08d3b8a4913a
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(1601125047);
	SRVR:HE1EUR01HT090; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046);
	SRVR:HE1EUR01HT090; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR01HT090; 
x-forefront-prvs: 001968DD50
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2016 18:08:54.5342 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT090
X-OriginalArrivalTime: 30 Jul 2016 18:08:58.0507 (UTC)
	FILETIME=[717275B0:01D1EA8D]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.90.143
Subject: [gpsd-dev] [PATCH] Improve documentation around the usage of
 gps_close()
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Jul 2016 18:09:03 -0000

gps_close() should only be called after a successful gps_open()
Also include notes about the returned value and error conditions.
---
 libgps.xml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/libgps.xml b/libgps.xml
index 8f1dc82..7a6e29c 100644
--- a/libgps.xml
+++ b/libgps.xml
@@ -56,7 +56,7 @@ C:
     <paramdef>struct gps_data_t *<parameter>gpsdata</parameter></paramdef>
 </funcprototype>
 <funcprototype>
-<funcdef>void <function>gps_close</function></funcdef>
+<funcdef>int <function>gps_close</function></funcdef>
     <paramdef>struct gps_data_t *<parameter>gpsdata</parameter></paramdef>
 </funcprototype>
 <funcprototype>
@@ -118,7 +118,11 @@ an IPv4 dotted quad, an IPV6 address, or the special v=
alue
 shared-memory export; the library will do the right thing for any of
 these.</para>
=20
-<para><function>gps_close()</function> ends the session.</para>
+<para><function>gps_close()</function> ends the session and should only be=
 called after a successful <function>gps_open()</function>.
+It returns 0 on success, -1 on errors.
+The shared-memory interface close always returns 0, whereas a socket close=
 can result in an error.
+For a socket close error it will have set an errno from the call to the sy=
stem's <function>close()</function>.
+</para>
=20
 <para><function>gps_send()</function> writes a command to the daemon.
 It does nothing when using the shared-memory export.
--=20
2.8.1



From MAILER-DAEMON Sat Jul 30 14:09:13 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTYhF-0002cc-1X
	for mharc-gpsd-dev@gnu.org; Sat, 30 Jul 2016 14:09:13 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50501)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYhC-0002Zq-Jn
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:09:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYh8-0001Hj-Am
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:09:09 -0400
Received: from col004-omc2s11.hotmail.com ([65.55.34.85]:51599)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1bTYh8-0001Hf-1k
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 14:09:06 -0400
Received: from EUR01-VE1-obe.outbound.protection.outlook.com ([65.55.34.72])
	by COL004-OMC2S11.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Sat, 30 Jul 2016 11:09:05 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=OYnTHLRck9VqoIEEH3VYk+FbypU5hMmbQVlVWZDEcoQ=;
	b=b5xbMvZagg6G6EN7LuGaZYdQncze5rj/K8q4SpffsHWnHNcqTdl7FhpJOSPdVxbmNwhFmyx2rcnJheVv6tTYPOBqfKfSqwyzUiii6oJ8EYmC0gd6mfkdZSE6IbuhSL4r5SnpCRzFcG+1CPYfHNo7f6GszAgsljbBFDzDqai0zXEHczXUXRap7Ngzw8jlY8ephh9edvR0P0BbXgUySXnZ1d5yehAClrpoCvW26TiDN6KOaTQdpB3dTXN/jgXM1/jlCILzU7+YvXBtEyt111+Z/D3QzcoCHu0AX38Byt8nCPT/WsMgQDddn70LT6s5bh+SgC1YdcuW3vutAVCZyXamZQ==
Received: from HE1EUR01FT008.eop-EUR01.prod.protection.outlook.com
	(10.152.0.58) by HE1EUR01HT016.eop-EUR01.prod.protection.outlook.com
	(10.152.1.95) with Microsoft SMTP Server (version=TLS1_0,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.5;
	Sat, 30 Jul 2016 18:09:03 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com (10.152.0.57) by
	HE1EUR01FT008.mail.protection.outlook.com (10.152.1.250) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.557.8 via Frontend Transport; Sat, 30 Jul 2016 18:09:02 +0000
Received: from DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) by
	DB6PR0601MB2168.eurprd06.prod.outlook.com ([10.168.57.27]) with mapi id
	15.01.0549.016; Sat, 30 Jul 2016 18:09:01 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: [PATCH] Be more explicit about the return value from gps_close()
	is not used.
Thread-Index: AQHR6o1zvpVuZ38ceUWLtKK2ZlyfWw==
Date: Sat, 30 Jul 2016 18:09:01 +0000
Message-ID: <DB6PR0601MB2168ABF935EEC0ABEFC506F38E020@DB6PR0601MB2168.eurprd06.prod.outlook.com>
References: <1469902106-5416-1-git-send-email-rw_norris@hotmail.com>
In-Reply-To: <1469902106-5416-1-git-send-email-rw_norris@hotmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=softfail (sender IP is 10.152.0.57)
	smtp.mailfrom=hotmail.com; nongnu.org; dkim=none (message not signed)
	header.d=none; nongnu.org;
	dmarc=fail action=none header.from=hotmail.com; 
received-spf: SoftFail (protection.outlook.com: domain of transitioning
	hotmail.com discourages use of 10.152.0.57 as permitted sender)
x-ms-exchange-messagesentrepresentingtype: 1
x-eopattributedmessage: 0
x-forefront-antispam-report: CIP:10.152.0.57; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM;
	SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1;
	SRVR:HE1EUR01HT016; H:DB6PR0601MB2168.eurprd06.prod.outlook.com;
	FPR:; SPF:None; LANG:en; 
x-microsoft-exchange-diagnostics: 1; HE1EUR01HT016;
	6:6A+Ox9RBoJnqxekabYXMfwWH+6zaDVzZ8fEfe6iwKE0KS4E7os2ldAGAow+1ZEHdxK9uQlxekSVO7OaKoQlQDdJddT43IFcteAFJmaYOYkk/IBVN9fh4fDm8JpST1XDWAE/m/A4tnShnitYoLZ4bA4t/kZeuZCynufIjxoyrdRjJKp2jDm4ZA3owLyu2Z10p5G/RaTIDZ33DThvgJKNI1nY4YSXKdhrz7/tO2VHwcjYbo/7CXLQ/MjUG0H2hOXLtQGc+jq9Pkfx+sbMOe6H6qQpvLRSdGZvEyNWmyYB96koFHHhbDDdvUEB9aqYyZZNP;
	5:THdbieP/HUfkBpfjVE3ISjAGhelzFBb3Fm1PzCo2C3bFOsaoUsYqJTwkp7eGjftvDU9Gr+xJXeF7OpyQxxmJPx3YwMRBLs0+2stFLAUmandY/4aY+OUz173j/PCrTMjQuawokd1ZnmKG5PA9ybiqlQ==;
	24:mejawAtlE8y9GyBOgBEkzbsCjDeksbo13oFw2r2Inv95aXtxUJ/2h7/lawYUMJqayTpSrZZ32ebKl+Rk3067H3FUKhkben3YMSi65YxIEL8=;
	7:mk5GE5TIp60cSoibx2eCOVhjgZ0gI/RdbS1J8TsS9j0OlTPAvD/C0gJfiouyK2ySOsIs2FxixarzgYCid6m/F4MDi+fEqmzrLwRIChzd8FIxeSUmK9Pq25d7MaRkyMYOW15lRBBKUOrnydO5+LwdWSCXYcI6cFN+gCxddCrYywjELE/i+zllSaQgLnDGErioAVDB0mAMvsowL5y6QbtM9of4lNXDtvgdppYSfoaDCo1TQ6Q+PkTiVr0uU0gsOY1t
x-ms-office365-filtering-correlation-id: 64a4c7c6-5938-4705-b1e4-08d3b8a49537
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(1601125047);
	SRVR:HE1EUR01HT016; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046);
	SRVR:HE1EUR01HT016; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR01HT016; 
x-forefront-prvs: 001968DD50
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2016 18:09:01.7403 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT016
X-OriginalArrivalTime: 30 Jul 2016 18:09:05.0228 (UTC)
	FILETIME=[757400C0:01D1EA8D]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.34.85
Subject: [gpsd-dev] [PATCH] Be more explicit about the return value from
 gps_close() is not used.
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Jul 2016 18:09:11 -0000

---
 libgpsmm.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgpsmm.cpp b/libgpsmm.cpp
index a12d975..ba4aeb0 100644
--- a/libgpsmm.cpp
+++ b/libgpsmm.cpp
@@ -91,7 +91,7 @@ bool gpsmm::is_open(void)
 gpsmm::~gpsmm()
 {
     if ( to_user !=3D NULL ) {
-	gps_close(gps_state());
+	(void)gps_close(gps_state());
 	delete to_user;
     }
 }
--=20
2.8.1



From MAILER-DAEMON Sat Jul 30 19:12:18 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTdQY-0008F5-Cy
	for mharc-gpsd-dev@gnu.org; Sat, 30 Jul 2016 19:12:18 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59099)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTdQV-0008Db-K6
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 19:12:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTdQU-0001Ih-Cq
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 19:12:15 -0400
Received: from rellim.com ([2001:470:e815::19]:56229 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1bTdQU-0001HX-4D
	for gpsd-dev@nongnu.org; Sat, 30 Jul 2016 19:12:14 -0400
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id u6UNBrjX020949
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Sat, 30 Jul 2016 16:11:59 -0700
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com u6UNBrjX020949
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1469920320; bh=axxFqqbFgwiKoWXf4eKB8LCUOb1DQdIbtec0R9ReH6U=;
	h=Date:From:To:Subject:In-Reply-To:References;
	b=S8+ABYazd9oNikkJRu2rf9zgA/LaXJ98knzKy8LoCYpAFJljGqTqwAOa/3OxA+Wn0
	ICSkMYqOWSAQfY7XoBcyDYzLCMHViJgdpvdRXkoud9o+gFdxjn0WTcB4h2JglNh6aY
	FTN0IECHdl7ujnK8jr22Otezt/JFuVzMbplgoMLo=
Date: Sat, 30 Jul 2016 16:11:52 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: Henning Hakonsen <Henning.Hakonsen@q-free.com>, gpsd dev
	<gpsd-dev@nongnu.org>
Message-ID: <20160730161152.3672c278@spidey.rellim.com>
In-Reply-To: <HE1PR02MB06833DAC86BE310E2525A372A5020@HE1PR02MB0683.eurprd02.prod.outlook.com>
References: <HE1PR02MB0683349842B70C4CCD25BD7DA5000@HE1PR02MB0683.eurprd02.prod.outlook.com>
	<20160728115617.20788a2c@spidey.rellim.com>
	<HE1PR02MB06837ADAE9CF7654B3C0921FA5010@HE1PR02MB0683.eurprd02.prod.outlook.com>
	<20160729120459.0b52e793@spidey.rellim.com>
	<DB5PR02MB067964B873D32A6B9D8F6664A5020@DB5PR02MB0679.eurprd02.prod.outlook.com>
	<20160730065452.5c3f4e28@spidey.rellim.com>
	<HE1PR02MB06833DAC86BE310E2525A372A5020@HE1PR02MB0683.eurprd02.prod.outlook.com>
Organization: Rellim
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/i_=_ua2CSf+TQNKuz_5qu4.";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.14
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Sat, 30 Jul 2016 16:12:00 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] gpsd/ntpd
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Jul 2016 23:12:16 -0000

--Sig_/i_=_ua2CSf+TQNKuz_5qu4.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Henning!

On Sat, 30 Jul 2016 15:01:14 +0000
Henning Hakonsen <Henning.Hakonsen@q-free.com> wrote:

> The file is the same after reboot, ntpd is just not using that file
> for some reason.

So I'm still not sure your exact symptoms.  Do you need to
edit the ntp.conf after restart, or just restart ntpd after a reboot?

It would help some if you tell us your OS, and versions of gpsd and ntpd.
Are you using NTP Classic, or NTPsec?

Are you booting with dhcp client, or statis address?

> I could probably make a script which edits the file and restarts
> ntpd, but that is not what we really want to...

Yeah, that seems weird, but a lot of OS have bad scripts to start
gpsd and ntpd.  Very common to have to throw them away and do your
own.

>=20
> Henning
> ________________________________
> Fra: Gary E. Miller <gem@rellim.com>
> Sendt: 30. juli 2016 15:54:52
> Til: Henning Hakonsen
> Emne: Re: [gpsd-dev] gpsd/ntpd
>=20
> Yo Henning!
>=20
> On Sat, 30 Jul 2016 09:31:28 +0000
> Henning Hakonsen <Henning.Hakonsen@q-free.com> wrote:
>=20
> > Ok, so say I reboot my device, start gpsd, ntpd and my own program.
> > When running ntpq -p GPS and PPS wont show, but when i edit the conf
> > file and restart ntpd it appears. =20
>=20
> As described by myself and others already in response to your email,
> we beleive you are using dhcp, and the dhcp client is over writing
> your ntp.conf.  Can you verify that?
>=20
> >
> > And I dont understand why...
> >
> > Henning
> > ________________________________
> > Fra: Gary E. Miller <gem@rellim.com>
> > Sendt: 29. juli 2016 21:04:59
> > Til: Henning Hakonsen
> > Kopi: gpsd-dev@nongnu.org
> > Emne: Re: [gpsd-dev] gpsd/ntpd
> >
> > Yo Henning!
> >
> > On Fri, 29 Jul 2016 07:03:52 +0000
> > Henning Hakonsen <Henning.Hakonsen@q-free.com> wrote:
> > =20
> > > Thanks for the reply. I got my program to feed ntpd with the PPS
> > > signal. =20
> >
> > Hopefully over SHM().  The other ways are less good.
> > =20
> > > Now the only thing I am struggeling with is that I need to edit
> > > (linechange or something) ntp.conf file and restart ntp after
> > > boot. =20
> >
> > Lost me?
> > =20
> > > Do you have any idea as why I need to do that? =20
> >
> > Do what?
> >
> > RGDS
> > GARY
> > -----------------------------------------------------------------------=
----
> > Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR
> > 97703 gem@rellim.com  Tel:+1 541 382 8588 =20
>=20
>=20
>=20
>=20
> RGDS
> GARY
> -------------------------------------------------------------------------=
--
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
>         gem@rellim.com  Tel:+1 541 382 8588




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

--Sig_/i_=_ua2CSf+TQNKuz_5qu4.
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXnTQ5AAoJEA0O2UlB0XnY5zcH/0LGnC2dkbMFurEbSbj/kiTO
ol5PA7Kx9/zQ1ljUKZKUYvT0CPuxaTK+GUUCGcvRl1/ZfZUonXXWxVEPvd2gYC4h
6MKeerbriqug+1HCu9c1nni5ByurFRh+bJ2qGVH/qlRYmEEMvmc+YLBF6Jmak1m4
X2Wsgb6Yhib4NZHqi9Ab6YKgLJkJf3PIhKMpbAQQ1AYbxp4moh1TeL2N1yWXLGco
z0aYu52MdHMcBcn5GZ4ibYfvU+SRCl04BsV6X5UWMqJjiu2BFWUaPAmlmwVxugvK
+wzyC3smPsEs/k3S8ZxsCUehamMBIv326p3EHfN1gGG2KJmi4WH5EWTXkpNLVL8=
=gQlu
-----END PGP SIGNATURE-----

--Sig_/i_=_ua2CSf+TQNKuz_5qu4.--


From MAILER-DAEMON Sun Jul 31 14:45:53 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bTvkH-0000Xj-9s
	for mharc-gpsd-dev@gnu.org; Sun, 31 Jul 2016 14:45:53 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33504)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bTvkF-0000Xd-RD
	for gpsd-dev@nongnu.org; Sun, 31 Jul 2016 14:45:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bTvkC-00024e-LK
	for gpsd-dev@nongnu.org; Sun, 31 Jul 2016 14:45:51 -0400
Received: from c.mail.sonic.net ([64.142.111.80]:32882)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1bTvkC-00023t-Cx
	for gpsd-dev@nongnu.org; Sun, 31 Jul 2016 14:45:48 -0400
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id u6VIjdtY006027
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sun, 31 Jul 2016 11:45:39 -0700
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id u6VIjcLH020038
	for <gpsd-dev@nongnu.org>; Sun, 31 Jul 2016 11:45:39 -0700
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id u6VIjbri020005
	for <gpsd-dev@nongnu.org>; Sun, 31 Jul 2016 11:45:38 -0700
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sun, 31 Jul 2016 11:45:37 -0700 (PDT)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
In-Reply-To: <DB6PR0601MB21685EA98C5884F52CBB555E8E020@DB6PR0601MB2168.eurprd06.prod.outlook.com>
Message-ID: <Pine.LNX.4.58L1X.1607311141230.11879@bolt.sonic.net>
References: <1469902106-5416-1-git-send-email-rw_norris@hotmail.com>
	<DB6PR0601MB21685EA98C5884F52CBB555E8E020@DB6PR0601MB2168.eurprd06.prod.outlook.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVYW3928etjh375fr9kgSKuVOIjJzyxN95clRnBi2+6pwVlHM5//fKtIbXkaV8XVrxdT9ICUqocACBOgEVhUi5vm
X-Sonic-ID: C;mkfX+U5X5hGetqDx2xNB0g== M;Ulj6+U5X5hGetqDx2xNB0g==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] [PATCH] Improved resilience in gps_shm_close() in
 case it is called after an unsuccessful gps_shm_open()
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Jul 2016 18:45:52 -0000


On Sat, 30 Jul 2016, Robert Norris wrote:

> Check that the structure exists before trying to use a component of it.
> ---
>  libgps_shm.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/libgps_shm.c b/libgps_shm.c
> index a0dfdde..872a089 100644
> --- a/libgps_shm.c
> +++ b/libgps_shm.c
> @@ -154,6 +154,8 @@ int gps_shm_read(struct gps_data_t *gpsdata)
>
>  void gps_shm_close(struct gps_data_t *gpsdata)
>  {
> +    if (PRIVATE(gpsdata) == NULL)
> +	return;
>      if (PRIVATE(gpsdata)->shmseg != NULL)
>  	(void)shmdt((const void *)PRIVATE(gpsdata)->shmseg);
>  }
> --
> 2.8.1

That could be written more compactly as:

	if (PRIVATE(gpsdata) != NULL && PRIVATE(gpsdata)->shmseg != NULL)

or even:

	if (PRIVATE(gpsdata) && PRIVATE(gpsdata)->shmseg)

That && construct is a fairly common idiom for dereferencing potentially
NULL pointers.

Fred Wright


