gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] gpsmon: says 8N1N1, missing error msg


From: Hal Murray
Subject: Re: [gpsd-dev] gpsmon: says 8N1N1, missing error msg
Date: Tue, 19 Nov 2013 11:34:06 -0800

> Sure there is, just set the proport port speed with stty just before
> starting gpsd. 

Ah.  Thanks.  That fixed the delay.

I guess part of gpsmon's don't-change-things recipe includes the tty 
parameters.

-----

I changed the date stuff to include fractions of a second:

stdbuf -oL ./gpsmon -a -D5 /dev/ttyUSB2 | ( while true; do read l || exit; 
date=`date +%H:%M:%S.%N`; echo $date "$l"; done)

Here is the whole startup dance:

11:15:04.357518960 gpsmon:INFO: startup at 2013-11-19T19:15:04.000Z 
(1384888504)
11:15:04.360103848 gpsmon:INFO: opening GPS data source type 3 at 
'/dev/ttyUSB2'
11:15:04.565886469 gpsmon:INFO: speed 9600, 8N1
11:15:04.568425172 gpsmon:PROG: Probing "Garmin USB binary" driver...
11:15:04.570940581 gpsmon:PROG: Probe not found "Garmin USB binary" driver...
11:15:04.573557101 gpsmon:PROG: Probing "GeoStar" driver...
11:15:04.576088085 gpsmon:PROG: Sent GeoStar packet id 0xc1
11:15:04.578596215 gpsmon:IO: => GPS: 5053474700c100010000000050924746
11:15:05.097618543 gpsmon:PROG: Probe not found "GeoStar" driver...
11:15:05.100159008 gpsmon:PROG: Probing "Trimble TSIP" driver...
11:15:05.299633300 gpsmon:INFO: speed 9600, 8O1
11:15:05.507702343 gpsmon:INFO: speed 9600, 8N1
11:15:05.509501056 gpsmon:PROG: Probe not found "Trimble TSIP" driver...
11:15:05.511135828 gpsmon:PROG: no probe matched...
11:15:05.512807119 gpsmon:INFO: gpsd_activate(1): activated GPS (fd 3)
11:15:05.514454532 gpsmon:INFO: KPPS checking /sys/devices/virtual/pps/pps0/pa
th, /dev/ttyS0
11:15:05.516142732 gpsmon:INFO: KPPS checking /sys/devices/virtual/pps/pps1/pa
th, /dev/ttyS6
11:15:05.517776376 gpsmon:INFO: KPPS checking /sys/devices/virtual/pps/pps2/pa
th, /dev/ttyUSB0
11:15:05.519564550 gpsmon:INFO: KPPS checking /sys/devices/virtual/pps/pps3/pa
th, /dev/ttyUSB2
11:15:05.521196975 gpsmon:INFO: KPPS only works as root
11:15:05.522824243 gpsmon:PROG: PPS thread launched
11:15:05.524434215 gpsmon: /dev/ttyUSB2 9600 8N1
11:15:05.526118708 gpsmon:ERROR: PPS ioctl(TIOCMIWAIT) failed: 25 
Inappropriate ioctl for device
11:15:05.527750365 gpsmon:PROG: PPS gpsd_ppsmonitor exited.
11:15:06.179732349 gpsmon:PROG: switching to match packet type 1: 
$GPGGA,191506.000,4350.0486,S,10536.2779,W,0,0,,158.9,M,-8.9,M,,*5Dx0dx0a
11:15:06.182285449 gpsmon:PROG: switch_driver(NMEA0183) called...
11:15:06.184809290 gpsmon:PROG: selecting NMEA0183 driver...
11:15:06.187334119 gpsmon:INFO: /dev/ttyUSB2 identified as type NMEA0183, 
0.674937 sec @ 9600bps

Note that it takes 1.8 seconds but claims it only took 0.67 so there is more 
than a second not getting counted the way I expect.


-- 
These are my opinions.  I hate spam.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]