I will cut the bit out of the reinstall guide which has been working for bookworm and puremaps-osn scout server.
___________________________________________________________________________
GPS SETUP
(do the apt installs only if you didn't in the main guide)
scale the gui
Edit gpsd for the pinephone's modem/GPS connection in DEVICES="your modem"
------- add /dev/ttyUSB1 to devices---
restart and daemons
Setup geoclue
---- add in the “[Service]” section---
restart daemons
***Remember to turn ON navigation in the Settings app, under Privacy > Location Services***
Turning on Location services will get a mobile telephone network assist for AGPS as long as you have Internet too, if you are a privacy person you do not need to enable the Mozilla location service for AGPS to work as I show above.
I have found that puremaps seems to work best at triggering the GPS to take a fix and paired with OSM scout server so I can have my maps ready and offline, be sure to setup your maps before you travel
___________________________________________________________________________
GPS SETUP
Code:
sudo mmcli -m any --location-enable-gps-nmea --location-enable-gps-raw
(do the apt installs only if you didn't in the main guide)
Code:
sudo apt install gpsd gpsd-clients
scale the gui
Code:
scale-to-fit xgps on
scale-to-fit xgpsspeed on
Edit gpsd for the pinephone's modem/GPS connection in DEVICES="your modem"
Code:
sudo vi /etc/default/gpsd
Code:
DEVICES="/dev/ttyUSB1"
Code:
sudo systemctl start gpsd.service
sudo systemctl status gpsd.service
Setup geoclue
Code:
sudo vi /usr/lib/systemd/system/geoclue.service
Code:
Environment="G_MESSAGES_DEBUG=Geoclue"
restart daemons
Code:
sudo systemctl daemon-reload
sudo systemctl restart geoclue.service
***Remember to turn ON navigation in the Settings app, under Privacy > Location Services***
Turning on Location services will get a mobile telephone network assist for AGPS as long as you have Internet too, if you are a privacy person you do not need to enable the Mozilla location service for AGPS to work as I show above.
I have found that puremaps seems to work best at triggering the GPS to take a fix and paired with OSM scout server so I can have my maps ready and offline, be sure to setup your maps before you travel