GPS/location services don't work with Maps after Bookworm upgrade
#15
gitlab.freedesktop.org is back, apparently without data loss and thanks to Benjamin Tissoires and Daniel Stone.

I should also have mentioned the possibility of automating turning on the gps and perhaps doing the agps data bit for applications using gpsd rather than geoclue. From the gpsd man page:
When a device is activated (i.e. a client requests data from it), gpsd attempts to execute a hook from /etc/gpsd/device-hook with first
command line argument set to the pathname of the device and the second to ACTIVATE. On deactivation it does the same passing DEACTIVATE
for the second argument.
PmOS has used this to turn the gps on and off in the past. With mmcli (and sudo unless there's a polkit permission change) the options location-enable-gps-unmanaged and location-disable-gps-unmanaged can do this without modemmanager grabbing the serial port for the nmea data before gpsd can - from the mmcli man page:
--location-enable-gps-unmanaged
Enable location discovery using GPS but without taking control of the NMEA tty port. This allows other programs, e.g. gpsd, to use
the NMEA tty once the GPS engine has been enabled.
The script should of course check whether one of the other gps sources is already enabled and the port already grabbed. There will no doubt be debate about which should get priority, how/whether this should be packaged, interaction with location preference in the settings gui etc. that will need sorting out. I don't know if gpsd has a mechanism to allow/deny access per application, but getting it working at all as a user installed option would be a start.
  Reply


Messages In This Thread
RE: GPS/location services don't work with Maps after Bookworm upgrade - by wibble - 06-13-2022, 09:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 39 8,076 10-15-2024, 01:12 PM
Last Post: anonymous
  PureMaps and OSM Scout Server maps download biketool 7 4,267 10-04-2024, 04:25 AM
Last Post: vusra
  Alarm clock doesn’t work Captain1ndustry 12 16,700 08-16-2024, 03:18 AM
Last Post: anonymous
  wwan0 (SIM interface) doesn't work with OpenVPN nickolas 6 3,110 09-05-2023, 11:16 AM
Last Post: nickolas
  Mobian boot failed with zstd message after upgrade. Mahgue 0 964 09-01-2023, 11:29 AM
Last Post: Mahgue
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 5,249 08-31-2023, 12:38 PM
Last Post: vusra
  Chatty does not work after suspend mode user641 4 2,745 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  Wifi doesn't work after update nickolas 2 1,765 04-14-2023, 10:07 AM
Last Post: nickolas
  [GPS] PureMaps with OsmScoutServer, Localization precision and Maps freelectro 2 1,756 03-21-2023, 04:17 AM
Last Post: freelectro
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 2,996 03-01-2023, 04:45 PM
Last Post: anonymous

Forum Jump:


Users browsing this thread: 3 Guest(s)