← Back to team overview

touch-packages team mailing list archive

[Bug 1387708] Re: [TOPBLOCKER] Location services not getting location

 

To test whether the low-level HERE stack gets a location, put http://people.canonical.com/~lool/espoo-cli on your phone (will be included along HERE bits in the future) and run with:
chmod a+x espoo-cli
GLOG_logtostderr=1 GLOG_v=100 LD_LIBRARY_PATH=/custom/vendor/here/location-provider/lib/arm-linux-gnueabihf ./espoo-cli 5

NB: 5 is the number of location updates after which the tool exits; updates should come in at approx 15s interval. Output looks like:
I1101 21:30:01.285964  4403 cli.cpp:117] Requested number of updates is 2
I1101 21:30:01.299002  4403 cli.cpp:133] Starting location updates
I1101 21:30:01.301888  4403 cli.cpp:141] Starting GLib main loop
I1101 21:30:11.304612  4403 cli.cpp:158] Location: tstamp=1414891811 lat=xyz long=foo hor. acc.=2569 alt=nan vert. acc.=nan tech=cell
I1101 21:30:11.306061  4403 cli.cpp:170] Remaining updates: 1
I1101 21:30:26.736821  4403 cli.cpp:158] Location: tstamp=1414891826 lat=xyz long=foo hor. acc.=2824 alt=nan vert. acc.=nan tech=cell
I1101 21:30:26.738348  4403 cli.cpp:148] Stopping location updates

This worked for me on mako and krillin with respectively latest vivid
and rtm from yesterday (139); however I did manage to get a "general
error" in one case on krillin, seemingly because I started this when the
device was still booting.

Interestingly, I get tech=cell for krillin and tech=wifi for mako,
despite both being on the same table; this suggests these dont have the
same wifi and/or cell visibility.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to location-service in
Ubuntu.
https://bugs.launchpad.net/bugs/1387708

Title:
  [TOPBLOCKER] Location services not getting location

Status in Location Service:
  New
Status in “location-service” package in Ubuntu:
  Confirmed
Status in “location-service” package in Ubuntu RTM:
  Confirmed
Status in “location-service” source package in 14.09:
  Confirmed

Bug description:
  Failing to get location fix from application.
  Neither network based nor gps location works.
  Bug has now been seen on 3 phones with and without SIM installed.
  HERE service seems to be running, but no reasonable location is reported.
  GPS is failing to get fix, tested with phone placed for 2 hours outside.

  On two of those phones location was working fine, but with OTA update to ~135 stopped working.
  hard to guess working image but somewhere around 129~131

  
  Problem is now reproducible on RTM release 137

To manage notifications about this bug go to:
https://bugs.launchpad.net/location-service/+bug/1387708/+subscriptions