Testing GPS
#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


Messages In This Thread
Testing GPS - by Luke - 05-18-2020, 02:43 PM
RE: Testing GPS - by afigegoznaet - 05-19-2020, 08:03 AM
RE: Testing GPS - by drpi - 05-19-2020, 09:29 AM
RE: Testing GPS - by Dedik - 05-19-2020, 10:20 AM
RE: Testing GPS - by colin hodsdon - 05-19-2020, 12:18 PM
RE: Testing GPS - by Dedik - 05-19-2020, 12:35 PM
RE: Testing GPS - by Luke - 05-19-2020, 12:36 PM
RE: Testing GPS - by Dedik - 05-20-2020, 12:09 AM
RE: Testing GPS - by Luke - 05-20-2020, 04:10 AM
RE: Testing GPS - by Dedik - 05-20-2020, 04:16 AM
RE: Testing GPS - by Luke - 05-20-2020, 05:47 AM
RE: Testing GPS - by Dedik - 05-20-2020, 08:40 AM
RE: Testing GPS - by Luke - 05-20-2020, 08:56 AM
RE: Testing GPS - by Dedik - 05-20-2020, 09:13 AM
RE: Testing GPS - by afigegoznaet - 05-19-2020, 12:03 PM
RE: Testing GPS - by Dedik - 05-19-2020, 12:51 PM
RE: Testing GPS - by afigegoznaet - 05-19-2020, 01:54 PM
RE: Testing GPS - by pjsf - 05-20-2020, 08:41 PM
RE: Testing GPS - by somken - 05-21-2020, 12:16 PM
RE: Testing GPS - by Luke - 05-21-2020, 12:46 PM
RE: Testing GPS - by somken - 05-21-2020, 07:32 PM
RE: Testing GPS - by drpi - 05-21-2020, 01:17 PM
RE: Testing GPS - by Luke - 05-21-2020, 01:21 PM
RE: Testing GPS - by drpi - 05-21-2020, 01:27 PM
RE: Testing GPS - by Luke - 05-21-2020, 01:28 PM
RE: Testing GPS - by PinetopPerkins - 05-24-2020, 10:05 AM
RE: Testing GPS - by ozymandium - 05-24-2020, 11:41 AM
RE: Testing GPS - by wibble - 05-25-2020, 07:36 AM
RE: Testing GPS - by pfeerick - 05-26-2020, 03:58 AM
RE: Testing GPS - by kugiigi - 06-03-2020, 07:11 AM
RE: Testing GPS - by afigegoznaet - 06-03-2020, 10:15 AM
RE: Testing GPS - by kugiigi - 06-05-2020, 05:13 AM
RE: Testing GPS - by vgnmnky - 06-11-2020, 07:26 AM
RE: Testing GPS - by Djhg2000 - 06-12-2020, 06:40 PM
RE: Testing GPS - by vgnmnky - 06-13-2020, 05:04 AM
RE: Testing GPS - by Djhg2000 - 06-13-2020, 04:56 PM
RE: Testing GPS - by files_copying - 08-06-2020, 09:47 AM
RE: Testing GPS - by Djhg2000 - 06-14-2020, 06:02 PM
RE: Testing GPS - by Cree - 08-15-2020, 02:01 PM
RE: Testing GPS - by firefox-58 - 08-16-2020, 04:46 AM
RE: Testing GPS - by wibble - 08-16-2020, 02:21 PM
RE: Testing GPS - by Csanderson0313 - 12-31-2020, 03:28 PM
RE: Testing GPS - by evaaa - 03-05-2021, 07:48 AM
RE: Testing GPS - by mirror176 - 01-21-2021, 09:10 PM
RE: Testing GPS - by Fred Zyphal - 09-24-2021, 01:37 PM
RE: Testing GPS - by Fred Zyphal - 10-01-2021, 03:04 PM
RE: Testing GPS - by wibble - 10-05-2021, 03:29 AM
RE: Testing GPS - by Fred Zyphal - 10-10-2021, 11:01 AM
RE: Testing GPS - by Fred Zyphal - 10-27-2021, 04:25 PM
RE: Testing GPS - by wibble - 10-28-2021, 04:57 AM
RE: Testing GPS - by Fred Zyphal - 10-29-2021, 03:46 AM
RE: Testing GPS - by Fred Zyphal - 12-10-2021, 12:40 AM
RE: Testing GPS - by mercrapper - 01-20-2022, 05:54 PM
RE: Testing GPS - by mercrapper - 01-25-2022, 05:40 PM
RE: Testing GPS - by Fred Zyphal - 03-03-2022, 02:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Testing Crust Deep-sleep Luke 53 80,221 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: 1 Guest(s)