gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Pipe data to non-gpsd aware applications Re: Earthmate


From: IT1 Stuart Blake Tener, USNR
Subject: Re: [gpsd-users] Pipe data to non-gpsd aware applications Re: Earthmate Hyperformance
Date: Thu, 20 Jun 2013 10:42:41 -0400
User-agent: Internet Messaging Program (IMP) H3 (4.3.9)

Crew,

Well first it seems that first set of batteries I had bought yesterday for the GPS (brand new) were bad, oy vey! So, now, with a second set of new batteries the GPS is responding somewhat.

Well, some investigation has lead me to realize that xastir is gpsd aware and has an option to connect to it via the 2947 port. Thus, eventually, that ought to be easy to get working!

I now do believe that the GPS does work and that gpsd can talk to it, but, there is some problem with gpsd doing so properly on a persistent basis.

Something is getting messed up though....

I manually fired up gpsd from the command line as follows, and if you read down a bit, I added some "->" markers to show where gpsd was apparently talking and hearing from the GPS properly. The Earthmat Hyperformance does not speak NMEA, and gpsd does get good info from it, then all of a sudden gpsd tries to switch it into NMEA mode, bang...end of useful access to the gps!

There is a point at which I see data like: "gpsd:DATA: 1000: time=867542385.00 lat=40.16 lon=-75.27 alt=33.91 track=0.00 speed=0.00 climb=0.00 mode=1 status=0".

I also know that this is what my GPS really is:

gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset))

Is there a way I can command the GPS via JSON to go directly into that mode and stay in that mode so hopefully I can get good GPS data from it?

xgps remains blank on skyview.

Stuart


