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 47 13,858 03-12-2025, 04:43 PM
Last Post: dragonhospital
  Full disk encryption with calamares: beware of last testing upgrade! mdk 3 534 02-21-2025, 07:25 AM
Last Post: dragonhospital
  Upgrade to Mobian (Trixie) Staging biketool 13 1,964 12-29-2024, 10:35 AM
Last Post: biketool
  Alarm clock doesn’t work Captain1ndustry 13 18,907 12-15-2024, 07:07 PM
Last Post: baptx
  PureMaps and OSM Scout Server maps download biketool 7 5,401 10-04-2024, 04:25 AM
Last Post: vusra
  wwan0 (SIM interface) doesn't work with OpenVPN nickolas 6 3,801 09-05-2023, 11:16 AM
Last Post: nickolas
  Mobian boot failed with zstd message after upgrade. Mahgue 0 1,219 09-01-2023, 11:29 AM
Last Post: Mahgue
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 7,052 08-31-2023, 12:38 PM
Last Post: vusra
  Chatty does not work after suspend mode user641 4 3,367 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  Wifi doesn't work after update nickolas 2 2,151 04-14-2023, 10:07 AM
Last Post: nickolas

Forum Jump:


Users browsing this thread: 2 Guest(s)