add phc2sys usage

livox
2020-09-17 15:00:05 +08:00
parent 6cb1d7c4a3
commit a502dcddfd
+7
@@ -217,3 +217,10 @@ sudo ptp4l -i eth0 -l 6 -m
When a sync packet appears on the network, it indicates that the master clock of ptp4l is successfully turned on. When a sync packet appears on the network, it indicates that the master clock of ptp4l is successfully turned on.
Use the following command, PTP Hardware Clock is synchronized to system clock.
`phc2sys` usage: http://manpages.ubuntu.com/manpages/cosmic/man8/phc2sys.8.html
```bash
sudo phc2sys -c eth0 -s CLOCK_REALTIME -O 0
```