Cannot get the location on first fresh boot unless user reboot the phone

Bug #1596409 reported by TarotChen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
Medium
Thomas Voß
location-service (Ubuntu)
New
Undecided
Unassigned

Bug Description

current build number: 114
device name: turbo
channel: ubuntu-touch/rc-proposed/meizu.en
last update: 2016-06-27 10:44:11
version version: 114
version ubuntu: 20160624
version device: 20160617-82a5c0d
version custom: 20160624-981-22-9

Steps:
1.Flash with latest image
2.Complete wizard and go to Nearby Scope
3.Pull down to refresh
4.Accept the location service prompt
5.Pull down nearby scope to refresh again

actual=>The animation at bottom disappears in 1s, then nothing happens, still default content ask user to enable location

6.Go to today scope and pull down to refresh

actual=>Location isn't detected

7.Open uNav app
8.Tap on center my location and accept the trust prompt

actual=>fail to get location

9.Reboot device
10.Try to get location on today scope/nearby scope/map apps

actual=>Location service works fine

Expected result:
Location should work well on first fresh boot

Other info:
Issue can also be reproduced on Krillin/Arale

TarotChen (tarotchen)
summary: - Nearby Scope cannot get the location
+ Device cannot get the location on first trust prompt
TarotChen (tarotchen)
description: updated
description: updated
Revision history for this message
TarotChen (tarotchen) wrote : Re: Device cannot get the location on first trust prompt
Download full text (3.8 KiB)

some logs from /var/log/syslog

Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.781506]GPS_open: major 191 minor 0 (pid 7964)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.806841][WMT-CTRL][I]wmt_ctrl_gps_sync_set:ctrl GPS_SYNC(4)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.806870][WMT-FUNC][I]wmt_func_gps_pre_ctrl:ctrl GPS_SYNC_SET(0) ok
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807322][WMT-IC][I]mtk_wcn_soc_pin_ctrl:ret = (0)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807342][WMT-FUNC][I]wmt_func_gps_pre_ctrl:set reg for GPS_SYNC function okay by chip ic_pin_ctrl
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807364][WMT-FUNC][I]wmt_func_gps_pre_ctrl:ctrl combo chip gps sync function succeed
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807383][WMT-FUNC][I]wmt_func_gps_pre_ctrl:host pin used for gps lna
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807402][WMT-CTRL][I]wmt_ctrl_gps_lna_set:ctrl GPS_LNA(2)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807422][WMT-FUNC][I]wmt_func_gps_pre_ctrl:ctrl host gps lna function succeed
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809216][WMT-CTRL][I]wmt_ctrl_bgw_desense_ctrl:wmt-ctrl:send native cmd(1)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809237][BGW] send_command_to_daemon: here we will send command to native daemon
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809254][BGW] send_command_to_daemon: invalid native process pid
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809281][WMT-CORE][I]wmt_core_dump_func_state:[AF FUNC ON]status(b:2 f:0 g:2 w:2 lpbk:0 coredump:0 wmt:2 stp:0)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809367][WMT-STP-EXP][I]mtk_wcn_wmt_func_on: mtk_wcn_wmt_func_on_f type(2)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809386][GPS] GPS_open: WMT turn on GPS OK!
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809401]Flush type = 2 Rx Queue
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809486]GPS_ioctl(): cmd (7)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809502][GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): low power flag (0)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.812772]GPS_ioctl(): cmd (21505)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.812799][GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21505)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.812821]GPS_ioctl(): cmd (21506)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.812837][GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21506)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.812858]GPS_ioctl(): cmd (21515)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.812872][GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21515)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.813706]GPS_ioctl(): cmd (21505)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.813727][GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21505)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.813744]GPS_ioctl(): cmd (21506)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.813757][GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21506)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.813773]GPS_ioctl(): cmd (21515)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.813786][GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21515)
Jun 2...

Read more...

Revision history for this message
TarotChen (tarotchen) wrote :

Tried more scenarios, confirmed that device cannot get the location on first fresh boot unless user reboot it, so update the title.

summary: - Device cannot get the location on first trust prompt
+ Device cannot get the location on first fresh boot unless user reboot
+ the phone
summary: - Device cannot get the location on first fresh boot unless user reboot
- the phone
+ Cannot get the location on first fresh boot unless user reboot the phone
description: updated
Changed in canonical-devices-system-image:
assignee: nobody → Thomas Voß (thomas-voss)
Revision history for this message
John McAleely (john.mcaleely) wrote :

Possibly reported here also: bug #1623901

Changed in canonical-devices-system-image:
milestone: none → backlog
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.