[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] ✘Change FIXED_PORT_SPEED and FIXED_STOP_BITS
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] ✘Change FIXED_PORT_SPEED and FIXED_STOP_BITS |
Date: |
Tue, 29 Oct 2019 11:19:16 -0700 |
Yo Robin!
On Tue, 29 Oct 2019 05:40:50 +0000
"Robin H. Johnson" <address@hidden> wrote:
> On Thu, Oct 24, 2019 at 12:44:09PM -0700, Gary E. Miller wrote:
> > Yo Michael!
> >
> > On Thu, 24 Oct 2019 20:27:57 +0100
> > "Michael J. Tubby B.Sc. MIET" <address@hidden> wrote:
> >
> > > > Where [speed] is the port speed, and [char] is bits/parity/stop
> > > > (default 8N1).
> Please provide these hinting options, along with driver hinting, to
> the gpsdctl command!
No hinting is implied by the new -s and -f options. gpsd enforces the new
setting. Modulo a few bugs I've found.
I have no idea how gpsdctl would do this. Patches welcome.
> The gpsd startup that auto-detects my unit can take a very long time
> sometimes,
Yes.
> or get stuck on other drivers:
I have not seen this happen on over a year. If you can duplicate this
then it is a bug. Please send details on that bug.
> {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","driver":"Trimble
> TSIP","activated":"2019-10-29T05:34:40.068Z","flags":1,"native":1,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}
You chopped off the top part. What version gpsd?
> I'm running a ublox @ 115200 from Mark Atwood, and using ubxtool
> primed correctly works instantly:
Good.
> # ubxtool -f /dev/ttyUSB0 -s 115200 -p CFG-PRT
That is standalone mode. You just showed the existing speed over ride works
in standalone mode. Did you have a different point that I missed?
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgp98OKLL4kzN.pgp
Description: OpenPGP digital signature