-
Notifications
You must be signed in to change notification settings - Fork 9
/
pps-client.conf
98 lines (75 loc) · 3.84 KB
/
pps-client.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# pps-client.conf v2.0.0
# The configuration file for PPS-Client.
# Saves a distribution of the accumulated system clock time corrections made each
# second to /var/local/pps-error-distrib-forming which is transfered every 24 hours
# to /var/local/pps-error-distrib. Defaults to disabled.
#error-distrib=enable
# Saves a distribution of the accumulated jitter recorded each second to
# /var/local/pps-jitter-distrib-forming which is transfered every 24 hours
# to /var/local/pps-jitter-distrib. Defaults to disabled.
#jitter-distrib=enable
# Allows PPS-Client to exit after the PPS interrupt is lost for one hour. If disabled,
# PPS-Client holds the system clock frequency offset at the last update value but does
# not automatically exit. Defaults to disabled.
#exit-lost-pps=enable
# If you want to use a source other than the NIST Internet time service to set the local
# time of day, NIST can be specifically disabled to allow an external program to be used.
# Defaults to enabled.
#nist=disable
# Local time of day can be set through a serial port connected to a GPS receiver or the
# equivalent. If this option is enabled, the NIST option will be automatically disabled.
# Defaults to serial=disable.
#serial=enable
# This is the active serial port. If a different serial port is required set the device
# name here in root format. Only used if serial=enable.
serialPort=/dev/ttyS0
# This is the device name of the active PPS device. If different, set the device name
# here in root format.
ppsdevice=/dev/pps0
# PPS delay correction in microseconds. This is the delay between the true time of the
# asserted edge of the PPS signal and the time recorded for it in the Linux kernel. The
# default value was determined for the different versions of the RPi and is automatically
# used. The value is processor dependent. Consequently, if set here, that value will be
# used instead of the default values.
#zeroOffset=0
# In very noisy process environments or for testing it may be desirable to segregate
# PPS-Client from other processes running on the processor (with a reduction of one core
# for the other processes). This can be done by specifying which core PPS-Client should
# run on and the number of cores (or threads on Intel/AMD processors) on the processor.
# The default is no segregation and all cores are used for all process. Cores are numbered
# from 0 to n-1 where n is the number of cores. For a small processor like Raspberry Pi,
# to have PPS-Client run on core 0 of 4 cores this would be specified (uncommented) as,
#segregate=0/4
# In most cases the PPS input is a normally low pulse that goes to a high logic level
# for a small percentage of the time. However, if the PPS is introduced through a serial
# port, the interface hardware might invert the phase so that the resulting RS232 pulse
# is normally at a high logic level. In that case the clear (low-going) edge of the pulse
# is the time reference edge. To use the clear edge, the following should be set to
# ppsphase=1.
ppsphase=0
# These are the directories actively used by PPS-Client on Raspian, Raspberry Pi OS,
# Ubuntu and Debian. On other systems change as appropriate.
# Directory for user executables
execdir=/usr/sbin
# Directory for systemd service files
servicedir=/etc/systemd/system
# Directory for config files
configdir=/etc
# Directory for user program documentation
docdir=/usr/share/doc
# In-memory directory for temporary run-time files
rundir=/run
# Directory for shared memory
shmdir=/run/shm
# Directory for test files
tstdir=/var/local
# Directory for compiler library files
libdir=/usr/local/lib
# Directory for log files
logdir=/var/log
# Directory for loadable kernel modules
moduledir=/lib/modules/`uname -r`/extra
# Directory for build or headers
builddir=/lib/modules/$(shell uname -r)/build
# Directory for virtual file system and running processes
procdir=/proc