• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

GPS on Fairphone 2

Scheduled Pinned Locked Moved Support
6 Posts 5 Posters 776 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      docaurelie
      last edited by 19 May 2019, 21:56

      Hi,

      I just install Ubuntu touch (16.04 - OTA-9) on my Fairphone 2 and I have a problem with the localisation.
      Even if I said to use the GPS for the localisation, the applications are not able to locate my phone.

      What should I do?

      Thanks,
      Aurélie

      T 1 Reply Last reply 20 May 2019, 01:40 Reply Quote 0
      • T Offline
        TotalSonic @docaurelie
        last edited by 20 May 2019, 01:40

        @docaurelie

        Maybe try instructions discussed here:
        https://forums.ubports.com/post/14885

        Check that the fix is even needed (may already be using ubuntu.espoo) -- run in the terminal:

        $ ps aux | grep [l]ocation-service | grep provider

        root 987 0.0 0.5 146540 9852 ? Ssl 19:19 0:00 /usr/bin/ubuntu-location-serviced --bus system --provider gps::Provider --provider remote::Provider --remote::Provider::name=com.ubuntu.espoo.Service.Provider --remote::Provider::path=/com/ubuntu/espoo/Service/Provider

        Like above, if you see ubuntu.espoo in the output, then the fix is already in place
        The fix below only works if you see wolfpack.geoclue2
        Run the following commands from the terminal:

        (Optional) Save a copy of the file to your home directory

        $ cp /etc/init/ubuntu-location-service.override ~

        Make the root partition writable

        $ sudo mount -o remount,rw /

        The following command changes wolfpack.geoclue2 to ubuntu.espoo in both places in the file

        $ sudo sed -i -e 's:wolfpack(.)geoclue2:ubuntu\1espoo:' /etc/init/ubuntu-location-service.override

        (Optional) Check that the changes have been made successfully

        $ grep espoo /etc/init/ubuntu-location-service.override
        opts="$opts --remote::Provider::name=com.ubuntu.espoo.Service.Provider"
        opts="$opts --remote::Provider::path=/com/ubuntu/espoo/Service/Provider"

        Best regards,
        Steve Berson

        F 1 Reply Last reply 22 Feb 2021, 08:02 Reply Quote 0
        • D Offline
          docaurelie
          last edited by 20 May 2019, 11:47

          Since, I had only search for Fairphone, I didn't found this post.

          I've try this solution, in the SensorsStatus app, in the GPS tab, I went to "Source status Access error" to "No error", but I still do not have the localization. The post says it can take a while, it is more than half an hour now...

          1 Reply Last reply Reply Quote 0
          • T Offline
            tera
            last edited by 20 May 2019, 16:23

            GPS never worked for me on FP2, there is a related open issue here fyi: https://github.com/ubports/ubuntu-touch/issues/356

            1 Reply Last reply Reply Quote 1
            • F Offline
              Fish @TotalSonic
              last edited by 22 Feb 2021, 08:02

              @totalsonic I tried this, unfortunately only “command not found” came back from the terminal. Has anyone in the meantime found a solution with the GPS from Fairphone 2 worked?

              F 1 Reply Last reply 22 Feb 2021, 10:23 Reply Quote 0
              • F Offline
                Fla @Fish
                last edited by 22 Feb 2021, 10:23

                @fish My GPS is working on my Fairphone 2. I answered you in https://forums.ubports.com/topic/5746/fairphone-2-gps-does-not-work

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post