Installing AIOv2_CTL

New Trixie and full AIOv2 package installed after locale messed up somehow. SDR working well. Time to install AIOv2_CTL again from…

Seems easy to follow yet 2 queries…

  1. Quote “The recommended install location is `/usr/local/bin”… how do I chose install location ?, there’s nothing implied by the python install command line. Git cloned to my downloads folder.

  2. The wiki at…

Also talks of modifying the eeprom config and boot config.txt yet may be out of date. All I notice is the line “ignore_lcd=0” is currently set to “1”.

what does this do?

sudo python3 aiov2_ctl.py --install

Good question, can’t remember where that installed to last time…

You have to manually cd into that location and then, once there, install the aiov2_ctl.

so you would boot up, open terminal, then use:

cd /usr/local/bin (if that’s where you’d like to install it), then go through the install steps.

From there, using it also requires navigating to that directory until you configure it to be run from anywhere (adding to path, making sim links, etc).

so next time you boot up, you would navigate there:

cd /usr/local/bin/aiov2_ctl

Then run: python3 aiov2_ctl.py —help

to see usage. Note that it’s - - (with no space) before the help.

It’s a script to help power up aspects of the AIOv2 board which are powered off by default.

Some common uses for me:

python3 aiov2_ctl.py usb on. You can swap usb for lora, gps, and sdr to power those up.

To check what’s running:

python3 aiov2_ctl.py — status

Again, - - with no spaces between dashes, or between the dashes and status.

I hope this helps!

1 Like

After installing… “open a new shell for bash completion to activate”… what ?

It just installed from my downloads folder !. No need to navigate to /bin before or after installation or add path etc

Had to install pyqt6 though…

bash tab completion doesn’t update, so the terminal you used to install aio ctl won’t have tab completion but all new ones should have it

1 Like

It installed to /usr/local/bin as hoped even though source was git cloned in my downloads folder (by choice).

GROK states it’s the default action of such scripts…

The update appears to be bugged @AceMedia

Not cured by shutting down the app or Uconsole.

You need to do a clean install using a freshly pulled repo.

Did you get it resolved via the other thread?

just adding a note: the script won’t work with Kali because Kali has moved on to python 3.13 and removed 3.12 from repos, while quite a couple of the dependencies are still on python3.12

Yes follwed your instructions and its working fine now :smiling_face_with_sunglasses: