> -----Original Message----- > From: Richard Cochran [mailto:richardcoch...@gmail.com] > Sent: Tuesday, June 24, 2014 8:55 PM > To: Keller, Jacob E > Cc: linuxptp-devel@lists.sourceforge.net > Subject: Re: [Linuxptp-devel] [PATCH] linuxptp: add phc_ctl program to > help debug PHC devices > > On Tue, Jun 24, 2014 at 05:06:08PM -0700, Jacob Keller wrote: > > This is an updated version of a script I wrote a couple years ago for > > debugging the PHC when writing a new driver. I figured that it might be > > handy for the LinuxPTP project to include, as it can give some insight > > into the PHC directly. I have updated it to make use of the shared code > > here, in order to reduce duplication. Hopefully this is of some use to > > everyone. > > I think this would be useful. The Linux testptp program does some of > the same things, but it is not very convenient to build. > > Can you write a man page, too? >
Yes. I am also planning on adding hopefully every option that testptp has, since this would be a bit more convenient. I will write a manpage for this and send a v2. Thanks, Jake > > diff --git a/phc_ctl.c b/phc_ctl.c > > new file mode 100644 > > index 000000000000..ff90ce4dbf1b > > --- /dev/null > > +++ b/phc_ctl.c > > @@ -0,0 +1,536 @@ > > +/* > > + * @file phc2sys.c > > + * @brief Utility program to synchronize two clocks via a PPS. > > + * @note Copyright (C) 2012 Richard Cochran > <richardcoch...@gmail.com> > > You should probably change these lines to reflect the new program. > Ah, yes, thanks. > Thanks, > Richard ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel