← Back to team overview

ubuntu-phone team mailing list archive

Re: bq Aquaris E4.5: GPS doesn't work

 

On 04/26/2015 10:20 AM, Ed Kapitein wrote:
On 04/26/15 06:20, Thomas Voß wrote:
sudo GLOG_v=1000 GLOG_logtostderr=1 ubuntu-location-serviced-cli
--bus system --test

Hi Thomas,

I will send you the logs off-list.
What happened is that the information provided by ubuntu-location-serviced-cli
seems to be no longer refreshed.
I keep getting the same readings over and over again.
For example i get:
(type: gps, prn: 20, snr: 26, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 0 de
g, elevation: 0 deg)
Time and time again.
The snr value is there and never changes, and the azimuth and elevation remain zero.
That seems odd.

Kind regards,
Ed



Hi Thomas,

After a while waiting for a fix, i checked dmesg ( see below ) and it seems that the GPS is turned off for some reason. Lock is set to never and gps is switched on and the "sensorstats" app is running in the foreground.
Does this seem normal?

Kind regards,
Ed

[ 1983.421042] [WMT-CTRL][W]wmt_ctrl_rx:wmt_ctrl_rx be signaled, but no rx data(200) [ 2087.623130] [WMT-CTRL][W]wmt_ctrl_rx:wmt_ctrl_rx be signaled, but no rx data(200) [ 2094.421398] [WMT-CTRL][W]wmt_ctrl_rx:wmt_ctrl_rx be signaled, but no rx data(200)
[ 2098.026744] [GPS] GPS_read: signaled by -ERESTARTSYS(-512)
[ 2098.026751] GPS_close: major 191 minor 0 (pid 18474)
[ 2098.028420] Flush type = 2 Rx Queue
[ 2098.056978] [WMT-CTRL][I]wmt_ctrl_gps_sync_set:ctrl GPS_SYNC(7)
[ 2098.056999] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:ctrl GPS_SYNC_SET(1) ok
[ 2098.057436] [WMT-IC][I]mtk_wcn_soc_pin_ctrl:ret = (0)
[ 2098.057457] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:set reg for GPS_SYNC function okay by chip ic_pin_ctrl [ 2098.057470] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:ctrl combo chip gps sync function succeed
[ 2098.057481] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:host pin used for gps lna
[ 2098.057493] [WMT-CTRL][I]wmt_ctrl_gps_lna_set:ctrl GPS_LNA(7)
[ 2098.057512] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:ctrl host gps lna function succeed [ 2098.058450] [WMT-CTRL][I]wmt_ctrl_bgw_desense_ctrl:wmt-ctrl:send native cmd(0) [ 2098.058468] [BGW] send_command_to_daemon: here we will send command to native daemon
[ 2098.058478] [BGW] send_command_to_daemon: invalid native process pid
[ 2098.058496] [WMT-CORE][I]wmt_core_dump_func_state:[AF FUNC OFF]status(b:0 f:0 g:0 w:2 lpbk:0 coredump:0 wmt:2 stp:0)
[ 2098.058579] [GPS] GPS_close: WMT turn off GPS OK!



References