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/
NoteUSB 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/ttyACM0and gpsd reads it directly.
cd GnssHat/examples/GpsdIntegration
sudo ./install.sh
This installs the bridge binary and creates a systemd service.
sudo systemctl start jpgnss2gpsd-bridge
sudo systemctl stop jpgnss2gpsd-bridge
sudo systemctl status jpgnss2gpsd-bridge
sudo journalctl -u jpgnss2gpsd-bridge -f
Edit /etc/default/gpsd:
START_DAEMON="true"
USBAUTO="false"
DEVICES="/dev/jimmypaputto/gnss"
GPSD_OPTIONS="-n"
Then:
sudo systemctl restart gpsd
NoteThe bridge daemon should start before gpsd. The install script sets up the systemd dependency.
NoteThe bridge daemon and your application cannot both use the library simultaneously — only one process can access the SPI/UART interface at a time.