I am using ptp4l on linux machine. Currently, in the pcap trace I can see that the flag for PTP_Timescale is set to False. Is there anyway, that I can configure the PTP_Timescale parameter and set it to True?
I am using ptp4l on linux machine. Currently, in the pcap trace I can see that the flag for PTP_Timescale is set to False. Is there anyway, that I can configure the PTP_Timescale parameter and set it to True?
The
pmctool may be the answer you are looking for (I think thepmctool is included in the linuxptp package).First Step:
Let's try and read your current configuration using the
pmctool:You should get a response in this structure:
Second Step:
Let's modify the
timeTraceableflag to 1 using apmccommand (please note that I'm not changing the other flags - I'm writing the same values I've just read, except thetimeTraceablethat we want to change):I hope this will do the job. If it doesn't help, try have a look at this links for more details:
pmc man page
pmc example