GPS Permission on Ubuntu

138 views
Skip to first unread message

GYRO_N5EG

unread,
Jun 27, 2025, 11:35:26 PMJun 27
to Apps4Av Forum

I am running AvareX via the executable folder on a Pi 5 with Ubuntu OS loaded. I am trying to use a GPYes 2.0 u-blox 8 USB GPS Unit; but I have the error in AvareX that says “GPS permission is denied, please enable it in device settings.”

I have location turned on in the Ubuntu settings.  

I also have gpsd and gpsd-clients installed and can see that the GPS unit working via gpsx.

Has any one been able to solve this?

              Thanks. 

Apps4av Support

unread,
Jun 28, 2025, 9:46:06 AMJun 28
to GYRO_N5EG, Apps4Av Forum
Have never used a GPS external unit with Linux. Will need to check. ETA on this is about a month.

Regards,
Apps For Aviators Support,

We encourage users to use the Forum for all questions. Any updates to the forum will help other users, who might have similar questions.
Forum: https://groups.google.com/forum/#!forum/apps4av-forum



--
You received this message because you are subscribed to the Google Groups "Apps4Av Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apps4av-foru...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/apps4av-forum/bf98a881-e2e5-42f8-b9cf-8dde8a85a467n%40googlegroups.com.

GYRO_N5EG

unread,
Jun 28, 2025, 10:24:05 AMJun 28
to Apps4Av Forum
Thank you for the note. I look forward to the next AvareX release as i continue to make a custom Pi tablet. 

Ben Hansen

unread,
Jun 28, 2025, 10:28:56 AMJun 28
to GYRO_N5EG, Apps4Av Forum

Hey just wanted to say that this is really interesting glad to be following this pie trip


GYRO_N5EG

unread,
Jun 29, 2025, 6:06:48 PMJun 29
to Apps4Av Forum

I did a test with a DIY Stratux ADS-B unit. The Pi 5 running AvareX was able to connect to the Stratux via wi-fi, but the AvareX app did not seem to get any data. I was really hoping the AvareX software would be able to use the GPS location from the Stratux, but I guess not. Unfortunately, this means I will have to put this Pi flight tablet on hold until AvareX can talk to an ADS-B unit or directly to a USB GPS dongle. I really hope we can get there!

(Note: This exact same Stratux ADS-B unit works fine with my phone running Avare. I still use Avare, not AvareX in the plane as it has more features/configuration options.) 

Brent Byers

unread,
Jun 30, 2025, 11:10:23 AMJun 30
to Apps4Av Forum
You may have to manually config the stratux to send packets to the Pi device.  That will require adding a hard-set address for that pi.

John W 4sba

unread,
Jul 2, 2025, 1:09:06 AMJul 2
to Brent Byers, Apps4Av Forum
Brent wrote:
> You may have to manually config the stratux to send packets to the Pi
> device. That will require adding a hard-set address for that pi.

So if someone (I would if I could) wrote a small script or applet to
find that address, and if AvareX added an option to input it, anyone
with StratuX and AvareX would have an easy non-technical way of setting
up their system(s)?

Bradley Spatz

unread,
Jul 2, 2025, 3:02:58 PMJul 2
to Brent Byers, apsco...@gmail.com, Apps4Av Forum
I agree with Brent.  I'm no stratux expert but have some experience as a DIY stratux user (v1.6r1-eu027).  To amplify Brent's point:

To manually configure the stratux to send packets to the Pi device you need to connect to the stratux via a web browser pointing at the stratux IP address, e.g. something like http://192.168.10.1 (or whatever the stratux IP address is).  Using the web interface navigate to the Settings tab and enter your device IP address in the "Static IPs" box (see attached screenshot annotated with a red box).  That should direct stratux packets to your Pi/device.

If that solves your problem, and your device/WiFi-network addressing isn't fixed/static, then you may want to look at automating pushing your client device dynamic IP address to the stratux config via an existing API documented on https://github.com/cyoung/stratux/blob/master/notes/app-vendor-integration.md (setSettings).  Using HTTP POST "/setSettings" you'd send something like:

   { "StaticIps": [ "192.168.10.30" ] }

to the stratux where 192.168.10.30 is the IP address of your Pi.  

FYI, setting your client IP address to receive stratux data is automagic when your WiFi network is hosted by the stratux (as AP and via DHCP).

