The ptp interface
ptp interface allows access to the Precision Time Protocol (PTP) Hardware Clock subsystem in the Linux kernel, enabling the clock to be synced to sub-100 nanoseconds.
This interface is primarily intended to be used with Ubuntu Core.
See Interface management and Supported interfaces for further details on how interfaces are used.
See sysfs-ptp for device sysfs location and configuration details.
The test code can be found in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/ptp_test.go
The source code for the interface is in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/ptp.go
Last updated 1 year, 6 months ago.