|
2016-03-02
, 12:27
|
|
Posts: 6,447 |
Thanked: 20,981 times |
Joined on Sep 2012
@ UK
|
#32
|
Does runs=1 posm=onlysat gives a result or does it hang? Try outside at least for 5min.
The Following User Says Thank You to pichlo For This Useful Post: | ||
|
2016-09-30
, 08:27
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#33
|
The Following User Says Thank You to Halftux For This Useful Post: | ||
|
2016-09-30
, 08:51
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#34
|
SHELL=/bin/sh
PATH=/usr/bin:/bin
_=/usr/bin/env
PWD=/home/nemo
SHLVL=2
LOGNAME=nemo
The Following User Says Thank You to Halftux For This Useful Post: | ||
|
2016-09-30
, 10:02
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#35
|
source /home/nemo/.bash_profile
The Following User Says Thank You to Halftux For This Useful Post: | ||
|
2016-11-27
, 18:19
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#36
|
gpscon runs=1 posm=onlysat
|
2016-12-01
, 10:33
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#37
|
The Following 5 Users Say Thank You to Halftux For This Useful Post: | ||
|
2017-09-28
, 08:40
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#38
|
|
2017-10-12
, 23:49
|
|
Posts: 269 |
Thanked: 1,096 times |
Joined on Sep 2009
@ Hampshire, UK
|
#39
|
For sailfish the onlysat mode will now dismiss the first value which was known to be a last known satellite value. So this example command should give you now the current position, if enough satellites are visible. (could be same for harmattan I need to check)
Code:gpscon runs=1 posm=onlysat
/usr/bin/gpscon tout=60 runs=1 posm=onlysat
|
2017-10-13
, 22:48
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#40
|
It does NOT seem to dump the first useless position fix. Went back to my JollaC and I get the same behaviour there, In each case it returns a stale fix. (Using V0.0.10)
The C returns in about 15 seconds, the X returns almost straight away. Both return a stale fix which is never updated using this command form. (If I use runs=2 I get updated fix on the second pass)
I starting source->startupdates() and when it is set to positioning method all, the first value will be taken not from the gps.
But now comes something which I do not understand there will be no further emited signal which calling the output slot. This happens for example when no new update could be aquired. Result is the application hangs and will never call quit. However when not set posm=onlysat it should fall back to a different position method but there comes no signal to call my slot.
I would like to try source->requestupdate(timeout) to get at least a timeout.
So I could reproduce your problem and could get rid of it by calling the script with sh. But the N900 uses ash instead of sh which could produce the problem. I think on sailfish it is sh already.
So over all I don't know what is happening. Problem could be:
- qt version behave different 2 instance maybe 2 event loops which can't catch all events from signal
- cron problem (btw which user/rights runs cron task?), shell problem
N900: gpxsee, fahrplan, gpscon, genwall, qrcode, hextool, libjansson4, libevent-2.0-5, cnee, psi-plus, mihphoto, shc
Maemo flasher/rescue live image.
Fremantle Harmattan SDK VM