Unsatisfactory GPS reception on PinePhone?
#29
(12-24-2020, 11:40 AM)Benatti Wrote:
(12-22-2020, 04:14 AM)calinb Wrote:
(12-18-2020, 10:56 AM)Benatti Wrote:
Agradeço a atenção de todos, mas não consegui fazer funcionar ainda, vou continuar tentando e se funcionar aviso por aqui.

Google translation:
I appreciate everyone's attention, but I haven't been able to make it work yet, I will keep trying and if it works, notice here.
I am sorry it does not work for you. Based on mmcli commands, my phone GPS is not as sensitive as my other phones and it has trouble receiving sufficiently strong signals from satellites to find a position unless it has a very clear view of the sky.
Olá pessoal, finalmente o gps do pinephone está funcionando, vamos ao passo a passo:
1 Instalei kde-marble, foxtrotgps, gpsd e gpsd-clients.

2 Editei o arquivo com o comando: sudo nano /etc/default/gpsd para ficar como assim:

# Devices gpsd should collect to at boot time.
# They need to be read/writeable, either by user gpsd or the group dialout.
DEVICES="$GPS_LINE /dev/ttyUSB1"

# Other options you want to pass to gpsd
GPSD_OPTIONS=""

# Automatically hot add/remove USB GPS devices via gpsdctl
USBAUTO="true"
GPS_LINE=/dev/ttyUSB1

Nos testes que eu fiz, demorou bastante para funcionar a primeira vez, e constatei que com o celular exposto ao sol ele pega sinal mais rapido, parece que com o aquecimento do aparelho ele melhora a sensibilidade, quando o aparelho está frio não pegou sinal de satélite.

Não é preciso realizar os comandos :
sudo mmcli -m 0 --location-enable-agps-msb
sudo mmcli -m 0 --location-enable-gps-raw
sudo mmcli -m 0 --location-enable-gps-nmea
sudo mmcli -m 0 --location-get
sudo mmcli -m 0 --location-status

Sem acionar estes comandos foi só abrir o programa navegador de gps, eu testei tanto com marble quanto foxtrotgps e depois de algum tempo funcinou normalmente.

Sugiro o marble, parece que esta mais maduro. Consegui marcar ponto de saida e ponto de chegada, definir rota, ele realça a rota no mapa e falta viajar para teste de estrada com ele, mas isto vai demorar.

Voce pode usar o cabo serial/usb e monitorar no notebook com o programa cgps ou gpsmon no terminal, para verificar o andamento do processo de descoberta de satélites do gpsd.
Abraços, e boa passagem de ano a todos.
Smile  I am happy to hear it is working! Thanks for the report. Very interesting about the cold. It was cold outside (Idaho, USA winters...brrrr) when I had problems too.

(12-23-2020, 06:42 PM)wibble Wrote: You should investigate navit, or Pure Maps with the companion OSMScoutServer for caching map data, but both require a bit of manual configuration still. There's a fair bit on navit in this thread:
https://forum.pine64.org/showthread.php?tid=10697
Thanks for the link, wibble!
  Reply


Messages In This Thread
RE: Unsatisfactory GPS reception on PinePhone? - by calinb - 12-27-2020, 07:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  my pinephone melted norayr 6 905 04-04-2024, 07:22 PM
Last Post: Zebulon Walton
  Pinephone refusing to charge while suspended tiol 1 1,095 04-02-2024, 10:54 AM
Last Post: joH_N_Doe64
  various tricks to open the pinephone shengchieh 2 716 03-23-2024, 09:27 AM
Last Post: Ferriah
  pinephone can provide more than 500mA to a usb-c displayport device? unrznbl 2 349 03-21-2024, 08:52 AM
Last Post: unrznbl
  pinephone keyboard + dock question tuxcall 7 2,845 02-05-2024, 03:17 PM
Last Post: wigan
  PinePhone Pro not booting (Cap error!, pctl timeout) jealda 2 1,403 11-16-2023, 05:03 AM
Last Post: DrYak
  Pinephone frame damages Uturn 2 1,001 10-23-2023, 02:49 AM
Last Post: Uturn
  PinePhone Keyboard KJ6OHG 11 8,154 08-23-2023, 03:25 AM
Last Post: Kali
  PinePhone constantly vibrating and won't take charge ImmyChan 5 5,462 07-23-2023, 03:49 PM
Last Post: kb-zealot
  Using optical drives with Pinephone cdforever 2 1,209 07-18-2023, 01:28 PM
Last Post: cdforever

Forum Jump:


Users browsing this thread: 3 Guest(s)