I hope this helps.  If you have questions or I misunderstand the network particulars, please let me know.  Blue Skies!


On Mon, Jun 30, 2025 at 11:10 AM Brent Byers <wire...@gmail.com> wrote:
You may have to manually config the stratux to send packets to the Pi device.  That will require adding a hard-set address for that pi.

On Sunday, June 29, 2025 at 5:06:48 PM UTC-5 GYRO_N5EG wrote:

I did a test with a DIY Stratux ADS-B unit. The Pi 5 running AvareX was able to connect to the Stratux via wi-fi, but the AvareX app did not seem to get any data. I was really hoping the AvareX software would be able to use the GPS location from the Stratux, but I guess not. [snip]

stratux-unicast-config-v1.6r1-eu027.png

Jeffrey Ross

unread,
Jul 2, 2025, 3:04:46 PMJul 2
to apps4a...@googlegroups.com
IIRC Stratux without user intervention will only forward ADS-B data to devices that it provides a DHCP address to, of course that doesn't help when it isn't providing DHCP.

Jeff
--
You received this message because you are subscribed to the Google Groups "Apps4Av Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apps4av-foru...@googlegroups.com.

GYRO_N5EG

unread,
Aug 15, 2025, 11:24:07 PMAug 15
to Apps4Av Forum
quick update. I tried connecting the Pi5 with AvareX to a Pi4 with the stratux ADS-B software installed and a USB GPS module. and it work! at least in this bench test. I am now sure why it did not work with the one in the plane. (only difference is its a Pi3b+)

Still no luck getting a USB dongle to just work with AvareX both on the same Pi5. Any chance this capability will be rolled in to the next update?

Apps4av Support

unread,
Aug 16, 2025, 7:59:49 AMAug 16
to GYRO_N5EG, Apps4Av Forum
This is not a AvareX issue. You need to change your pi network. There were posts before on how to do it. You can use a single pi.

Regards,
Apps For Aviators Support,

We encourage users to use the Forum for all questions. Any updates to the forum will help other users, who might have similar questions.
Forum: https://groups.google.com/forum/#!forum/apps4av-forum


GYRO_N5EG

unread,
Aug 16, 2025, 12:02:12 PMAug 16
to Apps4Av Forum
Forgive me if i missed something or was not being clear. I am asking if there is a way to plug a USB GPS dongle, such as the GPYes 2.0 u-blox 8 USB GPS Unit, directly in to a Pi5 that is running AvareX to get GPS location. (not using Stratux at all)
When i try to do this using the GPYes 2.0 u-blox 8 USB GPS Unit, it says it does not have GPS permission. (i am running Ubuntu, with the location option turned on) 

If some one has figured this out, fantastic! and can you please point me in the right direction. 

Apps4av Support

unread,
Aug 16, 2025, 12:29:17 PMAug 16
to GYRO_N5EG, Apps4Av Forum
Got it. I have a USB GPS and can try.

Regards,
Apps For Aviators Support,

We encourage users to use the Forum for all questions. Any updates to the forum will help other users, who might have similar questions.
Forum: https://groups.google.com/forum/#!forum/apps4av-forum


Bruce B

unread,
Aug 18, 2025, 10:56:30 AMAug 18
to Apps4Av Forum
I think the issue here is that just plugging a USB GPS into a raspberry pi isnt going to do anything.  
I'm not sure of what is involved in 'location services' in a desktop image, but something would need to configure and enable the device, then receive/poll for messages, decode, and store the info somewhere that Avare is configured to look when using 'internal' location.  Even then, all the other info such as velocity, etc, would have to be computed and provided.  I suspect there is an API in IOS/Android that will provide this info to any app on the device.
I did a quick scan through the GPS GoLang module in Stratux, and there is an unbelievable amount of processing going on there!
I also just fired up my stratux and I am dumping its messages using tcpdump.  I'm basically just getting a heartbeat type message on port 4000, more messages on port 2000 and 49002.  Surely some of those messages contain GPS location, prehaps an 'ownship' message?
But TL;DR, I dont think location in linux is as easy as other platforms.

John Rodkey

unread,
Aug 19, 2025, 11:32:25 AMAug 19
to Bruce B, Apps4Av Forum
I think you want to look at gpsd , a daemon for dealing with GPS location data.



--
John (poobah) Rodkey - N9361E 11AC at Goleta
Reply all
Reply to author
Forward
0 new messages