Re: [Linuxptp-devel] PTP+NTP configuration

2014-07-18 Thread Miroslav Lichvar
On Thu, Jul 17, 2014 at 07:35:30PM +0200, Richard Cochran wrote: On Thu, Jul 17, 2014 at 03:15:20PM +0200, Miroslav Lichvar wrote: Are dependencies on external programs acceptable? That depends. Will the library be available on every system that wants to run linuxptp? I meant the runtime

Re: [Linuxptp-devel] PTP+NTP configuration

2014-07-18 Thread Richard Cochran
On Fri, Jul 18, 2014 at 11:08:15AM +0200, Miroslav Lichvar wrote: That's why I'm asking. The new program needs at least ntpd or chronyd installed on the system to function properly. Are you ok with having code in linuxptp that's not actually related to PTP? Run time dependencies like that

Re: [Linuxptp-devel] 1588 PTP implementation

2014-07-18 Thread Richard Cochran
On Fri, Jul 11, 2014 at 02:03:03AM +0800, Ronex Dicapriyo wrote: Hello, I need to implement functionality of 1588 PTP standard in some harware IP model. For this I have few queries as below: 1) Linux ptp implementation - How it uses/works for harware and software timestamping ? In

Re: [Linuxptp-devel] [PATCH v4] linuxptp: add phc_ctl program to help debug PHC devices

2014-07-18 Thread Richard Cochran
Jacob, I tried this program out, and ... On Thu, Jul 10, 2014 at 03:49:30PM -0700, Jacob Keller wrote: +.BI caps +Display the device capabiltiies. This is the default command if no commands are +provided. With no command, nothing is displayed. +Quickly sanity check frequency slewing by

Re: [Linuxptp-devel] [PATCH v4] linuxptp: add phc_ctl program to help debug PHC devices

2014-07-18 Thread Keller, Jacob E
On Fri, 2014-07-18 at 19:23 +0200, Richard Cochran wrote: Jacob, I tried this program out, and ... On Thu, Jul 10, 2014 at 03:49:30PM -0700, Jacob Keller wrote: +.BI caps +Display the device capabiltiies. This is the default command if no commands are +provided. With no command,

[Linuxptp-devel] [PATCH v5] linuxptp: add phc_ctl program to help debug PHC devices

2014-07-18 Thread Jacob Keller
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