Re: [Linuxptp-users] grandmaster with an H/P 3805A GPS disciplined osc
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: David G. <dav...@po...> - 2013-08-22 07:49:04
|
On 08/21/2013 10:33 PM, Richard Cochran wrote: > On Wed, Aug 21, 2013 at 03:38:26PM -0700, David Gravereaux wrote: >> Now if I'm using ptp as a grandmaster, who trains the /dev/ptp0 and how? > > (That would be the program that you are going to write ;) > >> Or if I'm driving a PPS input at the comport's DCD line that NTPd is >> using through its atom driver to /dev/pps0, is this managed by ptp4l for >> slewing the card's clock? > > No, it is not managed by ptp4l. You have to make sure that, if run > them at the same time, ntpd and ptp4l/phc2sys do not step on each > other's toes. So instead of phc2sys, I'm wanting a gps2phc+rtc ;) If my head is screwed on right, this almost gets me there given system clock is the reference for start offset, but takes over from PPS, though not a physical signal to the NIC. phc2sys -wmql 7 -d /dev/pps0 -s CLOCK_REALTIME -c /dev/ptp0 If this is true, I'd be happy with this for the moment. -- David Gravereaux <dav...@po...> |