Public bug reported:
When configuring a ptp4l master and slave to employ unicast mode for
discovery and messaging, synchronization can only be established when
the slave is configured for software timestamping. Hardware timestamping
only works when using multicast.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
$ uname -a
Linux z820-0 6.8.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11
15:25:05 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
$ sudo apt-cache policy linuxptp
linuxptp:
Installed: 3.1.1-3
Candidate: 3.1.1-3
Version table:
*** 3.1.1-3 500
500 http://gb.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
e.g. Master
$ ptp4l -f /etc/ptp4l/ptp4l_ubc_long.conf -i eno1 -E -4 -m
--step_threshold=0.00002 --tx_timestamp_timeout=30
more /etc/ptp4l/ptp4l_ubc_long.conf
[global]
domainNumber 0
priority1 128
priority2 128
use_syslog 1
logging_level 6
hybrid_e2e 1
inhibit_multicast_service 1
unicast_listen 1
dscp_event 46
dscp_general 46
verbose 1
delay_filter moving_average
delay_filter_length 133
pi_proportional_const 0.0
pi_integral_const 0.5
pi_proportional_scale 0.85
pi_proportional_exponent -0.3
pi_proportional_norm_max 0.5
pi_integral_scale 0.5
pi_integral_exponent 0.5
pi_integral_norm_max 1.3
[eno1]
logAnnounceInterval 0
announceReceiptTimeout 3
logSyncInterval -3
logMinDelayReqInterval -3
delay_mechanism E2E
network_transport UDPv4
e.g. Slave
$ ptp4l -s -m -f /etc/linuxptp/ptp4l_eth0_sw.conf -i eth0
--step_threshold=0.00002 --tx_timestamp_timeout=30
$ more /etc/linuxptp/ptp4l_eth0_sw.conf
[global]
unicast_req_duration 10
verbose 1
twoStepFlag 1
time_stamping software
logAnnounceInterval -1
logSyncInterval -2
inhibit_multicast_service 1
slaveOnly 1
ptp_minor_version 0
# Changes
delay_filter moving_average
delay_filter_length 133
pi_proportional_const 0.1
pi_integral_const 0.001
pi_proportional_scale 0.85
pi_integral_scale 0.5
pi_proportional_exponent -0.3
pi_proportional_norm_max 0.5
pi_integral_exponent 0.5
pi_integral_norm_max 1.3
tsproc_mode raw_weight
[unicast_master_table]
table_id 1
logQueryInterval 2
UDPv4 192.168.17.169
[eth0]
unicast_master_table 1
delay_mechanism E2E
network_transport UDPv4
** Affects: linuxptp (Ubuntu)
Importance: Undecided
Status: New
** Tags: ptp4l stamp time unicast
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084534
Title:
Linuxptp, ptp4l only supports software timesamping in unicast mode
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linuxptp/+bug/2084534/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs