Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTP on rpi3 testing code #11

Open
RajatDas2020 opened this issue Jul 24, 2020 · 0 comments
Open

PTP on rpi3 testing code #11

RajatDas2020 opened this issue Jul 24, 2020 · 0 comments

Comments

@RajatDas2020
Copy link

I have enabled PTP on RPi3 B+ by following the instruction given here. Now can you help me with a code to test PTP on Rpi. I am trying with one code, but with "SOF_TIMESTAMPING_TX_SOFTWARE" an input argument, but getting some error related to "ioctl" .
(http://www.cs.fsu.edu/~baker/devices/lxr/source/2.6.31.13/linux/Documentation/networking/timestamping/timestamping.c)

pi@raspberrypi:~ $ sudo ethtool -T eth0
Time stamping parameters for eth0:
Capabilities:
software-transmit (SOF_TIMESTAMPING_TX_SOFTWARE)
software-receive (SOF_TIMESTAMPING_RX_SOFTWARE)
software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes: none
Hardware Receive Filter Modes: none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant