promeneur opened issue #261: geoclue connected to gpsd but it seems gpsd does not send nmea sentences at gpsd / gpsd

promeneur
2023-11-26T07:29:53Z

openSUSE Tumbleweed geoclue 2.7.1 gpsd 3.25

usb dongle DIYmalls G72 G-Mouse

https://www.amazon.fr/dp/B07SMRXSC8

1546:01a8 U-Blox AG [u-blox 8]

The device by default sends nemea sentences.

gspd is started with "-Gn" options

I checked that xgps and KDE marble acquire the location that gpsd supplies.

I ran

avahi-publish-address grincheux.local 127.0.0.1 avahi-publish-service -H grincheux.local NMEA_SOURCE _nmea-0183._tcp 2947 accuracy=exact

I ran sudo G_MESSAGES_DEBUG=Geoclue /usr/libexec/geoclue

We see that geoclue connects to gpsd but does not receive any nmea sentences then it uses only WIFI source.

17:38:14.720: 'geoclue-where-am-i' started. (geoclue:28298): Geoclue-DEBUG: 17:38:14.728: NMEA service connected. (geoclue:28298): Geoclue-DEBUG: 17:38:14.728: Network source sent: "{"class":"VERSION","release":"3.25","rev":"3.25","proto_major":3,"proto_minor":15}"

I sent a report to geoclue tracker

https://gitlab.freedesktop.org/geoclue/geoclue/-/issues/182

I sent a report to u-blox