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
Sad PinePhone USB-C port and audio jack failure Kevin Kofler 2 482 07-09-2025, 02:04 PM
Last Post: georgegohl888
  Modem Issues with the Pinephone Temmie19 5 1,737 07-02-2025, 12:50 PM
Last Post: biketool
Question Third-party cheap touchscreen/LCD for the Pinephone - lost knowledge? mikeb 2 1,150 06-21-2025, 05:19 PM
Last Post: mikeb
  Pinephone + Keyboard for sale, little use ruemoo 9 2,947 06-10-2025, 09:25 PM
Last Post: skaffi
  Pinephone not booting sd card... bruv 1 773 03-25-2025, 08:51 PM
Last Post: Kevin Kofler
  Pinephone - broken power button rorus 13 14,728 12-16-2024, 08:32 PM
Last Post: tllim
  various tricks to open the pinephone shengchieh 3 2,483 09-16-2024, 03:42 AM
Last Post: biketool
  my pinephone melted norayr 6 3,706 04-04-2024, 07:22 PM
Last Post: Zebulon Walton
  Pinephone refusing to charge while suspended tiol 1 2,359 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,958 03-21-2024, 08:52 AM
Last Post: unrznbl

Forum Jump:


Users browsing this thread: 2 Guest(s)