GPS/location services don't work with Maps after Bookworm upgrade
#10
before I try the fixes I want to see if my problem is normal, seems like permissions but not sure where to whitelist the modem/GPS.
Code:
mobian@mobian:~$ mmcli -m 0 --location-enable-gps-raw --location-enable-gps-nmea
error: couldn't setup location gathering: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unauthorized: PolicyKit authorization failed: not authorized for 'org.freedesktop.ModemManager1.Device.Control''
this is a clean bookworm install with /etc/apt/sources set to unstable.


(edit)
I appended 'org.freedesktop.ModemManager1.Device.Control' with a ; as a separator to the whitelist of desktop IDs in /etc/geoclue/geoclue.conf 
I see I can get a short and correct GPS fix on gnome maps now.


(edit 2)
yet when I
Code:
mobian@mobian:~$ watch -n 5 mmcli -m any --location-get
I get:
Code:
error: couldn't get location from the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unauthorized: PolicyKit authorization failed: not authorized for 'org.freedesktop.ModemManager1.Location''
so in gnome maps there was a moment where I had location within a few meters, then a telephone network general location within a few km, finally only a fix based upon my regional IP address; what is going on?

I will take a break and see if there are ideas; this is permissions I think, but where else can I fix them?

I feel like we either need to build-in the geolocation to the Mobian builds, maybe with a true/false enable toggle in a conf file or we need a Bookworm specific tested solution instructions in the wiki to get us everyday-drivers a working GPS solution. Right now there is too much incompatible mix of versions in most wiki how-to guides.
  Reply


Messages In This Thread
RE: GPS/location services don't work with Maps after Bookworm upgrade - by biketool - 05-26-2022, 03:18 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)