This series improves the automatic mode of phc2sys to handle unresponsive ptp4l, e.g. stopped, crashed or accidentaly removed socket. The first four patches prepare the code for the actual handling implemented in the fifth patch.
Miroslav Lichvar (5): pmc_agent: Make subscription duration configurable. pmc_agent: Add function to check if still subscribed. phc2sys: Adjust pmc subscription duration for clock update interval. phc2sys: Better indicate domain with realtime clock. phc2sys: Stop synchronization when ptp4l stops responding. phc2sys.c | 33 +++++++++++++++++++++++++-------- pmc_agent.c | 30 ++++++++++++++++++++---------- pmc_agent.h | 12 +++++++++++- ts2phc.c | 2 +- 4 files changed, 57 insertions(+), 20 deletions(-) -- 2.41.0 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel