microsoft / W32Time

This repo provides resources for high accuracy time on Windows
MIT License
71 stars 23 forks source link

PTP not working #2

Open brettr70 opened 4 years ago

brettr70 commented 4 years ago

I've followed the guide closely but can't get this to work. Am seeing PTP packets and see PTP_TIMESCALE and PTP_UTC_REASONABLE flags set to 1.

 .... .... .... 1... = PTP_TIMESCALE: True
    .... .... .... .1.. = PTP_UTC_REASONABLE: True

.... 0010 = versionPTP: 2 subdomainNumber: 0

All I get in the event log is the following:

Ptp Provider Configuration:

Allowed Masters:192.168.xx.xx Announce Interval:4000(msec) Delay Poll Interval:16000(msec) IfTstmp:1

PTP provider status:

PTP Best Master Details: Name: IP Address: Clock Identity:0x0000000000000000 Port Number:0 Tick Count At Last Time Sample:0

ActiveMasterCount:0 MulticastRxEnabled:1 Current Tick Count:30152046

We know that PTP source is OK as the 3rd party PTP software we are trying to replace works.

[Configuration]

EventLogFlags: 2 (Local) AnnounceFlags: 10 (Local) TimeJumpAuditOffset: 28800 (Local) MinPollInterval: 6 (Local) MaxPollInterval: 10 (Local) MaxNegPhaseCorrection: 4294967295 (Local) MaxPosPhaseCorrection: 4294967295 (Local) MaxAllowedPhaseOffset: 300 (Local)

FrequencyCorrectRate: 4 (Local) PollAdjustFactor: 5 (Local) LargePhaseOffset: 50000000 (Local) SpikeWatchPeriod: 900 (Local) LocalClockDispersion: 10 (Local) HoldPeriod: 5 (Local) PhaseCorrectRate: 1 (Local) UpdateInterval: 100 (Local)

[TimeProviders]

PtpClient (Local) DllName: C:\WINDOWS\system32\ptpprov.dll (Local) Enabled: 1 (Local) InputProvider: 1 (Local)

NtpClient (Local) DllName: C:\WINDOWS\SYSTEM32\w32time.DLL (Local) Enabled: 0 (Local) InputProvider: 1 (Local)

NtpServer (Local) DllName: C:\WINDOWS\SYSTEM32\w32time.DLL (Local) Enabled: 0 (Local) InputProvider: 0 (Local)

VMICTimeProvider (Local) DllName: C:\WINDOWS\System32\vmictimeprovider.dll (Local) Enabled: 0 (Local) InputProvider: 1 (Local)