Unsatisfactory GPS reception on PinePhone?
#31
I probably need to retry some of this stuff so I can be sure it still works as it used to. I should probably try updating the modem firmware and checking that the GPS still works the same way too - I'm still on the version that came with the Brave Heart.

I didn't enable agps-msa or agps-msb except when I tried using ModemManager's agps enabling methods. They didn't work which is why I tried the AT command based route, which did work. From what I can tell ModemManager uses the generic Qualcomm interface for this, and I guess it doesn't work with Quectel's implementation.

When testing the AGPS loading script I stopped ModemManager and connected to the two serial interfaces with picocom. Other serial consoles are available - just remember that you need to enable local echo on the command interface or you won't see what commands you're sending. This will let you check almost all of that the script does manually and get used to what you ought to be seeing from the scripted commands. You can then disconnect from the command interface and use the script. Only when I could see the AGPS data loading was working and improving the fix speed and stability did I restart ModemManager, then write a wrapper script to do the stop, load and restart. If you're having trouble then go back to the basics and make sure they're working before adding complications like ModemManager. All this was usually done via ssh over WiFi for easier typing, using Mobian with automatic sleep disabled.

The script was pretty reliable for me with the phone indoors by a window, and consistently significantly better than without AGPS, but not 100%. This is in the nature of GPS - the sats are constantly moving so there's an element of chance as to whether you get a favourable or unfavourable condition for your test. At the very least you should be seeing sats in the NMEA messages, even if you don't get a lock. Before trying the AGPS I could see sats, and if I was lucky I'd get a lock in a similar time to a Garmin Geko 201 doing a cold start. If you don't see any sats at all then something's not right.

At best I was getting a fix within a few seconds of running the AGPS loading script, and that's indoors by a window.
  Reply


Messages In This Thread
RE: Unsatisfactory GPS reception on PinePhone? - by wibble - 01-07-2021, 11:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone not booting sd card... bruv 1 179 03-25-2025, 08:51 PM
Last Post: Kevin Kofler
Question Third-party cheap touchscreen/LCD for the Pinephone - lost knowledge? mikeb 0 433 02-05-2025, 01:39 PM
Last Post: mikeb
  Pinephone + Keyboard for sale, little use ruemoo 5 1,290 01-15-2025, 07:59 PM
Last Post: elonnmusk
  Pinephone - broken power button rorus 13 12,833 12-16-2024, 08:32 PM
Last Post: tllim
  Modem Issues with the Pinephone Temmie19 2 749 10-16-2024, 07:54 AM
Last Post: Temmie19
  various tricks to open the pinephone shengchieh 3 1,887 09-16-2024, 03:42 AM
Last Post: biketool
  my pinephone melted norayr 6 2,867 04-04-2024, 07:22 PM
Last Post: Zebulon Walton
  Pinephone refusing to charge while suspended tiol 1 1,952 04-02-2024, 10:54 AM
Last Post: joH_N_Doe64
  pinephone can provide more than 500mA to a usb-c displayport device? unrznbl 2 1,405 03-21-2024, 08:52 AM
Last Post: unrznbl
  pinephone keyboard + dock question tuxcall 7 5,310 02-05-2024, 03:17 PM
Last Post: wigan

Forum Jump:


Users browsing this thread: 2 Guest(s)