[Linuxpps] Duplicated sequence numbers

Rodolfo Giometti giometti at linux.it
Tue May 30 10:07:51 CEST 2006


On Mon, May 29, 2006 at 11:54:30PM +0100, Adam James wrote:
>
> Thanks for your remarkably quick reply, it is much appreciated!
> 
> I now get the following output from ppstest:
> 
> # ./ppstest
> found PPS source #0 "pps_8250_0" on "/dev/ttyS0"
> assert 1148941843.001278000, sequence: 7357 - clear  1148941843.101270000, sequence: 7357
> assert 1148941844.001280675, sequence: 7358 - clear  1148941843.101270000, sequence: 7357
> assert 1148941844.001280675, sequence: 7358 - clear  1148941844.101272000, sequence: 7358
> assert 1148941845.001293675, sequence: 7359 - clear  1148941844.101272000, sequence: 7358
> assert 1148941845.001293675, sequence: 7359 - clear  1148941845.101272000, sequence: 7359
> assert 1148941846.001297675, sequence: 7360 - clear  1148941845.101272000, sequence: 7359
> assert 1148941846.001297675, sequence: 7360 - clear  1148941846.101274000, sequence: 7360
> assert 1148941847.001278675, sequence: 7361 - clear  1148941846.101274000, sequence: 7360
> assert 1148941847.001278675, sequence: 7361 - clear  1148941847.101275000, sequence: 7361
> 
> As the timestamps are duplicated along with the sequence numbers, I
> presume that the PPS signal is being received correctly.

Ok.

> Could you shed any light on the following message output by ntpd:
> 
> ntpd[7024]: refclock_nmea: time_pps_kcbind failed: Operation not supported
> 
> Is this a limitation of the current implentation, on a problem at my
> end?

The function time_pps_kcbind() is an «optional» PPS function. As
described by RFC 2783:

   An implementation MUST provide this function, but it may be
   implemented as a function that always return an EOPNOTSUPP error,
   possibly on a per-source basis:

      - time_pps_kcbind()

And LinuxPPS always returns EOPNOTSUPP:

                case PPS_KC_BIND : {
                        /* Feature currently not supported */
                        nlpps->ret = -EOPNOTSUPP;

                        break;
                }

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20060530/e9d4c1e7/attachment.pgp


More information about the LinuxPPS mailing list