← Back to team overview

ubuntu-phone team mailing list archive

Re: possible regression con OTA-10 && GPS

 

Great Matthias!

With GPS only it should take a little longer to get it, but if it works, it's OK.

We all know about your book ;) it's a great source of knowledge :)

Regards,

El 08/04/16 a las 08:04, Matthias Apitz escribió:
El día Friday, April 08, 2016 a las 07:53:58AM +0200, Vic G escribió:

Hi Matthias!

Please follow this steps provided by Marco Costales to (try)get location:

1. Reboot
device<https://myapps.developer.ubuntu.com/site_media/appmedia/2016/03/z_1_1.png>

2. Make sure GPS is enabled in:
https://myapps.developer.ubuntu.com/site_media/appmedia/2016/03/x.png
https://myapps.developer.ubuntu.com/site_media/appmedia/2016/03/y.png
https://myapps.developer.ubuntu.com/site_media/appmedia/2016/03/z_1.png

Sensor status enabled here:
https://myapps.developer.ubuntu.com/site_media/appmedia/2016/03/z_1_1.png
...
Hi Vic,

Thanks for your feedback; of course I set everythink like above,
following my own tutorial in:

https://gurucubano.gitbooks.io/bq-aquaris-e-4-5-ubuntu-phone/content/en//chapter5.html

:-)

with one small change: I set GPS only mode.

Today morning I went to debug it to nail it down in my BQ E4.5, see
below; and magic (or as always: when a problem sees that you are willing
to nail it down), the problem went away; SensoStatus and uNav work fine,
even in door at the moment.

I will check later the other Ubuntu device I own, you know :-)

Thanks

	matthias


phablet@ubuntu-phablet:~$ sudo dmesg | grep GPS | more
[sudo] password for phablet:
[    9.281690] [GPS-MOD-INIT][I]do_gps_drv_init:start to do gps driver init
[    9.281709] mtk_stp_GPS_chrdev driver(major 191) installed.
[    9.281722] [GPS-MOD-INIT][I]do_gps_drv_init:finish gps driver init, i_ret:0
[    9.778454] [WMT-PLAT][I]wmt_plat_dump_pin_conf:GPS_SYNC(not defined)
[    9.778462] [WMT-PLAT][I]wmt_plat_dump_pin_conf:GPS_LNA(GPIO-2147483601)
[   12.750654] [WMT-PLAT][I]wmt_plat_dump_pin_conf:GPS_SYNC(not defined)
[   12.750666] [WMT-PLAT][I]wmt_plat_dump_pin_conf:GPS_LNA(GPIO-2147483601)


phablet@ubuntu-phablet:~$ ubuntu-location-serviced-cli --bus system --get --property does_satellite_based_positioning
Location service does satellite based positioning.
Attempted to unregister path (path[0] = com path[1] = ubuntu) which isn't registered
phablet@ubuntu-phablet:~$ ubuntu-location-serviced-cli --bus system --get --property does_report_wifi_and_cell_ids
Location service does not report cell and wifi ids.
Attempted to unregister path (path[0] = com path[1] = ubuntu) which isn't registered
phablet@ubuntu-phablet:~$ ubuntu-location-serviced-cli --bus system --get --property visible_space_vehicles
Visible space vehicles:
Attempted to unregister path (path[0] = com path[1] = ubuntu) which isn't registered

now started SensorStatus

