GPS/location services don't work with Maps after Bookworm upgrade
#1
Maps used to work OK on my phone. I could not really use it for navigation but it would show the current location (sometimes it took quite a while, sometimes it was 50 Kilometers off the mark, but it sort of worked.)

After upgrading to Bookworm a few weeks ago I noticed that Maps cannot find my location anymore. When I tap on the respective button in the lower left corner of Maps, a dialogue box opens that tells me to "turn on location services to find your location". The only  button (besides "Cancel") is "Location Settings" and it does not do anything.

However, the "Location Services" (when opened via Settings/Privacy) on my phone are switched on and tell me that "No Applications Have Aksed for Location Access".

How can I make Maps work again?
  Reply
#2
In recent releases of Mobian it seems they usually fix anything they do break, within one or two following nightly releases.
*(maybe you can just 'update' past this problem ?)

I have not tried the GPS Apps recently, * I am waiting for a GPS App that has no need for internet what-so-ever.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
  Reply
#3
It's probably worth reporting the regression - I didn't spot any issues that seemed like they would cover it.
  Reply
#4
(10-13-2021, 05:26 AM)wibble Wrote: It's probably worth reporting the regression - I didn't spot any issues that seemed like they would cover it.

Well, I am not sure whether it is a common problem that actually has to do with Bookworm -- I just happenend to notice it after the upgrade. Since I did not find anything on the topic in this forum I guess it might just be me who experiences the problems.

Could there be any settings I might change to connect Maps to the location services?
  Reply
#5
(10-13-2021, 10:01 AM)Anna Wrote:
(10-13-2021, 05:26 AM)wibble Wrote: It's probably worth reporting the regression - I didn't spot any issues that seemed like they would cover it.

Well, I am not sure whether it is a common problem that actually has to do with Bookworm -- I just happenend to notice it after the upgrade. Since I did not find anything on the topic in this forum I guess it might just be me who experiences the problems.

Could there be any settings I might change to connect Maps to the location services?

No, I dont think. Maps switches on the location services, as I see.
It can be checked using mmcli.
Before Maps started:
---
Code:
[+85%]root@mobian:~#mmcli --list-modems
    /org/freedesktop/ModemManager1/Modem/0 [Quectel] EG25
[+85%]root@mobian:~#mmcli -m 0  --location-get
[+85%]root@mobian:~#

After Maps started:
Code:
[+85%]root@mobian:~#mmcli -m 0  --location-get
  --------------------------
  3GPP |      operator code: 216
      |      operator name: 01
      | location area code: 0000
      | tracking area code: 001401
      |            cell id: 00003E16
[+85%]root@mobian:~#
  Reply
#6
(10-15-2021, 03:02 AM)l_gyuri Wrote: No, I dont think. Maps switches on the location services, as I see.

I always get the "3GPP | operator code:" result you posted whenever I do "--location-get" on Bookworm, no matter if I start Maps or not.

With Bullseye it is different: There I get the 3GPP result you posted only when Maps is NOT active.

When Maps is active, there is an additional "GPS | nmea:" section below the 3GPP section.
  Reply
#7
You may need to dig through the changes to ModemManager and eg25-manager between Bullseye and Bookworm then, and perhaps geoclue. I think there has been work on enabling GPS only when needed rather than all the time, and around AGPS data loading, so behaviour has probably changed and perhaps regressed.
  Reply
#8
(10-23-2021, 07:27 AM)Anna Wrote:
(10-15-2021, 03:02 AM)l_gyuri Wrote: No, I dont think. Maps switches on the location services, as I see.

I always get the "3GPP | operator code:" result you posted whenever I do "--location-get" on Bookworm, no matter if I start Maps or not.

With Bullseye it is different: There I get the 3GPP result you posted only when Maps is NOT active.

When Maps is active, there is an additional "GPS | nmea:" section below the 3GPP section.

I use Bookworm and I flashed Biktorg's latest modem firmware.

https://github.com/Biktorgj/pinephone_modem_sdk

After boot, the mobile 3GPP location service is on. After I start maps, the GPS is started and I see the 3GPP and the NMEA sentences.
Getting my location with maps works. After I quit maps, both services, the 3GPP and the GPS stop.

You can find info about the location services in the Mobian wiki:

https://wiki.mobian-project.org/doku.php?id=location
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help request: upgrade failed, locked out at decryption passphrase tiikeri 7 259 11-27-2021, 07:29 AM
Last Post: zetabeta
  Chatty, SMS does not work - could hardware be at fault? AntonReiser 37 1,957 11-19-2021, 08:19 AM
Last Post: AntonReiser
  Bookworm ragreenburg 101 13,769 11-14-2021, 10:38 PM
Last Post: quixote
  Mobian kernel upgrade user641 4 440 11-10-2021, 01:22 PM
Last Post: user641
  scp.bin not found, can't complete apt upgrade Hiraghm 1 222 10-16-2021, 07:29 PM
Last Post: Hiraghm
  Safe to upgrade Bookworm again? nelstomlinson 2 500 10-12-2021, 03:45 AM
Last Post: bcnaz
  Using new hub for Mobian "Bookworm" county93 7 1,044 10-11-2021, 11:32 AM
Last Post: county93
  Recipe for getting OpenVPN to work? county93 1 341 10-04-2021, 12:10 PM
Last Post: county93
  Mobian-installer on bookworm? juju 4 584 10-04-2021, 02:09 AM
Last Post: bcnaz
  kernel upgrade user641 2 453 09-13-2021, 08:26 AM
Last Post: user641

Forum Jump:


Users browsing this thread: 1 Guest(s)