Skip to main content
GNSS Documentation
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

GPSD Daemon

The jpgnss2gpsd-bridge systemd service runs the library’s NMEA forwarding in the background, creating /dev/jimmypaputto/gnss as a stable device path for gpsd.

Source: examples/GpsdIntegration/

Note
USB Shortcut (L1 / RTK HAT only) — If your HAT has USB, you can skip the bridge entirely. Plug a USB cable from the HAT to the Pi. The module appears as /dev/ttyACM0 and gpsd reads it directly.

Installation

cd GnssHat/examples/GpsdIntegration
sudo ./install.sh

This installs the bridge binary and creates a systemd service.

Management

sudo systemctl start jpgnss2gpsd-bridge
sudo systemctl stop jpgnss2gpsd-bridge
sudo systemctl status jpgnss2gpsd-bridge
sudo journalctl -u jpgnss2gpsd-bridge -f

gpsd Configuration

Edit /etc/default/gpsd:

START_DAEMON="true"
USBAUTO="false"
DEVICES="/dev/jimmypaputto/gnss"
GPSD_OPTIONS="-n"

Then:

sudo systemctl restart gpsd
Note
The bridge daemon should start before gpsd. The install script sets up the systemd dependency.
Note
The bridge daemon and your application cannot both use the library simultaneously — only one process can access the SPI/UART interface at a time.