Pine64-Arch icon indicating copy to clipboard operation
Pine64-Arch copied to clipboard

GPS not works

Open juanantoniomosquera opened this issue 3 years ago • 17 comments

Hello,

I try GPS and... not works.

I try: image

And: image

But... with data mobile and gps "enabled" not geolocalization.

Thanks.

juanantoniomosquera avatar Nov 30 '20 06:11 juanantoniomosquera

With latest system updates 5.10.6-2-danctnix, gps does not deliver any location information: `mmcli -m any --location-get

3GPP | operator code: 228 | operator name: 3 | location area code: FFFE | tracking area code: BB84 | cell id: 002BD002 `

Lin-Admin avatar Jan 16 '21 09:01 Lin-Admin

with last update... location-get works... but.. without wifi enable... not works gps.

juanantoniomosquera avatar Jan 16 '21 13:01 juanantoniomosquera

@juanantoniomosquera: With my phone it makes no difference whether wifi is on or off: GPS looks dead...

Lin-Admin avatar Jan 19 '21 16:01 Lin-Admin

With latest system updates 5.10.6-2-danctnix, gps does not deliver any location information: `mmcli -m any --location-get

3GPP | operator code: 228 | operator name: 3 | location area code: FFFE | tracking area code: BB84 | cell id: 002BD002 `

Hi there, what is the expected ouptput to prove the location services?

I get the following output:

root@pinephone:~# mmcli -m any --location-status

Location | capabilities: 3gpp-lac-ci, gps-raw, gps-nmea, agps-msa, agps-msb | enabled: 3gpp-lac-ci | signals: no

root@pinephone:~# mmcli -m any --location-get

3GPP | operator code: 262 | operator name: 1 | location area code: FFFE | tracking area code: 35E9 | cell id: 01959104

Location | capabilities: 3gpp-lac-ci, gps-raw, gps-nmea, agps-msa, agps-msb | enabled: 3gpp-lac-ci | signals: no

root@pinephone:~# mmcli -m any --location-set-enable-signal successfully setup location gathering

root@pinephone:~# mmcli -m any --location-status

Location | capabilities: 3gpp-lac-ci, gps-raw, gps-nmea, agps-msa, agps-msb | enabled: 3gpp-lac-ci | signals: yes

Turning on signals makes no difference:

root@pinephone:~# mmcli -m any --location-get

3GPP | operator code: 262 | operator name: 1 | location area code: FFFE | tracking area code: 35E9 | cell id: 01959104

Afterwards:

root@pinephone:~# sudo mmcli -m any --location-enable-gps-nmea successfully setup location gathering

root@pinephone:~# mmcli -m any --location-status

Location | capabilities: 3gpp-lac-ci, gps-raw, gps-nmea, agps-msa, agps-msb | enabled: 3gpp-lac-ci, gps-nmea | signals: yes

GPS | refresh rate: 30 seconds

root@pinephone:~# mmcli -m any --location-get

3GPP | operator code: 262 | operator name: 1 | location area code: FFFE | tracking area code: 35E9 | cell id: 01959104

GPS | nmea: $GPGSA,A,1,,,,,,,,,,,,,,,,32 | $GPRMC,,V,,,,,,,,,,N53 | $GPVTG,,T,,M,,N,,K,N*2C | $GPGGA,,,,,,0,,,,,,,,*66

But no success, the navigation map and gnome-weather can not find the gps service :-(

abysso2 avatar Feb 01 '21 20:02 abysso2

image

But not works, gnome maps says "Enable ubication" but i dont know.

juanantoniomosquera avatar Feb 03 '21 07:02 juanantoniomosquera

`GPS | nmea: $GPGSA,A,1,,,,,,,,,,,,,,,,32

  | $GPRMC,,V,,,,,,,,,,N53

  | $GPVTG,,T,,M,,N,,K,N*2C

  | $GPGGA,,,,,,0,,,,,,,,*66`

Above output proves that the GPS does not detect any satellites. For a location fix you need at least 4, but below 6 the accuracy will not be good.

Lin-Admin avatar Feb 03 '21 09:02 Lin-Admin

NOW

image

But... gnome maps not works.

juanantoniomosquera avatar Feb 03 '21 10:02 juanantoniomosquera

I think that the phone antenna is real bad!

jackghg avatar Feb 10 '21 13:02 jackghg

@Danct12 : Any idea how to solve this? Smartphone without GPS is not thaaaaat good as a daily driver ...

abysso2 avatar Mar 01 '21 07:03 abysso2

A possible reason could be that the antenna is bent around the edge! But idk how to move the antenna (that is a sticker) to test... without breaking everything.

jackghg avatar Mar 24 '21 14:03 jackghg

Switched to latest mobian and tested - gps works there ...

abysso2 avatar Mar 24 '21 18:03 abysso2

really ? how long to get the position (without internet) ?

jackghg avatar Mar 25 '21 09:03 jackghg

Less than 30 Seconds to get the signal, but the (in the beginnig) BAD accuracy increases within 5 minutes ...

abysso2 avatar Mar 25 '21 10:03 abysso2

I can get location to work in GNOME maps app however that is a full desktop app and it runs off the page in portrait so better in landscape. However the location button in notifications is always off ie you cannot toggle on or off their.

jsarkari01 avatar Mar 24 '22 18:03 jsarkari01

location is functional via Mepo maps on sxmo.

hamblingreen1 avatar Sep 06 '22 06:09 hamblingreen1

Somehow, it is only possible to get the GPS position (real precise position, not IP based or through GSM) when being connected to the internet. @Danct12 Do you have any idea how to get GPS work properly on PPP?

AgentSmith0 avatar Sep 29 '23 14:09 AgentSmith0

Nevermind, GPS works fine when manually enabling the modem and GPS via mmcli. Also geoclue needs to be manually started to get position data in Pure Maps.

AgentSmith0 avatar Sep 30 '23 09:09 AgentSmith0