Hi,

I want to synchronise the PHC to the System Clock witch phc2sys (so the system 
clock is master to the PHC) and then let the PHC distribute time over the 
network through ptp4l.

System Clock —> PHC —> Clients

When running # phc2sys -c /dev/ptp0 -s CLOCK_REALTIME -m -q -w and running 
ptp4l as # ptp4l -i enp0s25 -m -q -4 -H the device /dev/ptp0 is synchronised to 
the system clock without any problems.

However, /dev/ptp0 seems not to be on enp0s25 (which is the only hardware 
capable card in the system). When running # phc_ctl /dev/ptp0 get and # date, 
the time is correctly synchronised as expected. But when running # phc_ctl 
enp0s25 get and # date there is an offset of about 5 minutes. 

So when then specifying enp0s25 instead of /dev/ptp0 in the phc2sys command (# 
phc2sys -c enp0s25 -s CLOCK_REALTIME -m -q -w) the servo never reaches s2 and 
also displays the high offset as measured before with phc_ctl. 

What is the reason that I am unable to synchronise enp0s25 to the system clock? 
And what is the reason that /dev/ptp0 does synchronise to the system clock 
properly? And what is the reason that /dev/ptp0 is not linked to enp0s25? Can I 
link /dev/ptp0 manually to enp0s25 or?


Jord

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to