How to read GNSS location data on Pinephone
#1
So I recently bought myself a Pinephone with the aim to use it in one of my projects. I need to read the location data and relay it to another computer. How does one go about getting the location data from the command line interface, CLI?
  Reply
#2
What level are you looking at, and on which OS?
Basic low level access via the modem's USB serial interfaces is described in the wiki, with links to Quectel's GNSS AT commands:
https://wiki.pine64.org/wiki/PinePhone#GPS_.2F_GNSS
Most OS flavours have another layer running to mediate access to the modem and/or GNSS though - ModemManager or oFono for the modem, and geoclue and/or gpsd for the GNSS data. They may have other mechanisms for doing some setup too - eg25-manager has certainly done things with GNSS configuration at times. You can either access it via these mediators (mmcli location commands for example) or stop those services before accessing the USB ports directly.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Video Questions about filming video with the Pinephone MirceaKitsune 11 16,577 02-10-2026, 07:46 AM
Last Post: georgegohl888
  PinePhone 16 GB – Free to a Good Home Anna 2 570 01-20-2026, 01:43 PM
Last Post: Anna
  Pinephone + Keyboard for sale, little use ruemoo 12 7,025 12-28-2025, 02:13 PM
Last Post: PinePhoneProUser
Bug PinePhone modem keeps "disappearing" Kevin Kofler 17 15,964 12-12-2025, 03:27 AM
Last Post: biketool
Sad PinePhone USB-C port and audio jack failure Kevin Kofler 5 6,572 12-11-2025, 08:57 AM
Last Post: jakfish
  Recycling pinephone as home server mdk 6 1,352 12-01-2025, 02:57 AM
Last Post: mdk
  PinePhone, PinePhone Pro, Keyboard/Accessories for sale brb78 5 944 11-30-2025, 05:45 AM
Last Post: biketool
  Modem Issues with the Pinephone Temmie19 5 4,318 07-02-2025, 12:50 PM
Last Post: biketool
Question Third-party cheap touchscreen/LCD for the Pinephone - lost knowledge? mikeb 2 3,032 06-21-2025, 05:19 PM
Last Post: mikeb
  Pinephone not booting sd card... bruv 1 2,277 03-25-2025, 08:51 PM
Last Post: Kevin Kofler

Forum Jump:


Users browsing this thread: 1 Guest(s)