gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two patches for ppscheck that fix behavior of -x,--seconds option


From: Gary E. Miller
Subject: Re: Two patches for ppscheck that fix behavior of -x,--seconds option
Date: Thu, 16 May 2024 12:03:14 -0700

Yo Igor!

Looks good to me.  I'll get them in git head this week
Thanks!.

On Thu, 16 May 2024 17:18:55 +0300
Igor Moskovtsev <igormoskovtsev@gmail.com> wrote:

> *ppscheck_timeout.patch* - fixes infinite loop if time_pps_fetch()
> timed out.
> 
> *ppscheck_devname.patch* - fixes device name in output messages if
> -x,--seconds option is used.
> 
> Example (incorrect device name):
> 
> $ sudo ppscheck --seconds 3 /dev/pps0
> INFO: ioctl(*--seconds*, TIOCMGET) failed: Inappropriate ioctl for
> device(25)
> INFO: *--seconds* does not appear to be a tty
> INFO: kpps_caps 0x1151
>   PPS_CAPTUREASSERT
>   PPS_CAPTUREBOTH
>   PPS_OFFSETASSERT
>   PPS_CANWAIT
>   PPS_ECHOASSERT
>   PPS_TSFMT_TSPEC
> 
> WARNING: missing PPS_CAPTURECLEAR, pulse may be offset
> 
> # Src   Seconds                 Signal    Sequence
> 
>   KPPS  1715867905.116225661    assert  14976
>   KPPS  0.000000000    clear   0
> 
>   KPPS  1715867906.116250331    assert  14977
>   KPPS  1715867906.941990981    assert  14978
> 




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpfSem4jRs8L.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]