Unsatisfactory GPS reception on PinePhone?
#21
(12-16-2020, 08:23 AM)Benatti Wrote:
(12-15-2020, 06:55 AM)Benatti Wrote: Estive tentando habilitar gps no meu pinephone 32G emmc / 3G RAM e não funcionou, observei que quando uso um "gps usb dongle" nele aparece /dev/ttyACM0 e /dev/gps0 e os programas marble e foxtrotgps funcionam e sem o "gps usb dongle" nós temos /dev/ttyUSB1 (gps) mas não temos /dev/ttyS1. Parece que o /dev/ttyS1 está fazendo falta para o gpsd, sendo que a saída de gpsmon é quase a mesma com ou sem "gps usb dongle".
Teria um comando AT para habilitar renomear ou criar /dev/ttyS1 e ver se resolve o problema?
Também encontrei diferença no funcionamento do foxtrot editando /etc/default/gpsd em DEVICES="/dev/ttyUSB1"
agradeço a atenção de todos.
esqueci de mencionar que estou usando mobian.
Sorry if I misunderstand the question - I had to use google translate

I may have missed some changes to Mobian, so the information below may be out of date. I may also be wrong.

Mobian normally uses ModemManager and Geoclue for location. It doesn't include configuration for gpsd on PinePhone so you would have to do that yourself. You would also need to stop ModemManager connecting to the gps port - something like:
Code:
mmcli -m 0 --location-disable-gps-nmea
mmcli -m 0 --location-enable-gps-unmanaged
The port should now be available for gpsd to connect to.
PostmarketOS used /etc/gpsd/device-hook to turn the gps on when needed. It may be possible to use this in Mobian to do this switching automatically when a client connects to gpsd.
  Reply


Messages In This Thread
RE: Unsatisfactory GPS reception on PinePhone? - by wibble - 12-16-2020, 07:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone - broken power button rorus 14 23,247 05-17-2026, 03:52 PM
Last Post: EuvzO8
  Pinephone + Keyboard for sale, little use ruemoo 15 10,787 03-05-2026, 10:14 AM
Last Post: diazman39
  PinePhone 16 GB – Free to a Good Home Anna 2 1,353 01-20-2026, 01:43 PM
Last Post: Anna
Bug PinePhone modem keeps "disappearing" Kevin Kofler 17 19,219 12-12-2025, 03:27 AM
Last Post: biketool
Sad PinePhone USB-C port and audio jack failure Kevin Kofler 4 7,567 12-11-2025, 08:57 AM
Last Post: jakfish
  Recycling pinephone as home server mdk 6 2,741 12-01-2025, 02:57 AM
Last Post: mdk
  PinePhone, PinePhone Pro, Keyboard/Accessories for sale brb78 5 2,044 11-30-2025, 05:45 AM
Last Post: biketool
  Modem Issues with the Pinephone Temmie19 5 5,458 07-02-2025, 12:50 PM
Last Post: biketool
Question Third-party cheap touchscreen/LCD for the Pinephone - lost knowledge? mikeb 2 3,870 06-21-2025, 05:19 PM
Last Post: mikeb
  Pinephone not booting sd card... bruv 1 2,830 03-25-2025, 08:51 PM
Last Post: Kevin Kofler

Forum Jump:


Users browsing this thread: 3 Guest(s)