Hi Chris, Sorry that I didn't directly answer to your question. In the Master I didn't use phc2sys in my first tests, and I was getting -300ms latency values between the two setups. After you told me to also use phc2sys in the Master, I tried that but still I was getting this values.
I am using the next command in the master and also in the slave after ptp4l is running. The values are still negative latencies in ms which does not make sense. sudo phc2sys -s enp0s31f6 -O 0 -m Do you have concrete instrucctions that I could try in master and slave in order to correct this? Do you think it is possible that due to the setups where I just plug in the device to electricity and other setup that is plugged for longer time can cause the problem? Thanks a lot for your support, Best regards, Federico Murciano M.Sc. Elektrotechnik - Telecommunications Engineer federico.murci...@dai-labor.de Tel. +49 (0) 30/314 -74 025 / Mob. +49 157 8642 4850 Future Communication Networks DAI-Labor Technische Universität Berlin Fakultät IV – Elektrotechnik & Informatik Sekretariat TEL 14 Ernst-Reuter-Platz 7 10587 Berlin, Germany http://www.dai-labor.de/ DAI-Labor - Distributed Artificial Intelligence Laboratory Chief Executive Director: Prof. Dr. Dr. h.c. Sahin Albayrak ________________________________________ Von: Chris Caudle <6807.ch...@pop.powweb.com> Gesendet: Donnerstag, 24. März 2022 21:04 An: linuxptp-users@lists.sourceforge.net Betreff: Re: [Linuxptp-users] phc2sys not synchr. to right time and date > I can also see in the Master devices this difference in its clocks: > from 32 seconds to 31 in the RTC time: > I did hwclock -w and still get this values None of that has anything to do with the PTP hardware clock (PHC) in the network controller. The system clock runs on the system processor, the PTP clock runs in the NIC. If you want the PHC to have the same time as system time, you have to put the system time into PHC. I specifically asked about phc2sys, and you replied with a response about hwclock, which is completely unrelated to PHC, so I think you misunderstood the clock topology in a standard PC type system running PTP. -- Chris Caudle _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users