[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-users] PPS problem with u-blox 8
From: |
Christian Rossi |
Subject: |
[gpsd-users] PPS problem with u-blox 8 |
Date: |
Tue, 7 Nov 2017 14:54:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
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
- [gpsd-users] PPS problem with u-blox 8,
Christian Rossi <=