Testing GPS
#31
(06-03-2020, 07:11 AM)kugiigi Wrote: Pure Maps and uNav just crashed on mine ?

Yes, sopped working for me as well.
Presumably, since I installed Crust.
  Reply
#32
(06-03-2020, 10:15 AM)afigegoznaet Wrote:
(06-03-2020, 07:11 AM)kugiigi Wrote: Pure Maps and uNav just crashed on mine ?

Yes, sopped working for me as well.
Presumably, since I installed Crust.

Oh ok, it never worked for me maybe because I installed crust before this.
  Reply
#33
I followed the original instructions, but it when I type "sudo /etc/init.d/gpsd start", it said command not found.  I tried "sudo gpsd start", then the rest of the commands, went to uNav, and it found me Smile  As did Pure Maps.  This is without a sim.

*Stopped working after phone went to sleep.  Re-did the steps from restart location-services, and it worked again.

Still wish I had my original icons and keyboard symbols back though!  Switching to devel 46 seems to have messed them up.  Some symbols/icons are now blank, so it's difficult to use the keyboard, especially in terminal when I want to use the navigation layer.
  Reply
#34
(06-11-2020, 07:26 AM)vgnmnky Wrote: I followed the original instructions, but it when I type "sudo /etc/init.d/gpsd start", it said command not found.  I tried "sudo gpsd start", then the rest of the commands, went to uNav, and it found me Smile  As did Pure Maps.  This is without a sim.

*Stopped working after phone went to sleep.  Re-did the steps from restart location-services, and it worked again.

Still wish I had my original icons and keyboard symbols back though!  Switching to devel 46 seems to have messed them up.  Some symbols/icons are now blank, so it's difficult to use the keyboard, especially in terminal when I want to use the navigation layer.

The symbols disappeared with dev 46 for me as well, unfortunately the only solution I found was to start over with dev 45 stable from here and upgrade directly to 47. It seems 46 touched some icons it wasn't supposed to.

I'm having issues with GPS though. Never got uNav or Pure Maps to ask for my location. After following the steps in the first post I could get uNav to show me something, but the pin on the map wasn't even in the right country.

Edit:
Minor correction.

Edit 2:
When I open uNav I get the following in "dmesg -w":
Code:
[  248.817012] alloc_contig_range: [b05d0, b05d8) PFNs busy
[  248.820872] alloc_contig_range: [b05d0, b05d8) PFNs busy
[  248.835432] audit: type=1400 audit(1592010037.463:72): apparmor="DENIED" operation="open" profile="navigator.costales_navigator_2.7.1" name="/usr/share/qt5/translations/qt_en.qm" pid=7316 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[  249.847663] alloc_contig_range: [b05d0, b05d8) PFNs busy
[  250.152553] audit: type=1400 audit(1592010038.779:73): apparmor="DENIED" operation="open" profile="navigator.costales_navigator_2.7.1" name="/proc/7358/setgroups" pid=7358 comm="qmlscene" requested_mask="w" denied_mask="w" fsuid=32011 ouid=32011
[  250.393145] audit: type=1400 audit(1592010039.023:74): apparmor="DENIED" operation="open" profile="navigator.costales_navigator_2.7.1" name="/proc/sys/kernel/yama/ptrace_scope" pid=7359 comm="QtWebEngineProc" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[  250.483474] audit: type=1400 audit(1592010039.111:75): apparmor="DENIED" operation="open" profile="navigator.costales_navigator_2.7.1" name="/proc/vmstat" pid=7316 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[  251.267333] audit: type=1400 audit(1592010039.895:76): apparmor="DENIED" operation="open" profile="navigator.costales_navigator_2.7.1" name="/sys/bus/" pid=7316 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[  251.267348] audit: type=1400 audit(1592010039.895:77): apparmor="DENIED" operation="open" profile="navigator.costales_navigator_2.7.1" name="/sys/class/" pid=7316 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[  251.352759] audit: type=1400 audit(1592010039.979:78): apparmor="DENIED" operation="mkdir" profile="navigator.costales_navigator_2.7.1" name="/home/phablet/.pki/" pid=7316 comm="Chrome_IOThread" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
[  251.494429] audit: type=1400 audit(1592010040.123:79): apparmor="DENIED" operation="open" profile="navigator.costales_navigator_2.7.1" name="/proc/7399/oom_score_adj" pid=7316 comm="TaskSchedulerSi" requested_mask="wc" denied_mask="wc" fsuid=32011 ouid=32011
[  251.945676] audit: type=1400 audit(1592010040.575:80): apparmor="DENIED" operation="open" profile="navigator.costales_navigator_2.7.1" name="/proc/7399/task/7399/status" pid=7316 comm="TaskSchedulerFo" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[  251.959750] audit: type=1400 audit(1592010040.587:81): apparmor="DENIED" operation="open" profile="navigator.costales_navigator_2.7.1" name="/proc/7399/task/7399/status" pid=7316 comm="TaskSchedulerFo" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011

