Re: [Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-14 Thread Peter Bergin
Hi again, phc2sys has an automatic mode.  See the man page for details. I have some follow up question as I still can not see that I get this correct. I hope some experienced linuxptp users can help out. I can not get sync between CLOCK_REALTIME and PHC as I expect. I have two devices conn

Re: [Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-14 Thread Peter Bergin
Hi Vincius, On 2021-10-14 01:44, Vinicius Costa Gomes wrote: One thing that could be missing is for phc2sys to use the same config file as ptp4l, this should be more convenient, something like this: $ ./phc2sys -a -r -r -q -m -f /etc/linuxptp/gPTP.cfg sure it can be more convenient but I thin

Re: [Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-13 Thread Vinicius Costa Gomes
Hi, Peter Bergin writes: > Hi, > > On 2021-10-13 00:19, Richard Cochran wrote: >> On Tue, Oct 12, 2021 at 09:47:21PM +0200, Peter Bergin wrote: >>> Hi, >>> >>> I'm currently working on a network product using gPTP configuration for PTP >>> sync. The device shall be a AVB endpoint handling audio

Re: [Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-13 Thread Keller, Jacob E
On 10/13/2021 12:50 AM, Peter Bergin wrote: > Hi, > > On 2021-10-13 00:19, Richard Cochran wrote: >> On Tue, Oct 12, 2021 at 09:47:21PM +0200, Peter Bergin wrote: >>> Hi, >>> >>> I'm currently working on a network product using gPTP configuration for PTP >>> sync. The device shall be a AVB endpoin

Re: [Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-13 Thread Peter Bergin
Hi, On 2021-10-13 00:19, Richard Cochran wrote: On Tue, Oct 12, 2021 at 09:47:21PM +0200, Peter Bergin wrote: Hi, I'm currently working on a network product using gPTP configuration for PTP sync. The device shall be a AVB endpoint handling audio and according to Avnu specifications all endpoin

Re: [Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-12 Thread Richard Cochran
On Tue, Oct 12, 2021 at 09:47:21PM +0200, Peter Bergin wrote: > Hi, > > I'm currently working on a network product using gPTP configuration for PTP > sync. The device shall be a AVB endpoint handling audio and according to > Avnu specifications all endpoint shall be capable of being master on the

[Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-12 Thread Peter Bergin
Hi, I'm currently working on a network product using gPTP configuration for PTP sync. The device shall be a AVB endpoint handling audio and according to Avnu specifications all endpoint shall be capable of being master on the network. Some plugins for AVB (such as gstreamer and alsa-plugins)