gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] UBX-TIM-TP on F9T?


From: Anders Wallin
Subject: Re: [gpsd-users] UBX-TIM-TP on F9T?
Date: Wed, 9 Oct 2019 08:05:52 +0300

> But how do I now check the PPS using ppswatch/ppstest? I
> don's see a /dev/pps0 or similar.

If you run gpsd on the serial port, it does the ldattach dance for you
and creates the /dev/ppsX for you.
Otherwise, nothing changed, you run the ppsXXX programs on the device
with the PPS.

I don't see a /dev/ppsX.
This works: $ sudo ppscheck /dev/gps1
# Seconds  nanoSecs   Signals
 1570596971.100102179 TIOCM_CD
 1570596972.000112325
 1570596972.100188074 TIOCM_CD
 1570596973.000150596
but this doesn't (?)
$ sudo ppswatch /dev/gps1
trying PPS source "/dev/gps1"
cannot create a PPS source from device "/dev/gps1" (Operation not supported)
 
If gpsd is running, then it has created the /dev/ppsX for you:

I don't see anything with ppsfind, for some reason:
$ ls -l gps1
lrwxrwxrwx 1 root root 7 Oct  8 11:52 gps1 -> ttyUSB1
$ sudo ppsfind /dev/ttyUSB1
(no output)
 
> This might be related to the cycle-start detector warning I see on
> gpsd? gpsd:WARN: cycle-start detector failed.
> (repeated once per second)
> any ideas?

Why is your cycle start filing?  What is your sentence mix?  How did you
configure your GNSS receiver?

Turning up debug-level on gpsd, it looks like the pps-signal is handled twice, PROG-output PPS and TPPS.
This might explain the repeated PPS-JSON that the python client receives?
I don't know what causes the cycle-start warning.
The F9T config should be close to default.

gpsd:PROG: TPPS:/dev/ttyUSB1 ioctl(TIOCMIWAIT) succeeded, time: 1570597322.000098006,  state: 0
gpsd:PROG: TPPS:/dev/ttyUSB1 Clear, cycle: 999953, duration: 899931 @  1570597322.000098006
gpsd:PROG: PPS:/dev/ttyUSB1 Clear cycle:  999953, duration:  899931 @  1570597322.000098006
gpsd:PROG: NTP: ntpshm_put(/dev/ttyUSB1,-10)  1570597322.000000000 @  1570597322.000098006
gpsd:INFO: PPS:/dev/ttyUSB1 Clear hooks called clock:  1570597322.000098006 real:  1570597322.000000000: accepted
gpsd:PROG: PPS:/dev/ttyUSB1 Clear accepted @  1570597322.000098006 offset -0.000098006
gpsd:WARN: cycle-start detector failed.
gpsd:PROG: TPPS:/dev/ttyUSB1 ioctl(TIOCMIWAIT) succeeded, time: 1570597322.100157560,  state: 64
gpsd:PROG: TPPS:/dev/ttyUSB1 Assert, cycle: 999991, duration: 100059 @  1570597322.100157560
gpsd:PROG: PPS:/dev/ttyUSB1 Assert cycle:  999991, duration:  100059 @  1570597322.100157560
gpsd:PROG: PPS:/dev/ttyUSB1 Assert ignored this second already handled
 

Anders

reply via email to

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