phablet@ubuntu-phablet:~$ sudo dmesg | grep GPS | more
...
[  487.390633] GPS_open: major 191 minor 0 (pid 6303)
[  487.411027] [WMT-CTRL][I]wmt_ctrl_gps_sync_set:ctrl GPS_SYNC(4)
[  487.411050] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:ctrl GPS_SYNC_SET(0) ok
[  487.411478] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:set reg for GPS_SYNC function okay by chip ic_pin_ctrl
[  487.411513] [WMT-CTRL][I]wmt_ctrl_gps_lna_set:ctrl GPS_LNA(2)
[  487.413463] [GPS] GPS_open: WMT turn on GPS OK!
[  487.413550] GPS_ioctl(): cmd (7)
[  487.413568] [GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): low power flag (0)
[  487.424450] GPS_ioctl(): cmd (21505)
[  487.424468] [GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21505)
[  487.424704] GPS_ioctl(): cmd (21506)
[  487.424718] [GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21506)
[  487.424728] GPS_ioctl(): cmd (21515)
[  487.424736] [GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21515)
[  487.425603] GPS_ioctl(): cmd (21505)
[  487.425628] [GPS] GPS_unlocked_ioctl: <6>GPS_ioctl(): unknown cmd (21505)
[  487.425639] GPS_ioctl(): cmd (21506)

pid 6303 (from line [  487.390633]:

phablet@ubuntu-phablet:~$ ps ax | fgrep 6303
  6303 ?        Sl     0:00 libmnlp 13 16 0


got fix


phablet@ubuntu-phablet:~$ ubuntu-location-serviced-cli --bus system --get --property visible_space_vehicles
Visible space vehicles:
	(type: gps, prn: 1, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 5 deg, elevation: 158 deg)
	(type: gps, prn: 2, snr: 21, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 17 deg, elevation: 317 deg)
	(type: gps, prn: 3, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 43 deg, elevation: 103 deg)
	(type: gps, prn: 6, snr: 17, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 54 deg, elevation: 284 deg)
	(type: gps, prn: 7, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 16 deg, elevation: 180 deg)
	(type: gps, prn: 9, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 68 deg, elevation: 242 deg)
	(type: gps, prn: 16, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 2 deg, elevation: 91 deg)
	(type: gps, prn: 17, snr: 17, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 8 deg, elevation: 230 deg)
	(type: gps, prn: 19, snr: 16, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 19 deg, elevation: 254 deg)
	(type: gps, prn: 22, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 9 deg, elevation: 108 deg)
	(type: gps, prn: 23, snr: 14, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 77 deg, elevation: 61 deg)
	(type: gps, prn: 26, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 8 deg, elevation: 65 deg)
	(type: gps, prn: 31, snr: 0, has_almanac_data: 0, has_ephimeris_data: 0, used_in_fix: 0, azimuth: 4 deg, elevation: 29 deg)
Attempted to unregister path (path[0] = com path[1] = ubuntu) which isn't registered

and uNav works fine


--

Víctor González Troncoso

Área de Postventa

Soporte SAUX

+34 91 142 06 82 Ext: 2003

Marie Curie, 19 Bloque 2 Planta 6 Oficina 6

28521 Rivas Vaciamadrid (Madrid)

bq.com <http://www.bq.com/>

<http://facebook.com/bqreaders> <http://twitter.com/bqreaders> <https://plus.google.com/+bqreaders/posts> <https://www.youtube.com/user/canalbq> <https://instagram.com/bq_global/>

	


--


Nos encantan los árboles. No me imprimas si no es necesario.

Protección de Datos: Mundo Reader S.L. le informa de que los datos personales facilitados por Ud. y utilizados para el envío de esta comunicación serán objeto de tratamiento automatizado o no en nuestros ficheros, con la finalidad de gestionar la agenda de contactos de nuestra empresa y para el envío de comunicaciones profesionales por cualquier medio electrónico o no. Puede consultar en www.bq.com los detalles de nuestra Política de Privacidad y dónde ejercer el derecho de acceso, rectificación, cancelación y oposición.

Confidencialidad: Este mensaje contiene material confidencial y está dirigido exclusivamente a su destinatario. Cualquier revisión, modificación o distribución por otras personas, así como su reenvío sin el consentimiento expreso está estrictamente prohibido. Si usted no es el destinatario del mensaje, por favor, comuníqueselo al emisor y borre todas las copias de forma inmediata. Confidentiality: This e-mail contains material that is confidential for de sole use of de intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

PNG image

JPEG image

JPEG image

JPEG image

JPEG image

JPEG image

PNG image


References