ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #11828
Re: GPS problems on bq Aquaris
A less intrusive way is to run:
ubuntu-location-serviced-cli --bus system --get --property
visible_space_vehicles
which gives you all the visible gps satellites:
Visible space vehicles:
(type: gps, prn: 2, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 23 deg, elevation: 235 deg)
(type: gps, prn: 5, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 54 deg, elevation: 291 deg)
(type: gps, prn: 6, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 1 deg, elevation: 197 deg)
(type: gps, prn: 7, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 61 deg, elevation: 69 deg)
(type: gps, prn: 9, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 28 deg, elevation: 91 deg)
(type: gps, prn: 10, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 49 deg, elevation: 161 deg)
(type: gps, prn: 13, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 27 deg, elevation: 272 deg)
(type: gps, prn: 16, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 7 deg, elevation: 23 deg)
(type: gps, prn: 20, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 65 deg, elevation: 199 deg)
(type: gps, prn: 28, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 11 deg, elevation: 155 deg)
(type: gps, prn: 30, snr: 0, has_almanac_data: 0, has_ephimeris_data:
0, used_in_fix: 0, azimuth: 73 deg, elevation: 163 deg)
In addition, you could also run a standalone, cli-based gps test case
(please note that you need to restart your device after having run
it):
phablet@ubuntu-phablet:~$ sudo GLOG_v=1000 GLOG_logtostderr=1
ubuntu-location-serviced-cli --bus system --test
The test will try to acquire a fix from GPS only 3 times from cold
start, and print out diagnostics together with a summary containing
the mean/std.dev. of time to first fix. You will receive example
output like: http://pastebin.ubuntu.com/10729507/
Hope that helps,
Thomas
On Fri, Apr 3, 2015 at 11:35 AM, Thomas Voß <thomas.voss@xxxxxxxxxxxxx> wrote:
> Hey there,
>
> glad to hear you like the phone. Now for the logs:
>
> /var/log/ubuntu-location-service*
>
> would help in tracking down any potential issues. If you are happy to
> alter a config file, please edit:
>
> /etc/init/ubuntu-location-service.override
>
> and add the following two lines before the exec line:
>
> export GLOG_v=100
> export GLOG_logtostderr=1
>
> and reboot the phone. After having tried to acquire a position, the
> same log files as mentioned before contain very verbose information
> about the GPS operation.
>
> Feel free to also reach out to me on freenode, my nick is tvoss.
>
> Thanks,
>
> Thomas
>
> On Fri, Apr 3, 2015 at 10:03 AM, Roberto Resoli <roberto@xxxxxxxxxxxxxx> wrote:
>> Il 03/04/2015 09:23, Matthias Apitz ha scritto:
>>> El día Friday, April 03, 2015 a las 08:45:06AM +0200, Roberto Resoli escribió:
>>>
>>>> My only big issue is with the GPS; I'm never been able to aquire a
>>>> stable fix, even leaving the phone outside for several hours. Location
>>>> service seems only to use network based methods.
>>>>
>>>> Is there a way to track the problem, monitoring the status of GPS fix
>>>> (number of satellites, etc.)? Even a simple text log would be sufficent.
>>>
>>> There is an app called SensorsStatus which gives some of the GPS
>>> information (not the numbers of sats); at least it would show you if you
>>> get a fix;
>>
>> Yes, i tried both "Sensors Status" and "Location Test", but they are
>> more or less "yes-no" apps, giving little o no information about the
>> process of getting a fix.
>>
>> Sensors Status gave me a copule of times indication that a fix was
>> aquired indeed, but with very bad precision, and with no z axis positioning.
>>
>>>in general, the apps I found until now are more for consumer
>>> minded people, then for tech folks :-)
>>
>> Yes, definitely i don't need a full featured graphical app (wich surely
>> will arrive over time), but a text log with selectable verbosity that
>> could help to track the fixing process.
>>
>>> but we have the terminal app and we have SSH, and sudo...
>>
>> yes!
>>
>> bye
>> rob
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help : https://help.launchpad.net/ListHelp
Follow ups
References