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
  my pinephone melted norayr 6 1,172 04-04-2024, 07:22 PM
Last Post: Zebulon Walton
  Pinephone refusing to charge while suspended tiol 1 1,207 04-02-2024, 10:54 AM
Last Post: joH_N_Doe64
  various tricks to open the pinephone shengchieh 2 838 03-23-2024, 09:27 AM
Last Post: Ferriah
  pinephone can provide more than 500mA to a usb-c displayport device? unrznbl 2 484 03-21-2024, 08:52 AM
Last Post: unrznbl
  pinephone keyboard + dock question tuxcall 7 3,137 02-05-2024, 03:17 PM
Last Post: wigan
  PinePhone Pro not booting (Cap error!, pctl timeout) jealda 2 1,547 11-16-2023, 05:03 AM
Last Post: DrYak
  Pinephone frame damages Uturn 2 1,145 10-23-2023, 02:49 AM
Last Post: Uturn
  PinePhone Keyboard KJ6OHG 11 8,540 08-23-2023, 03:25 AM
Last Post: Kali
  PinePhone constantly vibrating and won't take charge ImmyChan 5 5,670 07-23-2023, 03:49 PM
Last Post: kb-zealot
  Using optical drives with Pinephone cdforever 2 1,312 07-18-2023, 01:28 PM
Last Post: cdforever

Forum Jump:


Users browsing this thread: 2 Guest(s)