INTERMEDIATE_POS=1
ACCURACY_THRES=0
Yes, discovered exactly the same recently on X10III, just didn’t have time to post.
INTERMEDIATE_POS=1
ACCURACY_THRES=0
Yes, discovered exactly the same recently on X10III, just didn’t have time to post.
F.Y.I: On the upcoming 5.0.0 release this file will be in /vendor/etc/gps.conf.
Is this new on 4.6? I can’t find this file in Xperia 10 / 4.5.0.24 .
Installed positioning apps are GPSInfo and OSM Scout.
No, on my XA2 it’s already a symlink to /vendor/etc/gps.conf and that’s what’s picked up by geoclue-providers-hybris.
Looks like this file is some legacy stuff that I’m used to. You don’t have it because your phone and installation are newer. Use /vendor/etc/gps.conf which will be the main file in the next releases too.
Now I changed in /vendor/etc/gps.conf:
NTP_SERVER=europe.pool.ntp.org
# NTP_SERVER = time.google.com
NMEA_PROVIDER=1
Settings is GPS only
Position fix after 17 seconds
edit: testing now
INTERMEDIATE_POS=1
and will report what comes out. edit: DON’T DO THIS!
edit: next morning, GPS only, Internet off:
Time to first fix: 36 sec
Horizontal accuracy: 3,22m
Vertical accuracy: 3m
Satellites in use/in sight: 16/32
Display reacts exactly and quickly on movement (walking around in the garden), next I’ll test in car and report.
edit: NTP_SERVER = ptbtime1.ptb.de
Dumb question, but how do I edit the gps.conf on the phone (from Terminal for sure, so what’s the needed command to open, edit and save the file? )?
(Didn’t find it in the forum so fast, and nano like on Ubuntu doesn’t work…)
Edit: found it…
I always work from computer, connected by WLAN / SSH. So I have big screen and keyboard, that’s much more comfortable than typing on the phone screen, but this also should work.
Location service (in settings) should be off and related apps (GPSInfo, OSM Scout, …) closed.
On terminal (cli), first become devel-su, then do the following commands:
cp /vendor/etc/gps.conf /vendor/etc/gps.conf.bak to make a backup,
vi /vendor/etc/gps.conf to open config file in editor,
then do the changes, save and exit editor.
Then turn on location service in settings and check with GPSInfo, what it does now. No reboot needed.
5.0.0.67 X10III: while debugging new BeaconDB experimental builds from Use BeaconDB as online positioning service - #24 by nephros I noticed SUPL_HOST getting denied.
[root@Xperia10III defaultuser]# journalctl -f | grep geoclue
Apr 28 21:12:41 Xperia10III geoclue-master[9289]: GSettings key 'gps-baudrate' initialised to '0'
Apr 28 21:12:41 Xperia10III geoclue-master[9289]: GSettings key 'gps-device' initialised to '(null)'
Apr 28 21:12:41 Xperia10III dbus-daemon[3234]: geoclue-hybris.provider
Apr 28 21:12:41 Xperia10III dbus-daemon[3234]: geoclue-mlsdb.provider
Apr 28 21:12:41 Xperia10III dbus-daemon[3234]: dbus-daemon[3234]: [session uid=100000 pid=3234] Activating via systemd: service name='org.freedesktop.Geoclue.Providers.Hybris' unit='dbus-org.freedesktop.Geoclue.Providers.Hybris.service' requested by ':1.135' (uid=100000 pid=9289 comm="/usr/libexec/geoclue-master" label="u:r:kernel:s0")
Apr 28 21:12:41 Xperia10III geoclue-hybris[9306]: [W] unknown:0 - QConnmanEngine: Unable to translate the bearer type of the unknown connection type: "bluetooth"
Apr 28 21:12:42 Xperia10III geoclue-hybris[9306]: [W] unknown:0 - Initialising GNSS interface
Apr 28 21:12:42 Xperia10III geoclue-hybris[9306]: [W] unknown:0 - Initialising AGNSS RIL interface
Apr 28 21:12:42 Xperia10III geoclue-hybris[9306]: [W] unknown:0 - Initialising GNSS Debug interface
Apr 28 21:12:42 Xperia10III geoclue-hybris[9306]: [W] unknown:0 - Setting SUPL server to supl.google.com (7276) failed
^^^^
Apr 28 21:12:42 Xperia10III dbus-daemon[3234]: dbus-daemon[3234]: [session uid=100000 pid=3234] Activating service name='org.freedesktop.Geoclue.Providers.Mlsdb' requested by ':1.135' (uid=100000 pid=9289 comm="/usr/libexec/geoclue-master" label="u:r:kernel:s0")
I wonder now if it ever worked? I never looked into geoclue logs in detail even after suplpatch ![]()
Out of curiosity I checked what my phone (X10, 5.0.0.67, suplpatch applied) outputs when using GPS and I get same lines as you, but without any warnings.