I suggest you try software timestamp (add -S switch). I have a panel PC at
the office where I installed Ubuntu and to my surprise there was no
hardware timestamp support (Intel CPU but Realtek Gbit/s
Ethernet controllers) whereas on another AMD based SBC with Intel Ethernet
controllers, hardware timestamp worked right away with Ubuntu unmodified
installation. Maybe your PC has one of these Realtek controllers as well
(from memory, when I researched on it, there were issues with Realtek
controllers and PHC support) or another controller not well supported.

HTH.





Em qui., 8 de jun. de 2023 às 13:06, Tony Josi <tonyjosi...@gmail.com>
escreveu:

> Hi,
>
> I'm trying to use PTP on my linux machine:
>
> *OS information:*
> Operating System: Ubuntu 20.04.5 LTS
> Kernel: Linux 5.15.0-71-generic
> Architecture: x86-64
>
> This is the default official Ubuntu version that I have installed from the
> .iso image available from the Ubuntu website. Not a custom built OS.
>
> I have installed *linuxptp *with the following command:
> sudo apt install linuxptp
>
> But when I try running ptp4l with the following command:
> sudo ptp4l -i enox0c379 -m -2 -P -l 6 -q -f $HOME/ptp_config.cfg
>
> I get the following error message:
>
> ptp4l[890.371]: ioctl SIOCETHTOOL failed: No such device
> ptp4l[890.371]: PTP device not specified and automatic determination is
> not supported. Please specify PTP device.
> failed to create a clock
>
> Here is the contents of $HOME/ptp_config.cfg:
>
> [global]
>     tx_timestamp_timeout    400
>     logMinPdelayReqInterval  3
>     logSyncInterval          -4
>     logAnnounceInterval      0
>
> How can I specify the PTP device, Isnt it the network interface that I
> have already specified?
>
> Thanks for your help
> Regards,
> Tony
> _______________________________________________
> Linuxptp-users mailing list
> Linuxptp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxptp-users
>
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to