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
Bug PinePhone modem keeps "disappearing" Kevin Kofler 18 14,811 12-12-2025, 05:23 AM
Last Post: RobinHayes
Sad PinePhone USB-C port and audio jack failure Kevin Kofler 5 6,081 12-11-2025, 08:57 AM
Last Post: jakfish
  Recycling pinephone as home server mdk 6 871 12-01-2025, 02:57 AM
Last Post: mdk
  Pinephone + Keyboard for sale, little use ruemoo 11 6,178 11-30-2025, 06:29 AM
Last Post: biketool
  PinePhone, PinePhone Pro, Keyboard/Accessories for sale brb78 5 592 11-30-2025, 05:45 AM
Last Post: biketool
  Modem Issues with the Pinephone Temmie19 5 3,941 07-02-2025, 12:50 PM
Last Post: biketool
Question Third-party cheap touchscreen/LCD for the Pinephone - lost knowledge? mikeb 2 2,770 06-21-2025, 05:19 PM
Last Post: mikeb
  Pinephone not booting sd card... bruv 1 2,100 03-25-2025, 08:51 PM
Last Post: Kevin Kofler
  Pinephone - broken power button rorus 13 18,118 12-16-2024, 08:32 PM
Last Post: tllim
  various tricks to open the pinephone shengchieh 3 4,061 09-16-2024, 03:42 AM
Last Post: biketool

Forum Jump:


Users browsing this thread: 1 Guest(s)