HackerGadgets AIO Board Package

I just set up my gps data to feed into chrome this week. I am no expert, so it was a bit… intense. A good place to start is here: https://forum.clockworkpi.com/t/gpsd-chrome-extension/18011?u=casperer007

It’s a beautiful little set up that lets you use your gps in multiple apps without clogging up the serial port by using gps-share and gpsd.

Getting gps data into firefox was as easy as setting up gpsd for me. Your /etc/default/gpsd you posted looks pretty good aside from the “/” in tty/AMA0, should just be ttyAMA0.

However, getting gps data in chrome involves loading in an extension yourself. You can look at that link if you are interested in enduring the same pain I’ve suffered

but that little blue dot on the map is worth all the effort in my book lol

2 Likes

Perfect, thanks a lot! And @snipeytje too!!
The slash fixed it somewhat indeed, at leat getting some output on command line.
But you mentioned on Firefox it “just worked”? Im trying that now, but its giving an error without too much details after trying to give permissions

And i eventually wantt that Chrome plugin and GPS share etc, but seems a bit much for now :wink:

yes. firefox “just worked.” Mine was fully set up to use data from gpsd already. As long as you don’t have anything else using the gps, I don’t see why it shouldn’t work. I haven’t checked while only using gpsd, but from everything I have read on the matter it should work fine as long as gpsd is running, as long as nothing else is using the gps at the time.

1 Like

Hmm ok, might try the full route shared in the other post then. I cant get get firefox or Gnome Maps to find anything.

BUT! For now i installed foxtrotgps, and that worked out of the box! And it has multiple terrain views also, and the option to mark locations with a tag. So exactly the basic features i was looking for in this weekends application.

I really just need to walk to the corners of a couple of lots of land i might buy, and log GPS coordinates. But this is Panama, it also helps in negotiations to impress the seller a bit,and the Uconsole will likely make more of an impact than a phone :wink:

1 Like

I install Organic Maps.. it as offline mode !

HI, First time poster here - I am curious if anybody else has experienced a RTL-SDR that is intermittently present/absent in a lsusb command - I have got the RTC and GPS working beautifully, but the SDR is being elusive. I have re-flashed the firmware from the latest version as suggested in he video by “Jeremiah of All Trades”, but the SDR component is being elusive. I have had the board out - the soldering looks ok, and the edge connector is nice and clean.

i’d contact hackergadgets support about that. even with no software installed and just the card in you should see the sdr with lsusb every time.

@Rex have you managed to get Dragon or Kali working with the HackerGadgets AIO Board yet?

the new dragonos is fully supported now. kali has some dependency problems so won’t install fully.

1 Like

Excellent thanks for all your hard work

1 Like

@Rex so I’ve installed the DragonOS img and ran your hackergadgets script. Everything was working but suddenly there is no sound coming from the SDR++ app. I’ve checked everything including the checked box next to radio. I’ve even swapped the OS for Bookworm and it works just fine. Any ideas?

in this section it tells you how to add an audio sink to sdr++ you’ll have audio then.
sdr++

GENIUS! Thanks, you’re the best!

1 Like

Continuing the discussion from HackerGadgets AIO Board Package:

Having issues with Meshtastic, how to resolve

