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 28 4,063 06-09-2024, 04:39 AM
Last Post: anonymous
  PureMaps and OSM Scout Server maps download biketool 6 3,006 01-08-2024, 04:11 AM
Last Post: vusra
  wwan0 (SIM interface) doesn't work with OpenVPN nickolas 6 2,404 09-05-2023, 11:16 AM
Last Post: nickolas
  Mobian boot failed with zstd message after upgrade. Mahgue 0 779 09-01-2023, 11:29 AM
Last Post: Mahgue
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 3,424 08-31-2023, 12:38 PM
Last Post: vusra
  Chatty does not work after suspend mode user641 4 2,173 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  Wifi doesn't work after update nickolas 2 1,388 04-14-2023, 10:07 AM
Last Post: nickolas
  [GPS] PureMaps with OsmScoutServer, Localization precision and Maps freelectro 2 1,415 03-21-2023, 04:17 AM
Last Post: freelectro
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 2,462 03-01-2023, 04:45 PM
Last Post: anonymous
  Most recent Mobian image or installer image known to work? DrPlamsa 13 5,527 02-26-2023, 11:47 PM
Last Post: SukiiPooru

Forum Jump:


Users browsing this thread: 1 Guest(s)