So, google search returned Pi5 and hq camera don’t work together in Ubuntu 24.04
That’s not completely true, the new tools do show video and jpg images but that’s not supported by stvid (from cbassa repository at least)
So, switched to Bookworm 64 on the Pi5 where the camera tools work, camera connected to J4 / cam1 by the way.
But cbassa’s repository still failed on Picameraz
Eelke replied to try his repository GitHub - EelkeVisser/stvid at picamera2 · GitHub
Which I tried but apparently the wrong way. Never thought about the git checkout
So what works now:
sudo apt update
sudo apt install -y python3-picamera2 python3-libcamera libcamera-apps python3-venv git make gcc
cd ~/software
git clone GitHub - EelkeVisser/stvid: Satellite tracking with video cameras · GitHub
cd stvid
git checkout picamera2
But, neither 64 bit OS ? supports pip installing anymore and complains about externally managed environment.
So it requires to make a venv.
The default venv settings did not give access to the installed camera libraries and tools, so, not working:
python3 -m venv stvid-env
source stvid-env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
This does install the requirements, but not working camera environment.
And the tle-updater.py from Eelke’s repository does not work , giving 400 errors on url. So I removed all lines and replaced them by the tle-updater.py from cbassa’s repo
All tle’s ended up in the right folder but still problems accessing Picamera2 from module picamera2
So : tried this
Not working:
sudo apt update
sudo apt install -y python3-picamera2 python3-libcamera libcamera-apps
source stvid-env/bin/activate
python3 acquire.py
STVID appears to be running in an venv with no access to system site packaged.
So:
rm -rf stvid-env
python3 -m venv --system-site-packages stvid-env
source stvid-env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
(failed with one error for which duck duck go advised to also pip install --upgrade setuptools wheels )
After following Duck’s advice the requirements installed without problems.
Changed some configuration.ini settings to match my location and setup.
Run the picamera2 check
python3 -c “from picamera2 import Picamera2; print(‘OK’)”
With the lovely output “OK”
Started python3 acquire.py -t 600 -l and magically a window popped up, showing a bright white screen. Brightness changed with moving the diafragma ring
After that I asked CoPilot how to get vnc access without HDMI cable connected to the Pi
Had to enable VNC in raspi-config
Had to add a virtual screen
sudo nano /boot/firmware/config.txt
Add these lines to the bottom
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=82
Saved and shutdown the Pi5
Removed the mini hdmi and USB keyboard
Repowered the Pi5 by network / poe connecting
Checked for the Pi5 by ping.
Connected vnc to port 5900 and voila, there was light.
The unanswered question is, would this have worked with Ubuntu 24.04 with Eelke’s repository too…