E: Unable to correct problems, you have held broken packages.
roro@clockworkpi:~ $ sudo apt reinstall clockworkpi-kernel
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following packages were automatically installed and are no longer required:
blt build-essential cpp cpp-12 dirmngr dos2unix dpkg-dev fakeroot
fontconfig-config fonts-dejavu-core g++ g+±12 gcc gcc-12 gdal-data
gdal-plugins git git-man gnupg gnupg-l10n gnupg-utils gpg gpg-agent
gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv javascript-common jq
libaec0 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libaom3 libarmadillo11 libarpack2 libasan8
libassuan0 libatomic1 libatomic1:armhf libblas3 libblkid1 libblosc1
libbluetooth-dev libbluetooth3 libbrotli-dev libbrotli1 libbsd0
libbz2-1.0:armhf libcc1-0 libcfitsio10 libcom-err2:armhf libcurl3-gnutls
libcurl4 libcurl4-gnutls-dev libdav1d6 libdb5.3:armhf libde265-0 libdeflate0
libdpkg-perl liberror-perl libevent-2.1-7 libexpat1:armhf libfakeroot
libffi8:armhf libfile-fcntllock-perl libfontconfig-dev libfontconfig1
libfontconfig1-dev libfreetype-dev libfreetype6 libfreexl1 libfribidi0
libfyba0 libgcc-12-dev libgdal32 libgeos-c1v5 libgeos3.11.1 libgeotiff5
libgfortran5 libgif7 libglib2.0-0 libglib2.0-data libgmp-dev libgmp10
libgmpxx4ldbl libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev
libgnutls30 libgnutlsxx30 libgomp1 libgpiod-dev libgpiod2 libgpm2:armhf
libgraphite2-3 libgssapi-krb5-2:armhf libharfbuzz0b libhdf4-0-alt
libhdf5-103-1 libhdf5-hl-100 libheif1 libhogweed6 libhwasan0 libi2c-dev
libi2c0 libicu72 libidn2-dev libimagequant0 libisl23 libitm1 libjansson-dev
libjbig0 libjpeg-dev libjpeg62-turbo libjpeg62-turbo-dev libjq1 libjs-jquery
libjs-sphinxdoc libjs-underscore libjson-c5 libk5crypto3:armhf
libkeyutils1:armhf libkmlbase1 libkmldom1 libkmlengine1 libkrb5-3:armhf
libkrb5support0:armhf libksba8 liblapack3 liblcms2-2 libldap-2.5-0 liblerc4
liblsan0 libltdl7 liblzma5:armhf libmariadb3 libmicrohttpd-dev
libmicrohttpd12 libminizip1 libmount1 libmpc3 libmpfr6 libncurses-dev
libncurses6 libncursesw6:armhf libnetcdf19 libnettle8 libnghttp2-14 libnpth0
libnsl2:armhf libnspr4 libnss3 libnuma1 libodbc2 libodbcinst2 libogdi4.1
libonig5 libopenjp2-7 liborcania-dev liborcania2.3 libp11-kit-dev
libp11-kit0 libpkgconf3 libpng-dev libpng-tools libpng16-16 libpoppler126
libpq5 libproj25 libpsl5 libpthread-stubs0-dev libqhull-r8.0 libraqm0
libreadline8:armhf librtmp1 librttopo1 libsasl2-2 libsasl2-modules-db
libsnappy1v5 libspatialite7 libsqlite3-0:armhf libssh2-1 libssl-dev
libssl3:armhf libstdc+±12-dev libsuperlu5 libsystemd-dev libsz2 libtasn1-6
libtasn1-6-dev libtcl8.6 libtiff6 libtinfo6:armhf libtirpc3:armhf libtk8.6
libtsan2 libubsan1 libudev1 libulfius-dev libulfius2.7 libunbound8
liburiparser1 libusb-1.0-0 libusb-1.0-0-dev libuuid1:armhf libwebp7
libwebpdemux2 libwebpmux3 libx11-6 libx11-data libx11-dev libx265-199
libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxerces-c3.2
libxext-dev libxext6 libxft-dev libxft2 libxml2 libxrender-dev libxrender1
libxslt1.1 libxss-dev libxss1 libyaml-cpp-dev libyaml-cpp0.7 libyder-dev
libyder2.0 lsb-base mariadb-common mysql-common nettle-dev patch
pinentry-curses pkg-config pkgconf pkgconf-bin poppler-data proj-bin
proj-data shared-mime-info tcl tcl-dev tcl8.6 tcl8.6-dev tk tk-dev tk8.6
tk8.6-blt2.5 tk8.6-dev unixodbc-common uuid-dev x11-common x11proto-core-dev
x11proto-dev xdg-user-dirs xorg-sgml-doctools xtrans-dev
Use ‘sudo apt autoremove’ to remove them.
The following NEW packages will be installed:
clockworkpi-kernel
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 96.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://raw.githubusercontent.com/ak-rex/ClockworkPi-apt/main/debian stable/main arm64 clockworkpi-kernel arm64 6.12.55-v8-16k+ [96.2 MB]
Fetched 96.2 MB in 1min 3s (1,524 kB/s)
Setting up python3.11-minimal (3.11.2-6+deb12u6) …
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = ‘/usr/bin/python3.11’
isolated = 0
environment = 0
user site = 1
safe_path = 0
import site = 0
is in build tree = 0
stdlib dir = ‘/usr/lib/python3.11’
sys._base_executable = ‘/usr/bin/python3.11’
sys.base_prefix = ‘/usr’
sys.base_exec_prefix = ‘/usr’
sys.platlibdir = ‘lib’
sys.executable = ‘/usr/bin/python3.11’
sys.prefix = ‘/usr’
sys.exec_prefix = ‘/usr’
sys.path = [
‘/usr/lib/python311.zip’,
‘/usr/lib/python3.11’,
‘/usr/lib/python3.11/lib-dynload’,
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the file
system encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named ‘encodings’

Current thread 0x0000007f862334c0 (most recent call first):

dpkg: error processing package python3.11-minimal (–configure):
installed python3.11-minimal package post-installation script subprocess return
ed error exit status 1
dpkg: dependency problems prevent configuration of python3-minimal:
python3-minimal depends on python3.11-minimal (>= 3.11.2-1~); however:
Package python3.11-minimal is not configured yet.

dpkg: error processing package python3-minimal (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3.11-minimal
python3-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

not sure what you’ve done to your install. is this from a fresh install or existing? what error did you get to try and reinstall the kernel?

I’m on an existing install (not fresh). After:

  • sudo apt update && sudo apt --install-recommends install hackergadgets-uconsole-aio-board -y

  • sudo apt install meshtastic-mui -y

apt/dpkg broke with:
dpkg: error processing package python3-minimal (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing: python3.11-minimal python3-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

I didn’t attempt a kernel reinstall before this. Below are env details and logs; guidance appreciated.

what have you installed or changed in regards to python?

Just the basic packages

i was having the same issue as Frizard and was using the stock image. i downloaded the Dragon OS image from your google drive and am having issues flashing it with Balena. it is showing as a compressed image.. do i need to extract it before flashing? just before Balena finishes flashing it comes back with and error and the uconsole wont boot it. what am i doing wrong?

No need to decompress the file using normal flashing methods. Balena might not support compressed images though, not sure as I’ve never used it. Try raspberry pi imager without any custom settings.