When I press the button to get my location I get (this time I didn't even get any pin on the map):
Code:
[  268.765382] kauditd_printk_skb: 1 callbacks suppressed
[  268.765392] audit: type=1107 audit(1592010057.395:83): pid=1942 uid=102 auid=4294967295 ses=4294967295 subj==unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/com/lomiri/hfd" interface="com.lomiri.hfd.Vibrator" member="vibrate" mask="send" name="com.lomiri.hfd" pid=7316 label="navigator.costales_navigator_2.7.1" peer_pid=1951 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'

My guess is that AppArmor is blocking the request to read GPS data because I haven't allowed it, but if I compare what I'm seeing to what's expected from this piece of documentation there are several differences:

  1. The location indicator stays in the "enabled but not in use" state
  2. The location settings just says "None requested" in the list of apps
  3. The location permission request popup never appears anywhere
Edit 3:
When I pressed the button to get my location again I got a pin that wasn't even close again, nothing new in dmesg though so the AppArmor theory is already falling apart.
  Reply
#35
(06-12-2020, 06:40 PM)Djhg2000 Wrote: The symbols disappeared with dev 46 for me as well, unfortunately the only solution I found was to start over with dev 45 stable from here and upgrade directly to 47. It seems 46 touched some icons it wasn't supposed to.

Was this on the internal emmc?  I've not found instructions for how to reflash to there yet.  There's a (broken?) script, but no instructions.
  Reply
#36
(06-13-2020, 05:04 AM)vgnmnky Wrote:
(06-12-2020, 06:40 PM)Djhg2000 Wrote: The symbols disappeared with dev 46 for me as well, unfortunately the only solution I found was to start over with dev 45 stable from here and upgrade directly to 47. It seems 46 touched some icons it wasn't supposed to.

Was this on the internal emmc?  I've not found instructions for how to reflash to there yet.  There's a (broken?) script, but no instructions.

I used Jumpdrive and bmaptool to flash the image. I think you can get away with just Jumpdrive and dd but when the bmap file is available you can get checksum verification and automatic fsync (no need to run "sync" after dd).
  Reply
#37
Retried the instructions again on dev 48. When I started uNav, the location indicator changed into "enabled and in use" for the first time ever! Not sure if I did something wrong before?

I'll give it a while and see if it finds my location. SensorStatus now says it didn't find a supported backend for GPS, but with the app focused the location indicator shows something is using it. Still no apps listed as requesting location access in the location settings.

Edit:
So I started poking around a bit through SSH. I can see the gpsOneXTRA servers (for AGPS) in /etc/gps.conf, but when I query the modem it reports it isn't initialized with any gpsOneXTRA data:

Code:
$ echo "AT+QGPSXTRA?" | atinout - /dev/EG25.AT -
AT+QGPSXTRA?


+QGPSXTRA: 0



OK

I still have uNav running from before so gpsd should still be active (uNav still haven't updated from what looks like an IP geolocated position).

Although when messing around with the uNav UI I realized the pin is just where it thinks I last pressed the map, so please disregard my previous comments about giving a location in another country and so forth. Turns out that must have been the location on the map below the button to get the GPS location.
  Reply
#38
(06-11-2020, 07:26 AM)vgnmnky Wrote: I followed the original instructions, but it when I type "sudo /etc/init.d/gpsd start", it said command not found.  I tried "sudo gpsd start", then the rest of the commands, went to uNav, and it found me Smile  As did Pure Maps.  This is without a sim.

*Stopped working after phone went to sleep.  Re-did the steps from restart location-services, and it worked again.

Still wish I had my original icons and keyboard symbols back though!  Switching to devel 46 seems to have messed them up.  Some symbols/icons are now blank, so it's difficult to use the keyboard, especially in terminal when I want to use the navigation layer.
I ran into this same issue when the phone went to sleep. those last 3 steps got unav working for me.
  Reply
#39
Okay family; what's the crack? Has anyone managed to get gps to run after reboot or on startup without needing to manually reinitialize in the terminal? This should be a top priority!
  Reply
#40
(08-15-2020, 02:01 PM)Cree Wrote: Okay family; what's the crack? Has anyone managed to get gps to run after reboot or on startup without needing to manually reinitialize in the terminal? This should be a top priority!


Here the GPS worked after at least 10 minutes of waiting. Before this I disabled/enabled location services. It misses ca. 40m from the correct position. But principally it seems to work
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Testing Crust Deep-sleep Luke 53 80,246 08-06-2020, 11:10 AM
Last Post: erikinkinen
  Testing and Donating jmasters 2 4,575 06-30-2020, 11:32 PM
Last Post: jmasters

Forum Jump:


Users browsing this thread: 4 Guest(s)