gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] GPSD as root cannot receive PPS


From: shouldbe q931
Subject: Re: [gpsd-users] GPSD as root cannot receive PPS
Date: Tue, 22 Oct 2019 18:27:16 +0100

On Tue, Oct 22, 2019 at 4:35 PM Sara Costa Freitas
<address@hidden> wrote:
>
> Hello,
>
>
> I am trying to configure chrony in Ubuntu 16.04 (kernel 4.15.0-52-generic), 
> using a GPS source and a PPS pulse. I know that I have the PPS pulse, as I 
> can see it using ppstest or ppscheck, however, if I start the gpsd as sudo, 
> GPSD returns the error "gpsd:INFO: KPPS:/dev/ttyXR6 kernel PPS timeout 
> unknown error", and if I try to do the ppscheck I get the following error 
> "PPS ioctl(TIOCMIWAIT) failed: 25 Inappropriate ioctl for device".
>

How is the GPS and PPS connected ?

I presume you mean that you ran something like "sudo ppstest
/dev/pps0" and then saw something like

trying PPS source "/dev/pps0"
found PPS source "/dev/pps0"
ok, found 1 source(s), now start fetching data...
source 0 - assert 1571761981.999997834, sequence: 15280989 - clear
0.000000000, sequence: 0
source 0 - assert 1571761983.000000259, sequence: 15280990 - clear
0.000000000, sequence: 0
source 0 - assert 1571761983.999996539, sequence: 15280991 - clear
0.000000000, sequence: 0

>
> If I run GPSD with sudo:
>
Please confirm the full command that you ran

Does "sudo gpsmon /path/to/gps" show PPS as well as time and position data ?


> Chrony is able to sync and receive the GPS data
> GPSD is not able to collect PPS data
>
>
> If I run GPSD without sudo:
>
> Chrony don't sync with GPS or PPS
> GPSD receives GPS and PPS information
> ntpshmmon shows info from NTP2 and NTP3
>
>
> GPSD version: 3.19
>
> Chrony version: 3.5
>
>
> Does anyone have this type of problem?
>
> Best regards
>



reply via email to

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