On Tue, Oct 04, 2022 at 06:34:20AM -0700, Richard Cochran wrote:
> On Tue, Oct 04, 2022 at 10:30:58AM +0200, Maciek Machnikowski wrote:
> > Current implementation requires specifying the -s argument for PPS
> > sources that don't provide ToD information and for GNSS modules.
> > 
> > Add ts2phc.tod_source config option to enable specifying the source
> > in the config file. Currently only "generic" and "nmea" options
> > are allowed.
> 
> This is useful, but...
> 
>  -s [dev|name]  source of the PPS signal
>                 may take any of the following forms:
>                     generic   - an external 1-PPS without ToD information
>                     /dev/ptp0 - a local PTP Hardware Clock (PHC)
>                     eth0      - a local PTP Hardware Clock (PHC)
>                     nmea      - a gps device connected by serial port or 
> network
> 
> How about adding the other two possibilities?

Sure - can add them, but it is possible to use the ts2phc.master
option to get just that.

Also - is it OK if I rename the pps_source to tod_source? I think it
will be more descriptive of what it really is.

Regards
Maciek



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to