gpsd-users
[Top][All Lists]
Advanced

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

Re: Help needed to configure and compile gpsd to run on a Raspberry Pi 4


From: Mick Durkin
Subject: Re: Help needed to configure and compile gpsd to run on a Raspberry Pi 4 and NOT use systemd
Date: Fri, 15 Nov 2024 20:17:16 +0000

Hi Gary,

OK, we cloned the latest version from git and compiled/installed it.
Attached is a log of the compile and install (Compile.log).

We then ran gpsdebuginfo under the assumption that gpsd should not be
started and running as a daemon. Attached is the log (GPSD Debug
Info.log).

We then ran gpsd with "gpsd -n /dev/ttyS0", as this is the serial
device it is attached to, as opposed to "gpsd -n /dev/ttyAMA0". "cgps"
gave sensible output. However, when we tried "ntpshmmon" we were only
seeing NTP0 data, no NTP1 data at all. We then ran "ipcs" and shmid 0
- 11 showed, with shm 0 & 1 having 600 perms, as expected and the rest
with 666 perms.We then ran "ppscheck /dev/ttyS0" which showed the
attached pps device was pps1, not the expected pps0. We then ran "ls
-al /dev/pps*" and saw both pps0 and pps1. When we killed gpsd, the
same command still showed pps0. However, at that point we noticed the
creation date was not today. These tests are attached (General.log).
As a verification, we rebooted the server and before doing anything to
do with gpsd, we again checked for /dev/pps* and found pps0 created.
This simple test is not in the log, but the pps0 device had a creation
date and time appropriate to the system reboot time. This seems to
indicate something in the startup of the system is grabbing this pps
device. We suspect this may be some remnant of previous systemd
operations but have no way of telling. Perhaps you could point us to
finding why this device is being created?

BR

Mick

Attachment: Compile.log
Description: Binary data

Attachment: GPSD Debug Info.log
Description: Binary data

Attachment: General.log
Description: Binary data


reply via email to

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