[Linuxptp-users] ptp4l and multiple network devices
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Vadim B. <va...@gm...> - 2017-08-03 20:12:55
|
Hi, First of all, thanks for ptp4l. You did an awesome job! I'm using two PTP cameras connected to two ethernet network devices (non-PTP) on my PC, and I'm trying to sync them by using the software PTP. I tried doing it in the following way: 1. I start the first device as a master: sudo ptp4l -i enp7s0 -m -S ptp4l[2549.662]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[2549.662]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[2556.924]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_ EXPIRES ptp4l[2556.924]: selected best master clock 78d004.fffe.227db5 ptp4l[2556.924]: assuming the grand master role 2. I start the second one in a slave mode: sudo ptp4l -i enp6s0 -m -S -s ptp4l[2564.849]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[2564.849]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[2571.141]: selected best master clock 78d004.fffe.227db4 I don't think it did a right job since the slave clock has a different name than the master clock. Can you please give me a hint on what is the proper way to do it? Thanks <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <https://mail.google.com/mail/u/2/#m_-3152239262022246986_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> |