Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


versalogic_gps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
versalogic_gps [2014/06/19 18:27] – [Install GPSd] adminversalogic_gps [2014/06/20 16:41] – [Install GPSd] admin
Line 1: Line 1:
 {{tag>[hardware gps versalogic centos apu]}} {{tag>[hardware gps versalogic centos apu]}}
-{{:pd0b-ip5_img_1397.jpg?nolink&600|PC Engines APU and Versalogic GPS}} 
 ~~TOC~~ ~~TOC~~
 +{{:pd0b-ip5_img_1397.jpg?nolink&600|PC Engines APU and Versalogic GPS}}
 +
  
 =====Versalogic VL-MPEu-G2 GPS===== =====Versalogic VL-MPEu-G2 GPS=====
Line 42: Line 43:
 </code> </code>
   * Test gpsd. <code>gpsd -D 5 -N -n /dev/ttyACM0</code>   * Test gpsd. <code>gpsd -D 5 -N -n /dev/ttyACM0</code>
 +
 +====/etc/ntp.conf====
 +<code># Allow more distance between GPS (USB) and Serial PPS.
 +# Stratum level 12 when no ref source available
 +tos mindist 0.010 orphan 12
 +
 +driftfile /var/lib/ntp/ntp.drift
 +
 +statsdir /var/log/ntpstats/
 +
 +statistics loopstats peerstats clockstats
 +filegen loopstats file loopstats type day enable
 +filegen peerstats file peerstats type day enable
 +filegen clockstats file clockstats type day enable
 +
 +# Local servers
 +server ntp1.polaire.nl
 +server ntp2.polaire.nl
 +server ntp3.home.polaire.nl
 +
 +# ATOM PPS (/dev/pps0)
 +server 127.127.22.0 minpoll 4 maxpoll 4
 +fudge  127.127.22.0 refid PPS
 +
 +# GPS (USB /dev/ttyACM0)
 +server 127.127.28.0 minpoll 4 maxpoll 4 prefer
 +fudge 127.127.28.0 refid GPSd
 +fudge 127.127.28.0 time1 0.065
 +
 +# By default, exchange time with everybody, but don't allow configuration.
 +restrict -4 default kod notrap nomodify nopeer noquery
 +restrict -6 default kod notrap nomodify nopeer noquery
 +
 +# Local users may interrogate the ntp server more closely.
 +restrict 127.0.0.1
 +restrict ::1</code>
versalogic_gps.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1