piccolo-dev / android_device_bq_piccolo

Android device configuration for the bq Aquaris M5
19 stars 8 forks source link

GPS not working #57

Closed piwats closed 8 years ago

piwats commented 8 years ago

Hello,

thanks for the updates :+1:

Unfortunately, the last update of cm-13 from February 28th made GPS non functional.

Nothing in dmesg.

logcat is full of this kind of Errors:

02-28 23:18:44.180   736   762 E LocSvc_eng: I/===> int loc_eng_set_position_mode(loc_eng_data_s_type&, LocPosMode&) line 1940 
02-28 23:18:44.180   736   762 E LocSvc_eng: I/===> int loc_eng_start(loc_eng_data_s_type&) line 1814 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_msg_process_gnss_set_pos_mode(uint32_t, GpsPositionRecurrence, LocPositionMode) line 1346 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_msg_process_criteria_update(const UlpLocationCriteria*) line 383 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/int ulp_msg_process_criteria_update(const UlpLocationCriteria*): valid 0x27 action:1, minTime:1000, minDistance:0.000000, singleShot:0, horizontalAccuracy:0, powerRequirement:0 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_data_add_criteria(const UlpLocationCriteria*) line 275 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_brain_process_criteria_update() line 82 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/int ulp_brain_process_criteria_update() index at 0, isNew = 0, mask 0x627, provider source = 2, accuracy = 1, recurrence = 1, tbf = 0
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/int ulp_brain_process_criteria_update() index at 1, isNew = 1, mask 0x27, provider source = 1, accuracy = 0, recurrence = 0, tbf = 1000
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_brain_select_providers() line 333 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_brain_turn_onoff_quipc_provider() line 700 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_quipc_stop_engine() line 235 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> bool ulp_quipc_engine_running() line 60 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_brain_turn_onoff_gnss_provider() line 595 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_gnss_start_engine() line 101 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_brain_turn_onoff_gnp_provider() line 496 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> bool ulp_gnp_engine_running() line 59 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_gnp_stop_engine() line 195 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> bool ulp_gnp_engine_running() line 59 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> bool ulp_gnp_engine_running() line 59 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_brain_turn_onoff_zpp_provider() line 437 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_zpp_stop_engine() line 174 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> bool ulp_zpp_engine_running() line 62 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/===> int ulp_msg_process_start_req() line 447 
02-28 23:18:44.181   736  2060 E LocSvc_libulp: I/int ulp_msg_process_start_req(), at ulp state = 1
02-28 23:18:46.124   736  2060 E LocSvc_libulp: I/===> int ulp_msg_process_system_update(UlpSystemEvent) line 1455 
02-28 23:18:46.124   736  2060 E LocSvc_libulp: I/int ulp_msg_process_system_update(UlpSystemEvent): systemEvent:5 
02-28 23:18:46.124   736  2060 E LocSvc_libulp: I/===> int ulp_brain_process_system_update(UlpSystemEvent) line 2352 
cmorlok commented 8 years ago

I can see those entries in logcat as well, but GPS is working fine for me.

piwats commented 8 years ago

Strange, had to disable and reenable the location services. Was asked by Google services for permission of their location services. Now I have all the signals back. Strange, but working.

stucki commented 8 years ago

This issue was moved to bq-dev/android_device_bq_piccolo#57