Unsatisfactory GPS reception on PinePhone?
#28
(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.
  Reply


Messages In This Thread
RE: Unsatisfactory GPS reception on PinePhone? - by Benatti - 12-24-2020, 11:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone + Keyboard for sale, little use ruemoo 8 1,908 05-11-2025, 07:51 AM
Last Post: FONJGS55
  Modem Issues with the Pinephone Temmie19 3 1,145 04-07-2025, 03:32 AM
Last Post: biketool
  Pinephone not booting sd card... bruv 1 397 03-25-2025, 08:51 PM
Last Post: Kevin Kofler
Question Third-party cheap touchscreen/LCD for the Pinephone - lost knowledge? mikeb 0 587 02-05-2025, 01:39 PM
Last Post: mikeb
  Pinephone - broken power button rorus 13 13,448 12-16-2024, 08:32 PM
Last Post: tllim
  various tricks to open the pinephone shengchieh 3 2,067 09-16-2024, 03:42 AM
Last Post: biketool
  my pinephone melted norayr 6 3,159 04-04-2024, 07:22 PM
Last Post: Zebulon Walton
  Pinephone refusing to charge while suspended tiol 1 2,103 04-02-2024, 10:54 AM
Last Post: joH_N_Doe64
  pinephone can provide more than 500mA to a usb-c displayport device? unrznbl 2 1,616 03-21-2024, 08:52 AM
Last Post: unrznbl
  pinephone keyboard + dock question tuxcall 7 5,632 02-05-2024, 03:17 PM
Last Post: wigan

Forum Jump:


Users browsing this thread: 1 Guest(s)