How to set-up GNSS USB dongle

So I have setup udev rules, which do work:

$ cat /etc/udev/rules.d/80-ublock-gnss.rules 
# Rules to make u-blox M8030 work
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a8", ENV{ID_MM_DEVICE_IGNORE}="1"
ACTION=="add", ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a8", SYMLINK+="gnssusb"

I also have set device_path="/dev/gnssusb" in /etc/gnss-share.conf.
But it does not help, still the same result.

Further I tried this recommendation:

But the symptoms are a bit different: cat /dev/gnssusb gives always NMEA data out if I plug the USB GPS dongle in. Although sudo socat unix:///var/run/gnss-share.sock - stays always silent :frowning:

I’m testing with satellite as well as with /usr/libexec/geoclue-2.0/demos/where-am-i. I started gnss-share manually to obtain the log:

~ > sudo gnss-share -d
Starting GNSS server, accepting connections at:  /var/run/gnss-share.sock
stm sending resume
write:  $PSTMGPSRESTART,*25
Client connected
Checking date/time on module...
Client connected
error: stm unable to set time: stm/setTime: timed out waiting for device
Client disconnected
2 Likes