Sorry for the inconveniance, I think I have to update my README now
@martinh Yep that’s it! I’ll fix my documentation about this issue with 10 II. I was braindead when writing my docs and sure it was /system/etc
where gps.conf
is located.
Just in case libgeoclueprovider is looking for /etc/gps.conf
a symlink to /system/vendor/etc/gps.conf
would be a good thing to add like it’s on other SailfishOS devices.
UPDATE: Geoclue provider uses
void HybrisProvider::loadDefaultsFromConfigurationFile()
{
QFile gpsConf;
bool parseXtraServers = false;
const char *paths[] = {"/vendor/etc/gps.conf", "/system/etc/gps.conf", NULL};
int i = 0;
while (paths[i] != NULL) {
gpsConf.setFileName(paths[i]);
if (gpsConf.open(QIODevice::ReadOnly)) {
break;
}
++i;
So either edit symlinked /etc/gps.conf
or /system/etc/gps.conf
or /vendor/etc/gps.conf
(my brain still works ).
Alas in your case geoclueprovider just parsed the first entry (/vendor/etc/gps.conf
) which points to /system/etc/gps.conf
so your newly created /system/etc/gps.conf
was never ever parsed → no SUPL host or XTRA data injected into GPS.