TS2PHC(8) System Manager's Manual TS2PHC(8) (NAME) ts2phc - PTP (SYNOPSIS) ts2phc [ -hmqv ] [ -c device|name ] [ -f config ] [ -l print-level ] [ -s device|name ] [ long-options ] ... (DESCRIPTION) ts2phc PTP ( PHC) . PHC . (OPTIONS) -a . ptp4l PHC . PPS . PPS PHC PPS . PHC PPS ( generic NMEA) . ptp4l . boundary_clock_jbod ptp4l . -c device|name PHC . ( dev/ptp0/) ( eth0) . . -f config . . -h . -l print-level syslog . 6 (LOG_INFO) . -m . -q (syslog). -s device|name (ToD). "generic" 1-PPS ToD . PHC ( dev/ptp0/) ( eth0) . "nmea" 1-PPS GPS ToD RMC NMEA . -v . (LONG OPTIONS) ( ) <<>> . use_syslog : ?(CW-use_syslog 1 -use_syslog=1?P . (CONFIGURATION FILE) . . . # . : 1. ( [global] ) . . 2. PHC ( [eth0]). -c . (GLOBAL OPTIONS) active_key_id ?Bspp?R ?Bsa_file?R (SA) ?Bspp?R icv . ?Bsa_file?R . ?Bspp?R ?Bsa_file?R . 2^32-1 . 0 (). clock_servo . : "pi" PI "linreg" "ntpshm" "refclock_sock" NTP SHM chrony SOCK "nullf" ( SyncE). "pi" . first_step_threshold ( ) ( nullf) . . 0.0 . 0.00002 ( ) . free_running 1 PHC . . 0 ( ). leapfile . tzdata usr/share/zoneinfo/leap-seconds.list/ . leapfile . . logging_level . 6 (LOG_INFO) . max_frequency (ppb). . 0 . 900000000 (90%) . message_tag . "{level}" . . ntpshm_segment (SHM) ntpshm. 0 . pi_integral_const PI. 0.0 . 0.0 . ki = min(ki_scale * sync^ki_exponent, ki_norm_max / sync) pi_integral_exponent ki_exponent . 0.4 . pi_integral_norm_max ki_norm_max . 0.3 . pi_integral_scale ki_scale . 0.3 . pi_proportional_const PI. 0.0 : 0.0 . kp = min(kp_scale * sync^kp_exponent, kp_norm_max / sync) pi_proportional_exponent kp_exponent . -0.3 . pi_proportional_norm_max kp_norm_max . 0.7 . pi_proportional_scale kp_scale . 0.7 . sa_file (Security Associations) Authentication TLV ieee1588-2019 14.16. (). servo_num_offset_values SERVO_LOCKED SERVO_LOCKED_STABLE. 'servo_num_offset_values' 10 . servo_offset_threshold SERVO_LOCKED SERVO_LOCKED_STABLE. . 0 (). step_threshold ( ) . 0.0 . 0.0 . spp authentication tlv . . - . - (). ts2phc.holdover (holdover) . ToD ( GNSS) ts2phc SERVO_LOCKED_STABLE . 0 (). ts2phc.nmea_delay NMEA RMC . 'ts2phc.extts_polarity' "both" 'ts2phc.pulsewidth' NMEA PPS . 0 . ts2phc.nmea_remote_host, ts2phc.nmea_remote_port ToD PPS "nmea". . (). ts2phc.nmea_serialport, ts2phc.nmea_baudrate bps ToD PPS "nmea". "/dev/ttyS0" 9600 bps . ts2phc.perout_phase PPS. PPS PHC . 0 999999999 . 0 . ts2phc.pulsewidth PPS . 'ts2phc.extts_polarity' "both" . 1000000 990000000 . 500000000 . ts2phc.tod_source (ToD). "generic" 1-PPS ToD . PHC . "nmea" 1-PPS GPS ToD NMEA RMC . "generic" . use_syslog ( ). 1 () . verbose ( ). 0 () . (TIME SINK OPTIONS) ts2phc.channel . PHC . . 0 . ts2phc.extts_correction PPS . 0 ( ). ts2phc.extts_polarity PPS "rising" () "falling" (). PHC . "both" ts2phc . 'ts2phc.pulsewidth' . "rising" . ts2phc.master 1 PHC PPS . 0 ( ). ts2phc.pin_index () . PHC . 0 . (WARNING) ptp4l phc2sys ts2phc . . . ptp4l phc2sys ts2phc . (SEE ALSO) phc2sys(8) ptp4l(8) linuxptp March 2024 TS2PHC(8)