address@hidden:/home/stuart# gpsd -n -N -D5 /dev/ttyUSB0
gpsd:INFO: launching (Version 3.6)
gpsd:IO: opening IPv4 socket
gpsd:IO: opening IPv6 socket
gpsd:INFO: listening on port gpsd
gpsd:PROG: NTPD shmat(0,0,0) succeeded, segment 0
gpsd:PROG: NTPD shmat(32769,0,0) succeeded, segment 1
gpsd:PROG: NTPD shmat(65538,0,0) succeeded, segment 2
gpsd:PROG: NTPD shmat(98307,0,0) succeeded, segment 3
gpsd:PROG: successfully connected to the DBUS system bus
gpsd:PROG: shmat() succeeded, segment 131076
gpsd:PROG: shared-segment creation succeeded,
gpsd:PROG: PPS thread launched
gpsd:INFO: NTPD ntpd_link_activate: 1
gpsd:INFO: stashing device /dev/ttyUSB0 at slot 0
gpsd:PROG: no etc/gpsd/device-hook present, skipped running ACTIVATE hook
gpsd:INFO: opening GPS data source type 3 at '/dev/ttyUSB0'
gpsd:PROG: PPS Create Thread gpsd_ppsmonitor
gpsd:PROG: PPS chrony socket /var/run/chrony.ttyUSB0.sock doesn't exist
gpsd:PROG: PPS thread awaiting device activation
gpsd:INFO: speed 9600, 8N1
gpsd:PROG: Probing "Garmin USB binary" driver...
gpsd:INFO: attempting USB device enumeration.
gpsd:INFO: 0bc2:5031 (bus 1, device 2)
gpsd:INFO: 0557:2008 (bus 5, device 2)
gpsd:INFO: 1d6b:0002 (bus 1, device 1)
gpsd:INFO: 1d6b:0002 (bus 2, device 1)
gpsd:INFO: 1d6b:0002 (bus 3, device 1)
gpsd:INFO: 1d6b:0001 (bus 4, device 1)
gpsd:INFO: 1d6b:0001 (bus 5, device 1)
gpsd:INFO: 1d6b:0001 (bus 6, device 1)
gpsd:INFO: 1d6b:0001 (bus 7, device 1)
gpsd:SHOUT: vendor/product match with 091e:0003 not found
gpsd:PROG: Probe not found "Garmin USB binary" driver...
gpsd:PROG: Probing "GeoStar binary" driver...
gpsd:IO: Sent GeoStar packet id 0xc1
gpsd:IO: => GPS: 5053474700c100010000000050924746
gpsd:INFO: KPPS checking /sys/devices/virtual/pps/pps0/path, /dev/ttyUSB0
gpsd:INFO: KPPS caps 1133
gpsd:WARN: KPPS kernel PPS will be used
gpsd:PROG: Probe not found "GeoStar binary" driver...
gpsd:PROG: Probing "Trimble TSIP" driver...
gpsd:INFO: speed 9600, 8O1
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle: -1121945027, duration: -1121945027 @ 1371738417.953341
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle: -1121944053, duration:     974 @ 1371738417.954315
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1979, duration:    1005 @ 1371738417.955320
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1996, duration:     991 @ 1371738417.956311
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1914, duration:     923 @ 1371738417.957234
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2017, duration:    1094 @ 1371738417.958328
gpsd:INFO: speed 9600, 8N1
gpsd:PROG: Probe not found "Trimble TSIP" driver...
gpsd:PROG: no probe matched...
gpsd:INFO: gpsd_activate(): activated GPS (fd 6)
gpsd:INFO: device /dev/ttyUSB0 activated
gpsd:PROG: changing to group 20
gpsd:INFO: running with effective group ID 20
gpsd:INFO: running with effective user ID 65534
gpsd:INFO: startup at 2013-06-20T14:26:59.000Z (1371738419)
-> gpsd:PROG: switch_driver(Zodiac binary) called...
-> gpsd:PROG: selecting Zodiac binary driver...
-> gpsd:INFO: /dev/ttyUSB0 identified as type Zodiac binary (0.886344 sec @ 9600bps)
-> gpsd:DATA: 1011: subtype=01.98 mask={DEVICEID}
-> gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
-> gpsd:DATA: 1000: time=867542385.00 lat=40.16 lon=-75.27 alt=33.91 track=0.00 speed=0.00 climb=0.00 mode=1 status=0 -> gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|TIME|LATLON|ALTITUDE|SPEED|TRACK|CLIMB|STATUS|MODE|PACKET|CLEAR|REPORT|PPSTIME}
-> gpsd:DATA: 1002: visible=0 used=0 mask={SATELLITE|USED}
-> gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|SATELLITE|PACKET|USED}
-> gpsd:PROG: switch_driver(Generic NMEA) called...
->gpsd:PROG: selecting Generic NMEA driver...
->gpsd:PROG: => Probing for Trimble Copernicus
->gpsd:IO: => GPS: $PTNLSNM,0139,01*5C\x0d\x0a
->gpsd:IO: <= GPS: EARTHA
->gpsd:WARN: unknown sentence: "EARTHA"
->gpsd:PROG: found trigger string EARTHA.
->gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
->gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
->gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
->gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle: 2976199, duration: 2975105 @ 1371738420.933433
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle: 2976021, duration:     916 @ 1371738420.934349
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3905, duration:     939 @ 1371738420.937338
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1955, duration:    1016 @ 1371738420.938354
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2066, duration:    1050 @ 1371738420.939404
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2044, duration:     994 @ 1371738420.940398
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1995, duration:    1001 @ 1371738420.941399
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    7997, duration:    1159 @ 1371738420.948395
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2160, duration:    1001 @ 1371738420.949396
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2000, duration:     999 @ 1371738420.950395
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1944, duration:     945 @ 1371738420.951340
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1945, duration:    1000 @ 1371738420.952340
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2007, duration:    1007 @ 1371738420.953347
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2080, duration:    1073 @ 1371738420.954420
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2057, duration:     984 @ 1371738420.955404
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1980, duration:     996 @ 1371738420.956400
gpsd:PROG: => Probing for Evermore
gpsd:IO: => GPS: 1002128e7f0101000101010001000000000000131003
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:  978058, duration:  977062 @ 1371738421.933462
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:  978027, duration:     965 @ 1371738421.934427
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1880, duration:     915 @ 1371738421.935342
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2013, duration:    1098 @ 1371738421.936440
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2086, duration:     988 @ 1371738421.937428
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1988, duration:    1000 @ 1371738421.938428
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1950, duration:     950 @ 1371738421.939378
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1970, duration:    1020 @ 1371738421.940398
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2050, duration:    1030 @ 1371738421.941428
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3935, duration:    1162 @ 1371738421.944333
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2161, duration:     999 @ 1371738421.945332
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2002, duration:    1003 @ 1371738421.946335
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3012, duration:    2009 @ 1371738421.948344
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3042, duration:    1033 @ 1371738421.949377
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2134, duration:    1101 @ 1371738421.950478
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2055, duration:     954 @ 1371738421.951432
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1944, duration:     990 @ 1371738421.952422
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1992, duration:    1002 @ 1371738421.953424
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2002, duration:    1000 @ 1371738421.954424
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1924, duration:     924 @ 1371738421.955348
gpsd:PROG: => Probing for GPSClock
gpsd:IO: => GPS: $PFEC,GPsrq*5B\x0d\x0a
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:  974123, duration:  973199 @ 1371738422.928547
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:  974108, duration:     909 @ 1371738422.929456
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1899, duration:     990 @ 1371738422.930446
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3941, duration:     941 @ 1371738422.933397
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1953, duration:    1012 @ 1371738422.934409
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2072, duration:    1060 @ 1371738422.935469
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3031, duration:    1971 @ 1371738422.937440
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3701, duration:    1730 @ 1371738422.939170
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3931, duration:    1010 @ 1371738422.941371
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1999, duration:     989 @ 1371738422.942360
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2198, duration:    1209 @ 1371738422.943569
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2097, duration:     888 @ 1371738422.944457
gpsd:PROG: => Probing for Ashtech
gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:  989950, duration:  989062 @ 1371738423.933519
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:  989942, duration:     880 @ 1371738423.934399
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1976, duration:    1096 @ 1371738423.935495
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    4016, duration:     930 @ 1371738423.938415
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1955, duration:    1025 @ 1371738423.939440
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2069, duration:    1044 @ 1371738423.940484
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2045, duration:    1001 @ 1371738423.941485
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2686, duration:    1685 @ 1371738423.943170
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3905, duration:     998 @ 1371738423.945390
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1996, duration:     998 @ 1371738423.946388
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2766, duration:    1768 @ 1371738423.948156
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2016, duration:     248 @ 1371738423.948404
gpsd:PROG: => Probing for UBX
gpsd:IO: => GPS: UBX class: 0a, id: 04, len: 0, crc: 0e34
gpsd:IO: => GPS: b5620a0400000e34
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:  985396, duration:  985148 @ 1371738424.933552
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:  987126, duration:    1978 @ 1371738424.935530
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2960, duration:     982 @ 1371738424.936512
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1982, duration:    1000 @ 1371738424.937512
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1951, duration:     951 @ 1371738424.938463
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1983, duration:    1032 @ 1371738424.939495
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2058, duration:    1026 @ 1371738424.940521
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3054, duration:    2028 @ 1371738424.942549
gpsd:PROG: => Probing for MediaTek
gpsd:IO: => GPS: $PMTK605*31\x0d\x0a
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:  993054, duration:  991026 @ 1371738425.933575
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:  991932, duration:     906 @ 1371738425.934481
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    3897, duration:     932 @ 1371738425.937472
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1953, duration:    1021 @ 1371738425.938493
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2073, duration:    1052 @ 1371738425.939545
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    2047, duration:     995 @ 1371738425.940540
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    1942, duration:     947 @ 1371738425.941487
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle:    6732, duration:    5785 @ 1371738425.947272
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
gpsd:IO: <= GPS: EARTHA
gpsd:WARN: unknown sentence: "EARTHA"
gpsd:PROG: found trigger string EARTHA.
gpsd:PROG: switch_driver(Delorme EarthMate (pre-2003, Zodiac chipset)) called...
gpsd:PROG: selecting Delorme EarthMate (pre-2003, Zodiac chipset) driver...
gpsd:DATA: packet from /dev/ttyUSB0 with {ONLINE|DEVICEID|PACKET|DRIVER}
gpsd:PROG: switch_driver(Generic NMEA) called...
gpsd:PROG: selecting Generic NMEA driver...
^Cgpsd:WARN: received terminating signal 2.
gpsd:INFO: closing GPS=/dev/ttyUSB0 (6)
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle: 11665342, duration: 11659557 @ 1371738437.606829
gpsd:PROG: KPPS assert 0.000000000, sequence: 0 - clear 0.000000000, sequence: 0
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:       0, duration:       0 @ 0.000000000
gpsd:INFO: PPS cycle: 11660515, duration:     958 @ 1371738437.607787
gpsd:PROG: no etc/gpsd/device-hook present, skipped running DEACTIVATE hook
gpsd:WARN: exiting.
address@hidden:/home/stuart#




V/R,



--

IT1 Stuart Blake Tener, USNR, N3GWG (Extra), MROP
NR N-NC JTF EAST DET UIC 84245

Las Vegas, NV / Boulder, CO / Philadelphia, PA / Beverly Hills, CA

(310) 358-0202 Mobile Phone
(215) 338-6005 Google Voice

e-mail: address@hidden



Quoting Crew <address@hidden>:

On Thu, 20 Jun 2013 08:20:51 -0400
"IT1 Stuart Blake Tener, USNR" <address@hidden> wrote:
<snip>

The second interest I have is to use gpsd supply GPS positional data
to XASTIR. Not being a JSON expert, how would you recommend I
configure gpsd to achieve this?
<snip>

The gpsclients related to the gpsd project offer good examples in python.

A cheap work around to applications that can't listen to gpsd is to pipe the data to a 'virtual port and have the client pick it up from there, e.g.;

/usr/bin/gpspipe -r | socat - PTY,link=/tmp/gpsout.pty,raw

...pointing the app to /tmp/gpsout.pty ...or whatever you want to call it.

Put it in a startup script for the app to avoid problems.

--
Crew <address@hidden>






reply via email to

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