Although the device seems to have a pretty fine granular hardware timestamp, it looks like this is not exposed via the socketcan driver. ethtool reports:
$ ethtool --show-time-stamping can0
Time stamping parameters for can0:
Capabilities:
software-receive
software-system-clock
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes: none
Hardware Receive Filter Modes: none
Using candump with software timestamps is pretty worthless on Linux, so it would be great, if the socketcan driver could be extended to read the hardware timestamps from the controller.
Although the device seems to have a pretty fine granular hardware timestamp, it looks like this is not exposed via the socketcan driver.
ethtoolreports:Using
candumpwith software timestamps is pretty worthless on Linux, so it would be great, if the socketcan driver could be extended to read the hardware timestamps from the controller.