gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] Disable or restart PPS in gpsd?


From: Alexander Carver
Subject: [gpsd-users] Disable or restart PPS in gpsd?
Date: Wed, 03 Sep 2014 00:06:09 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0

I'm having some trouble with PPS on version 3.6 in kernel 3.2

Once in a while I get an issue with the PPS signal that seems to hang up
gpsd and fills the system log with:

Sep  2 20:06:57 tick gpsd[14556]: gpsd:ERROR: KPPS kernel PPS failed
Sep  2 20:06:58 tick gpsd[14556]: gpsd:ERROR: KPPS kernel PPS failed
Sep  2 20:06:58 tick gpsd[14556]: gpsd:ERROR: KPPS kernel PPS failed
Sep  2 20:06:59 tick gpsd[14556]: gpsd:ERROR: KPPS kernel PPS failed
Sep  2 20:06:59 tick gpsd[14556]: gpsd:ERROR: KPPS kernel PPS failed
Sep  2 20:07:00 tick gpsd[14556]: gpsd:ERROR: KPPS kernel PPS failed

I get this once per second, as you can see, until I restart gpsd.  The
problem is that gpsd is also creating the pps0 device which ntpd is
attempting to use as well.  Restarting gpsd alone without restarting
ntpd does not remove pps0 and instead recreates it as pps1.  I have to
restart both services to fix gpsd and restore pps0.  Using ldattach
outside of gpsd prevents gpsd from connecting to the serial port at all.

I would either like to let ldattach handle the pps0 device and somehow
let gpsd connect to the serial port (I'm missing something here to do
this with ldattach since my understanding is that it should be possible
to do) or be able to kick gpsd without restarting it completely so that
I don't have to restart ntpd each time.



reply via email to

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