← Back to team overview

touch-packages team mailing list archive

[Bug 1368647] Re: GPS and location detection not working on Nexus 4

 

I noticed this a few weeks ago and it has not been rectified.

I have asked the osmtouch developers if they know about it
https://answers.launchpad.net/osmtouch/+question/254334


Digging into it today I found the following after running OSM Touch and touching the location detection arrow :-

phablet@ubuntu-phablet:/$ cat /var/log/ubuntu-location-service/com.ubuntu.location.WARNING
Log file created at: 2014/09/11 15:24:31
Running on machine: ubuntu-phablet
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0911 15:24:31.517678 2420 skeleton.cpp:177] Error creating session: Client lacks permissions to access the service with the given criteria
E0912 08:52:39.514560 2419 skeleton.cpp:177] Error creating session: Client lacks permissions to access the service with the given criteria

So it seems like a permissions issue?

Also, going back to the start of the warnings:-

phablet@ubuntu-phablet:/$ cat /var/log/ubuntu-location-service/com.ubuntu.location.ubuntu-phablet.invalid-user.log.WARNING.20140809-134227.916
Log file created at: 2014/08/09 13:42:27
Running on machine: ubuntu-phablet
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
W0809 13:42:27.226502 916 ofono_nm_connectivity_manager.cpp:171] Exception while creating connected radio cell: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.ofono.NetworkRegistration" doesn't exist

All warnings are the same as above until:-

phablet@ubuntu-phablet:/$ cat /var/log/ubuntu-location-service/com.ubuntu.location.ubuntu-phablet.invalid-user.log.WARNING.20140822-100144.924
Log file created at: 2014/08/22 10:01:44
Running on machine: ubuntu-phablet
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0822 10:01:44.903519 1942 skeleton.cpp:177] Error creating session: Client lacks permissions to access the service with the given criteria

Then:-

phablet@ubuntu-phablet:/$ cat /var/log/ubuntu-location-service/com.ubuntu.location.ubuntu-phablet.invalid-user.log.WARNING.20140827-070346.912
Log file created at: 2014/08/27 07:03:46
Running on machine: ubuntu-phablet
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0827 07:03:46.443877 912 ofono_nm_connectivity_manager.cpp:141] Error while setting up access to radio and network stack: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1

Then the rest are the permissions errors with one more of the "Error
wile setting up access" errors.

And for reference:-
phablet@ubuntu-phablet:/$ system-image-cli -i
current build number: 203
device name: mako
channel: ubuntu-touch/utopic
last update: 2014-08-22 07:57:57
version version: 203
version ubuntu: 20140821.1
version device: 20140811.1

last update: 2014-08-22 07:57:57 corresponds to the start of the
permissions errors.

Also, thinking back, location detection was definitely working on 1st of
July which was prior to me upgrading to utopic.

-- 
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/1368647

Title:
  GPS and location detection not working on Nexus 4

Status in “location-service” package in Ubuntu:
  Confirmed

Bug description:
  Mako with MultiROM, utopic r239

  None of the apps I have tried including Weather, Google maps, OSM
  Touch and SensorStatus are able to use the phone's GPS. The
  SensorStatus app actually reports "Found supported backend", but finds
  no position or other GPS data.

  Location detection on the other hand is doing something, but it is
  really far off when it comes to determining the actual location of the
  device. The Weather app suggests my location as Vänsjö, Jämtland,
  which is about 400 km north of Stockholm where I am at. OSM Touch
  reports "no location available" and Google maps "Your location could
  not be determined"

  I don't know if the GPS has to "waken up" somehow, but it has not
  shown any form of life for me on Ubuntu Touch, even though it works
  perfectly fine when booting the phone as Android.

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


References