Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    GPS on Fairphone 2

    Support
    5
    6
    443
    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
      docaurelie last edited by

      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

      TotalSonic 1 Reply Last reply Reply Quote 0
      • TotalSonic
        TotalSonic @docaurelie last edited by

        @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

        Fish 1 Reply Last reply Reply Quote 0
        • D
          docaurelie last edited by

          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
            tera last edited by

            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
            • Fish
              Fish @TotalSonic last edited by

              @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?

              I apologize for my bad English. . . ;-)

              Fla 1 Reply Last reply Reply Quote 0
              • Fla
                Fla @Fish last edited by

                @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