On Tue, August 30, 2022 7:13 am,
[email protected] wrote:
> Date: Tue, 30 Aug 2022 16:21:36 +0530
> From: Hari Kumar <[email protected]>
> Subject: [Linuxptp-users] ts2phc error (ts2phc[20737.341]:
> PTP_EXTTS_REQUEST failed: Invalid argument
> Message-ID:
> <CAMRjPWCtBQcFzQaG-bnThUEu2+2Lnog-aEWr7eUhEOS=nj2...@mail.gmail.com>
...
> [eth0]
> ts2phc.channel 0
> ts2phc.extts_polarity both
...
> ts2phc[20737.341]: PTP_EXTTS_REQUEST failed: Invalid argument
You only mentioned synchronization using PTP, but the ts2phc man page
indicates that extts is for time stamping an external PPS signal:
"ts2phc.extts_polarity
"The polarity of the external PPS signal, either "rising" or
"falling". Some PHC devices always time stamp both edges. Setting
this option to "both" will allow the ts2phc program to work with such
devices by detecting and ignoring the unwanted edge. In this case be
sure to set 'ts2phc.pulsewidth' to the correct value. The default is
`rising'."
If you do not have an external PPS signal that does not seem to be the
correct configuration argument to use. I don't know how external PPS
input would make sense with a PTP follower. Maybe used when acting as the
PTP leader, but ignored when acting as a PTP follower, but I'm not sure.
--
Chris Caudle
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users