gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] PPS problem with u-blox 8


From: Nick Burkitt
Subject: Re: [gpsd-users] PPS problem with u-blox 8
Date: Tue, 7 Nov 2017 09:29:58 -0800

Christian - if you're using the Ubuntu 14 package (from apt-get install
gpsd), you should instead download the gpsd source and build from that. I
had problems similar to the ones you describe when using the Ubuntu package
that were resolved by switching to the current source.

-Nick

-----Original Message-----
From: gpsd-users
[mailto:address@hidden On
Behalf Of address@hidden
Sent: Tuesday, 7 November, 2017 09:00
To: address@hidden
Subject: gpsd-users Digest, Vol 71, Issue 2

Send gpsd-users mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/gpsd-users
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific than
"Re: Contents of gpsd-users digest..."


Today's Topics:

   1. PPS problem with u-blox 8 (Christian Rossi)


----------------------------------------------------------------------

Message: 1
Date: Tue, 7 Nov 2017 14:54:14 +0100
From: Christian Rossi <address@hidden>
To: address@hidden
Subject: [gpsd-users] PPS problem with u-blox 8
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8; format=flowed

Hello

I use a Navilock NL-8005P MD6 (u-blox 8) with a SparkFun MAX3232 to convert
the PPS data from a TTL level to an RS232 level.

I use gpsd 3.16 on Ubuntu 14 and with gpsmon (u-blox mode) there is no value
on the PPS line:

gpsmon data:? TOFF : 0.148966...? PPS:

With ntpq -p it's ok for SHM(0) and not for SHM(1).

But when I use ppscheck there is data on the DSR pin:

% ppscheck /dev/ttyS1
1510050649? 999177340
1510050650?? 99182899 TIOCM_DSR
1510050650? 999177604
1510050651?? 99171403 TIOCM_DSR
1510050651? 999178897
1510050652?? 99165321 TIOCM_DSR
1510050652? 999175923
...

With ntpshmmon there is only NTP0:

% ntpshmmon
ntpshmmon version 1
#????? Name?? address@hidden Clock Real?????????????? L Prec sample
NTP0 1510051124.165798757 1510051124.165494764
1510051124.000000000 0? -1
sample NTP0 1510051125.157278365 1510051125.156847436
1510051125.000000000 0? -1
sample NTP0 1510051126.166549134 1510051126.165614202
1510051126.000000000 0? -1
sample NTP0 1510051127.156777756 1510051127.156690512
1510051127.000000000 0? -1
sample NTP0 1510051128.172258477 1510051128.171815290
1510051128.000000000 0? -1

And with the gpsd log there is: kernel PPS timeout Interrupted system call

gpsd:PROG: NTP: shmat(30212098,0,0) succeeded, segment 0
gpsd:PROG: NTP: shmat(30244867,0,0) succeeded, segment 1
gpsd:PROG: NTP: shmat(30277691,0,0) succeeded, segment 2
gpsd:PROG: NTP: shmat(30310472,0,0) succeeded, segment 3
gpsd:PROG: NTP: shmat(2424865,0,0) succeeded, segment 4
gpsd:PROG: NTP: shmat(2457634,0,0) succeeded, segment 5
gpsd:PROG: NTP: shmat(2490403,0,0) succeeded, segment 6
gpsd:PROG: NTP: shmat(2523172,0,0) succeeded, segment 7
gpsd:PROG: PPS:/dev/ttyS1 chrony socket /var/run/chrony.ttyS1.sock doesn't
exist
gpsd:PROG: KPPS:/dev/ttyS1 checking /sys/devices/virtual/pps/pps0/path,
/dev/ttyS1
gpsd:INFO: KPPS:/dev/ttyS1 RFC2783 path:/dev/pps0, fd is 6
gpsd:INFO: KPPS:/dev/ttyS1 pps_caps 0x1133
gpsd:INFO: KPPS:/dev/ttyS1 have PPS_CANWAIT
gpsd:INFO: KPPS:/dev/ttyS1 kernel PPS will be used
gpsd:PROG: PPS:/dev/ttyS1 thread launched
gpsd:INFO: PPS:/dev/ttyS1 ntpshm_link_activate: 1
gpsd:INFO: KPPS:/dev/ttyS1 kernel PPS timeout Interrupted system call
gpsd:INFO: KPPS:/dev/ttyS1 kernel PPS timeout Interrupted system call
gpsd:INFO: KPPS:/dev/ttyS1 kernel PPS timeout Interrupted system call
gpsd:PROG: NTP: ntpshm_put(/dev/ttyS1 clock)? 1510049579.000000000 @? 
1510049579.170917047
gpsd:PROG: NTP: ntpshm_put(/dev/ttyS1 clock)? 1510049580.000000000 @? 
1510049580.242969324
gpsd:PROG: NTP: ntpshm_put(/dev/ttyS1 clock)? 1510049582.000000000 @? 
1510049581.140405826
gpsd:INFO: KPPS:/dev/ttyS1 kernel PPS timeout Connection timed out
gpsd:PROG: NTP: ntpshm_put(/dev/ttyS1 clock)? 1510049583.000000000 @? 
1510049583.148434771
gpsd:PROG: NTP: ntpshm_put(/dev/ttyS1 clock)? 1510049584.000000000 @? 
1510049584.156933441
gpsd:INFO: KPPS:/dev/ttyS1 kernel PPS timeout Connection timed out ...

On the file clear and assert on sys/devices/virtual/pps/pps0 there is:

0.000000000#0

and on the file path there is /dev/ttyS1

What can I do to get the PPS data?

Thanks.

--
Christian Rossi




------------------------------

Subject: Digest Footer

_______________________________________________
gpsd-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gpsd-users


------------------------------

End of gpsd-users Digest, Vol 71, Issue 2
*****************************************




reply via email to

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