2025-03-03 5:44 PM
Hi,
I have installed the v4l2 driver for the STEVAL-56G3MAI1 camera module on ubuntu 22.04.05 LTS on a RPI CM4. But I am unable to access the module through /dev/video0.
I have followed the instructions in the linux start guide fro ST BrightSense but I cannot get it to work.
I am not sure if I need to do something in addition to these instructions:
cd en.vd56g3_1.0.3/src
make
sudo cp *.ko /lib/modules/$(uname -r)
sudo depmod -a
sudo reboot
sudo apt update
sudo apt install device-tree-compiler
cd en.vd56g3_1.0.3/dts/rpi1_to_4/
sudo dtc pcb4188_vd56g3.dts -o /boot/firmware/overlays/pcb4188_vd56g3.dtbo
sudo sh -c "echo 'dtoverlay=pcb4188_vd56g3' >> /boot/firmware/config.txt"
sudo reboot
v4l2-ctl --list-devices gives:
unicam (platform:fe801000.csi):
/dev/media3
Cannot open device /dev/video0, exiting.
Is there something I am missing in the setup? Should the driver be placed in a different folder?
Thanks for any assistance!
Solved! Go to Solution.
2025-06-09 11:57 PM
Hi,
We just updated our libcamera package to also include source code. Maybe it will be easier for you to rebuild directly from our source. You will get the up to date tuning file alongside it too.