Re: [Linuxptp-users] Regression - phc2sys fails with certain PHC char dev filenames
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Ed B. <br...@ar...> - 2021-11-12 16:46:03
|
On 11/12/21 10:36, Vladimir Oltean wrote:
>
> What is your use case for the char device symlinks exactly? The
> canonical way of finding the PTP char device corresponding to an
> interface is to use "ethtool -T eth0 | grep 'PTP Hardware Clock'".
>
There is no network interface associated with this clock. Similar to the
following from the stock Debian 10 entry in
/lib/udev/rules.d/50-udev-default.rules:
SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm"
- Ed Branch
|