HackerGadgets AIO Board Package

Got the cm5 kit with SSD all up and running nice.

2 Likes

it should be in addition. the pi5 and all section in my config.txt as follows.

[pi5]
dtoverlay=spi0-0cs
dtoverlay=clockworkpi-uconsole-cm5
dtoverlay=vc4-kms-v3d-pi5,cma-384
dtparam=pciex1
dtparam=uart0

[all]
dtoverlay=spi1-1cs
usb_max_current_enable=1

# Clock CM5
# disable the CM5 internal RTC
dtparam=rtc=off
# i2c_csi_dsi0, remap the i2c0 to GPIO38/39 on CM5
dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi0

ignore_lcd=1
max_framebuffers=2
disable_overscan=1
dtparam=audio=on
dtoverlay=audremap,pins_12_13
dtoverlay=dwc2,dr_mode=host
dtparam=ant2
1 Like

hi, I am freshmen to configuring and installing packages in linux. I have trouble with installing the package hackergadgets-uconsole-aio-board, returning errors of unable to locate such package. Though I was able to install other packages like meshtasticd. I am wondering if I was having trouble accessing the source distributing this package.

For those that don’t know. We updated the aiov2_ctl script over the last week and you can now gets the apps via the –add-apps command.

I’ll be working in any configuration tips the community finds, so feel free to nudge me so I can look into those. I’m helping Vileer with the software side of things a bit.

I added a bunch of useful features to the script, refactored various bits and automated as much as I could. It’s all documented on the official wiki too.

6 Likes

Looks great! Congratulations on your purchase

1 Like

I am having a hard time with the gui. I installed the package. But the gui tells me I need python and how to install it. I use the git to install it but it says it’s installed. I see the gui icon but nothing opens. It worked the first time, not sure how to fix it now. Any suggestions?

I ran into a problem trying to install the hackergadgets-uconsole-aio-board. It would install 99% of everything but then fail at the last minute with this error:

FATAL: could not find aircraft.json in any of the usual places!
checked these: /run/readsb /run/dump1090-fa /run/dump1090 /run/dump1090-mutability /run/adsbexchange-feed /run/skyaware978
--------------
You need to have a decoder installed first, readsb is recommended:
https://github.com/wiedehopf/adsb-scripts/wiki/Automatic-installation-for-readsb
--------------
dpkg: error processing package tar1090 (--configure):
 installed tar1090 package post-installation script subprocess returned error exit status 1

I did some random poking at things and got a bit farther, but it threw a different error.

--------------
Jan 26 04:15:07 clockwork readsb[7386]: lowestGain:  0.0 noiseLowThreshold:  27 noiseHighThreshold:  31 loudThreshold: 243
Jan 26 04:15:07 clockwork readsb[7386]: 30002: Raw TCP output port
Jan 26 04:15:07 clockwork readsb[7386]: 30005: Beast TCP output port
Jan 26 04:15:07 clockwork readsb[7386]: 30003: SBS TCP output ALL port
Jan 26 04:15:07 clockwork readsb[7386]: 30001: Raw TCP input port
Jan 26 04:15:07 clockwork readsb[7386]: 30004: Beast TCP input port
Jan 26 04:15:07 clockwork readsb[7386]: 30104: Beast TCP input port
Jan 26 04:15:07 clockwork readsb[7386]: FATAL: rtlsdr: no supported devices found.
...
--------------
ERROR: readsb service didn't start.
       common issues: SDR not plugged in.
       the webinterface will show an error until readsb is running!
       If you can't fix the issue:
            Open a github issue or contact wiedehopf on discord (https://discord.gg/DxU4VG37JS) and post the above 30 lines of log!
--------------

common issues: SDR not plugged in :light_bulb: … this message is what finally made me realize what was happening. Part of the tar1090 package’s post-install scripting involves starting something called readsb, and readsb won’t start unless it’s able to connect to an RTL-SDR device.

At this point I hadn’t installed the aiov2_ctl script yet, but I found the directions on how to manually turn on the power to the RTL-SDR device.

pinctl 7 op && pinctl 7 dh

:white_check_mark: After doing this, sudo apt --configure tar1090 succeeded, and other apt commands after this worked as expected.

Which begs the question, why didn’t the directions say to power on the RTL-SDR device? Turns out there’s a note in HackerGadgets’ AIO setup guide explaining that the CM5 boots up with GPIO 7 high, and if you’re not planning to use the SDR you should turn it off. My guess is that whoever wrote those directions, was using a CM5.

For me, using a CM4, GPIO 7 is low when the machine boots. This means the RTL-SDR device isn’t being powered, which causes readsb to not be able to connect to it, which causes the dpkg --configure tar1090 step to fail. (Luckily the CM5 I had ordered, finally arrived.

1 Like

If you see the icon, it should be working.

Did you run the setup?
sudo python3 ./aiov2_ctl.py --install

After grabbing the repo from git? Are you on the update? (aiov2_ctl –update)

I might need to do a fresh install. I saw the icon at first and it worked. After restart I see the shortcut but it doesn’t do anything. The wifi card seems to be going in and out. I see it on the desktop to select a network then it disappears. I will disassemble and make sure everything is good and do a fresh install of everything and touch back.

@vileer … Somebody above mentioned that their AIO kit came with a battery for the RTC. My kit didn’t come with one, and I’m not asking you to send one - I have a ā€œbattery storeā€ right up the street from my home.

However, I do need to know …

  • what size battery it takes
  • how to use the RTC with a CM4 using the ClockworkPi adapter board
  • how to use the with a CM5 using the HackerGadgets adapter board, or whether to use it with a CM5, since I’ve seen it mentioned that the CM5 has a built-in RTC

Thanks.

cr1220 as the site says and you you set it via command. See here. GitHub - hackergadgets/aiov2_ctl: This is a client for controll the aiov2

Is that the internal usb/transistor issue? We cover that on the wiki under troubleshooting.

I don’t know, it might be. I reached out to see if I was one of those affected but no response yet. I guess I can take it out and see if it works on the usb-c external and if it does then I guess I have to do the fix.

All of the initial orders were affected. :’)

After installing the package I’m getting everything to work except sdr++ brown. I’m seeing the radio waves but getting no sound, is anyone else having this problem? Cm4 and made sure the right boxes are checked.

you probably need to configure an audio sink

These notes fixed my sound issue
ā€If you’re using Trixie you’ll need to add an audio sink. On the left side scroll down to Module Manager. At the bottom of Module Manager type audio and select linux_pulseaudio_sink then click the + symbol. Then add the audio sink in the Sinks menu on the left side back up towards the top.ā€

1 Like

It It seems my GPS is working but I can no longer see the bars at the bottom. Also doesn’t update on tar1090 when I hit the home button. It takes me to a completely different state. Any suggestions? TY!

did you turn on meshtastic too?

Thank you, this fixed it!!

1 Like