Hello Richard,
these are the respective outputs:
root@cp61850:~# pmc -u -b 0 'GET TIME_PROPERTIES_DATA_SET'
sending: GET TIME_PROPERTIES_DATA_SET
00d093.fffe.274a5e-0 seq 0 RESPONSE MANAGEMENT
TIME_PROPERTIES_DATA_SET
currentUtcOffset 37
leap61 0
leap59 0
currentUtcOffsetValid 0
ptpTimescale 1
timeTraceable 0
frequencyTraceable 0
timeSource 0xa0
root@cp61850:~# pmc -u -b 0 'GET PORT_DATA_SET'
sending: GET PORT_DATA_SET
00d093.fffe.274a5e-1 seq 0 RESPONSE MANAGEMENT PORT_DATA_SET
portIdentity 00d093.fffe.274a5e-1
portState SLAVE
logMinDelayReqInterval 0
peerMeanPathDelay 0
logAnnounceInterval 1
announceReceiptTimeout 3
logSyncInterval 0
delayMechanism 1
logMinPdelayReqInterval 0
versionNumber 2
00d093.fffe.274a5e-2 seq 0 RESPONSE MANAGEMENT PORT_DATA_SET
portIdentity 00d093.fffe.274a5e-2
portState LISTENING
logMinDelayReqInterval 0
peerMeanPathDelay 0
logAnnounceInterval 1
announceReceiptTimeout 3
logSyncInterval 0
delayMechanism 1
logMinPdelayReqInterval 0
versionNumber 2
root@cp61850:~# date
Wed Mar 22 07:55:46 UTC 2017
root@cp61850:~# phc_ctl /dev/ptp0 get
phc_ctl[660.715]: clock time is 1490169383.798251169 or Wed Mar 22
07:56:23 2017
With ptp4l only working with one ethernet interface,
TIME_PROPERTIES_DATA_SET is identical:
root@cp61850:~# pmc -u -b 0 'GET TIME_PROPERTIES_DATA_SET'
sending: GET TIME_PROPERTIES_DATA_SET
00d093.fffe.274a5f-0 seq 0 RESPONSE MANAGEMENT
TIME_PROPERTIES_DATA_SET
currentUtcOffset 37
leap61 0
leap59 0
currentUtcOffsetValid 0
ptpTimescale 1
timeTraceable 0
frequencyTraceable 0
timeSource 0xa0
Best regards,
Stefan
Am 21.03.2017 um 12:48 schrieb Richard Cochran:
> If I understood correctly, then in your setup phc2sys will use the
> UTC/TAI offset provided by the GM...
>
> On Tue, Mar 21, 2017 at 08:37:49AM +0100, Stefan Lange wrote:
>> ptp4l correctly syncs /dev/ptp0 to one of the grandmaster clocks:
>>
>> root@cp61850:/var/log# pmc -u -b 0 'GET PORT_DATA_SET'
> What do you see when you query TIME_PROPERTIES_DATA_SET ?
>
> Thanks,
> Richard
>
--
Stefan Lange
Entwicklung
___________________________________________________________
GateWare Communications GmbH
!ACHTUNG, NEUE ADRESSE!
Friggastr. 2, D-90461 Nürnberg
Germany
Tel: +49 (0) 911 / 946016-190
Fax: +49 (0) 911 / 946016-80
Eingetragene Rechtsform : GmbH
Sitz und Registergericht: Amtsgericht Nürnberg HRB 18334
Geschäftsführer : Wolfgang Haubner
Web: http://www.gateware.de
E-Mail: [email protected]
___________________________________________________________
Diese E-mail kann vertrauliche Informationen enthalten. Falls Sie diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte unverzüglich den
Absender und löschen Sie diese E-Mail von jedem Rechner, auch von den
Mailservern. Jede Verbreitung des Inhalts, auch die teilweise Verbreitung,
ist in diesem Fall untersagt. Außer bei Vorsatz oder grober Fahrlässigkeit
schließen wir jegliche Haftung für Verluste oder Schäden aus, die durch
Viren befallene Software oder E-Mails verursacht werden.
This e-mail may contain confidential information. If you received this
e-mail in error, please contact the sender and delete this e-mail from your
computer, including your mailservers. Any dissemination, even partly, is
prohibited. Except in case of gross negligence or wilful misconduct we
accept no liability for any loss or damage caused by software or e-mail
viruses.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel