[ntp:questions] NMEA refclock on Windows and ntp 4.2.4 does not set the time but logs clk_fault

Lindholm Roger roger.lindholm at modul1.se
Tue Apr 17 13:59:02 UTC 2007


Hi Michael,

> Your GPRMC sentence is reporting that you do not have a valid
position, 
> and your GPGGA sentence is invalid.  Make sure that the GPS is
gathering 
> valid position fixes so it will output data that the NMEA driver can
use.

You are right, I was running the GPS in simulation mode. Unfortunatelly
I get the same symptoms (but slightly different logs) when going outside
in "real mode", this time using a Garmin eTrex.

IoEvent occurred
refclock_gtraw: fd 1780 time 3385809530.752634 timecode 126
,A,5938.7568,N,01706.7636,E,0.0,0.0,170407,3.6,E,A*12
$GPRMB,A,,,,,,,,,,,,A,A*0B
$GPGGA,133722,5938.7568,N,01706.7636,E,1,06
nmea: gpsread 122
,A,5938.7568,N,01706.7636,E,0.0,0.0,170407,3.6,E,A*12$GPRMB,A,,,,,,,,,,,
,A,A*0B$GPGGA,133722,5938.7568,N,01706.7636,E,1,06
adj_systime: adj 0.000000000 -> remaining residual 0.000000000
IoEvent occurred
refclock_gtraw: fd 1780 time 3385809531.663943 timecode 13 $GPRMC,133724
nmea: gpsread 13 $GPRMC,133724
nmea: timecode 13 $GPRMC,133724
adj_systime: adj 0.000000000 -> remaining residual 0.000000000
IoEvent occurred
refclock_gtraw: fd 1780 time 3385809532.765526 timecode 126
,A,5938.7571,N,01706.7634,E,0.0,0.0,170407,3.6,E,A*1E
$GPRMB,A,,,,,,,,,,,,A,A*0B
$GPGGA,133724,5938.7571,N,01706.7634,E,1,06
nmea: gpsread 122
,A,5938.7571,N,01706.7634,E,0.0,0.0,170407,3.6,E,A*1E$GPRMB,A,,,,,,,,,,,
,A,A*0B$GPGGA,133724,5938.7571,N,01706.7634,E,1,06
adj_systime: adj 0.000000000 -> remaining residual 0.000000000
IoEvent occurred
refclock_gtraw: fd 1780 time 3385809533.666823 timecode 13 $GPRMC,133726
nmea: gpsread 13 $GPRMC,133726
nmea: timecode 13 $GPRMC,133726
adj_systime: adj 0.000000000 -> remaining residual 0.000000000
refclock_transmit: at 18 127.127.20.2
addto_syslog: clock GPS_NMEA(2) event 'clk_fault' (0x03)
peer GPS_NMEA(2) event 'event_peer_clock' (0x85) status 'unreach, conf,
3 events, event_peer_clock' (0x8035)
poll_update: at 18 127.127.20.2 flags 1221 poll 4 burst 0 last 18 next
33

Can anyone see if anything is wrong with the incoming NMEA stream
causing the clk_fault?

Regards
Roger



More information about the questions mailing list