2018-01-30 18:41:34

by Lukas Senger

[permalink] [raw]
Subject: pps-gpio falsely reporting echo capability?

Hi,

I'm trying to use PPS_ECHOASSERT with the GPIO pins on a Raspberry
Pi. /sys/class/pps/pps0/echo reports 1, however looking at pps-gpio.c,
no echo-callback is registered. Am I missing something or should either
sysfs report 0 or pps echo be implemented in the client?

From a quick glance at the other clients, the same might be true for
pps-ktimer and pps_parport. They both report PPS_ECHO* in info.mode but
never define info.echo.

Cheers,
Lukas