Which system do you use? Android, Ubuntu, OOWOW or others?
Android
Which version of system do you use? Khadas official images, self built images, or others?
latest official android image
Please describe your issue below:
Hello, I am lookung for a gps module for egde2 on android os. Could you recommend any modules that will work 100% with egde2? I need it for my car project (for google maps etc.).
P.s. also I have a edge2 IO module, and maybe it can be used to connect gps module with egde2
@Emil_902 You can use a USB GPS module. However, the firmware currently does not support GPS functionality. You need to add it yourself. I will provide instructions on how to add GPS functionality.
Hello! I have a U-blox M8030-KT GPS usb dongle. When I connect it to khadas edge2 it needs confirmation every time to use it. I checked the save settings box, but after a reboot, khadas again asks for permission to use USB. The same problems are observed when connecting USB iODD st400 (SSD samsung 2Tb) and USB 3.0 Video capture. How to solve the problem so that when connecting external USB devices, khadas does not ask for permission?
@magetra Can you take a photo and see the pop-up information for me? Alternatively, you can make the following code modifications for verification.
frameworks/base$ git diff
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index d6c52ca4cd31..7db63f38c8cf 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -2552,7 +2552,7 @@
<!-- If true, then we do not ask user for permission for apps to connect to USB devices.
Do not set this to true for production devices. Doing so will cause you to fail CTS. -->
- <bool name="config_disableUsbPermissionDialogs">false</bool>
+ <bool name="config_disableUsbPermissionDialogs">true</bool>
@magetra You need to download the code SDK to compile and download firmware. Alternatively, you can use ADB to push my compiled file(framework-res.apk) to your machine:
goenjoy Please tell me, is it enough to make changes to the two files device.mk and ueventd.rockchip.rc for the u-blox Gps to work. Isnāt it still necessary to add it to the kernel config kedge2_defconfig
CONFIG_GNSS=m
CONFIG_GNSS_SERIAL=m
CONFIG_GNSS_UBX_SERIAL=m
@denbon
1ļ¼No need.
2ļ¼Please refer to the following link for hardware connection. There are a lot of modifications needed in the software, such as changing the uart debug port to a regular uart function. We have not yet verified uart GPS.