Cannot get the location on first fresh boot unless user reboot the phone
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-
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
summary: |
- Nearby Scope cannot get the location + Device cannot get the location on first trust prompt |
description: | updated |
description: | updated |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Thomas Voß (thomas-voss) |
some logs from /var/log/syslog
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.781506] GPS_open: major 191 minor 0 (pid 7964) [WMT-CTRL] [I]wmt_ ctrl_gps_ sync_set: ctrl GPS_SYNC(4) [WMT-FUNC] [I]wmt_ func_gps_ pre_ctrl: ctrl GPS_SYNC_SET(0) ok [WMT-IC] [I]mtk_ wcn_soc_ pin_ctrl: ret = (0) [WMT-FUNC] [I]wmt_ func_gps_ pre_ctrl: set reg for GPS_SYNC function okay by chip ic_pin_ctrl [WMT-FUNC] [I]wmt_ func_gps_ pre_ctrl: ctrl combo chip gps sync function succeed [WMT-FUNC] [I]wmt_ func_gps_ pre_ctrl: host pin used for gps lna [WMT-CTRL] [I]wmt_ ctrl_gps_ lna_set: ctrl GPS_LNA(2) [WMT-FUNC] [I]wmt_ func_gps_ pre_ctrl: ctrl host gps lna function succeed [WMT-CTRL] [I]wmt_ ctrl_bgw_ desense_ ctrl:wmt- ctrl:send native cmd(1) to_daemon: here we will send command to native daemon to_daemon: invalid native process pid [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) [WMT-STP- EXP][I] mtk_wcn_ wmt_func_ on: mtk_wcn_ wmt_func_ on_f type(2) GPS_ioctl( ): cmd (7) GPS_ioctl( ): cmd (21505) GPS_ioctl( ): cmd (21506) GPS_ioctl( ): cmd (21515) GPS_ioctl( ): cmd (21505) GPS_ioctl( ): cmd (21506) GPS_ioctl( ): cmd (21515)
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.806841]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.806870]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807322]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807342]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807364]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807383]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807402]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.807422]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809216]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809237][BGW] send_command_
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809254][BGW] send_command_
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809281]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.809367]
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]
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]
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]
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]
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]
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]
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]
Jun 29 07:44:15 ubuntu-phablet kernel: [ 3453.813786][GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21515)
Jun 2...