I don't know if this is related (or another bug): I can reproduce 100% on OTA-10 with the app SensorStatus, that the app opens successful the GPS service, issues some ioctls and without getting or waiting for a first fix, it just closes again the GPS, all this within 2 secs:
I don't know if this is related (or another bug): I can reproduce 100% on OTA-10 with the app SensorStatus, that the app opens successful the GPS service, issues some ioctls and without getting or waiting for a first fix, it just closes again the GPS, all this within 2 secs:
$ tail -f /var/log/syslog | fgrep GPS
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.400623] (2)[1213: mtk_wmtd] [WMT-CTRL] [I]wmt_ ctrl_gps_ sync_set: ctrl GPS_SYNC(4) mtk_wmtd] [WMT-FUNC] [I]wmt_ func_gps_ pre_ctrl: ctrl GPS_SYNC_SET(0) ok mtk_wmtd] [WMT-FUNC] [I]wmt_ func_gps_ pre_ctrl: set reg for GPS_SYNC function okay by chip ic_pin_ctrl mtk_wmtd] [WMT-CTRL] [I]wmt_ ctrl_gps_ lna_set: ctrl GPS_LNA(2) compat_ ioctl: (8) unlocked_ ioctl: GPS co_clock_flag (0) compat_ ioctl: (7) unlocked_ ioctl: low power flag (0) compat_ ioctl: (21505) unlocked_ ioctl: unknown cmd (21505) compat_ ioctl: (21506) unlocked_ ioctl: unknown cmd (21506) compat_ ioctl: (21515) unlocked_ ioctl: unknown cmd (21515) compat_ ioctl: (21505) unlocked_ ioctl: unknown cmd (21505) compat_ ioctl: (21506) unlocked_ ioctl: unknown cmd (21506) compat_ ioctl: (21515) unlocked_ ioctl: unknown cmd (21515) compat_ ioctl: (21505) unlocked_ ioctl: unknown cmd (21505) compat_ ioctl: (21506) unlocked_ ioctl: unknown cmd (21506) compat_ ioctl: (21515) unlocked_ ioctl: unknown cmd (21515) mtk_wmtd] [WMT-CTRL] [I]wmt_ ctrl_gps_ sync_set: ctrl GPS_SYNC(7) mtk_wmtd] [WMT-FUNC] [I]wmt_ func_gps_ pre_ctrl: ctrl GPS_SYNC_SET(1) ok mtk_wmtd] [WMT-FUNC] [I]wmt_ func_gps_ pre_ctrl: set reg for GPS_SYNC function okay by chip ic_pin_ctrl mtk_wmtd] [WMT-CTRL] [I]wmt_ ctrl_gps_ lna_set: ctrl GPS_LNA(7) tx_thread] [GPS] [I]GPS_read: signaled by -ERESTARTSYS(-512)
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.400669] (2)[1213:
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.401061] (1)[1213:
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.401191] (1)[1213:
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.403702] (3)[1074:mnld][GPS] [I]GPS_open: WMT turn on GPS OK!
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.403753] (3)[1074:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.403769] (3)[1074:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.404403] (3)[1074:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.404419] (3)[1074:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.406411] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.406429] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.406445] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.406459] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.406474] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.406487] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.407859] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.407880] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.407896] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.407910] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.407925] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.407938] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.418189] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.418211] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.418228] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.418264] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.418281] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:48 ubuntu-phablet kernel: [ 668.418294] (1)[8506:mnld][GPS] [I]GPS_
Apr 8 08:48:50 ubuntu-phablet kernel: [ 669.680710] (1)[1213:
Apr 8 08:48:50 ubuntu-phablet kernel: [ 669.680741] (1)[1213:
Apr 8 08:48:50 ubuntu-phablet kernel: [ 669.681611] (1)[1213:
Apr 8 08:48:50 ubuntu-phablet kernel: [ 669.681671] (1)[1213:
Apr 8 08:48:50 ubuntu-phablet kernel: [ 669.683691] (1)[1074:mnld][GPS] [I]GPS_close: WMT turn off GPS OK!
Apr 8 08:48:50 ubuntu-phablet kernel: [ 669.654292] (1)[1964: