06-03-2020, 10:15 AM
Testing GPS
|
06-05-2020, 05:13 AM
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 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. (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 As did Pure Maps. This is without a sim. 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 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 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:
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.
06-13-2020, 05:04 AM
(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.
06-13-2020, 04:56 PM
(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. 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).
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 - 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.
08-06-2020, 09:47 AM
(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 As did Pure Maps. This is without a sim.I ran into this same issue when the phone went to sleep. those last 3 steps got unav working for me.
08-15-2020, 02:01 PM
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!
08-16-2020, 04:46 AM
(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 |
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Testing Crust Deep-sleep | Luke | 53 | 80,264 |
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 |
Users browsing this thread: 3 Guest(s)