Problems you were having?
I cannot get my camera to work despite following the guides to T. In the first one, I cannot get the driver to install because it says I have the wrong kernel version (my kernel is up-to-date) and on the second one, I ran through all the steps properly, but the camera is still not working. The third one went perfectly fine as well, but likewise, the camera is still not working. It is saying “*** no cameras available ***” when I try to test the camera with libcamera hello.
I verified that the camera is plugged in correctly because it is getting power to ground and vcc (tested with multimeter).
The dmesg log from your hardware?
I have run “dmesg | grep arducam” and it returns nothing.
Troubleshooting attempts you’ve made?
I tried enabling legacy camera in raspi-config and that didn’t get it to work.
What help do you need?
I need to figure out how to get my IMX298 to work. This camera previously worked on this same raspi board back in 2020 on a different install. So, I know there is a way to make it work somehow. If there is any additional information I can provide please feel free to ask.
Hi @Edward thank you for your reply! I tried your steps above, but I had a few problems.
In /boot/config.txt, I already had a dtoverlay set to “pi3-miniuart-bt” which is required because the Pi is connected to my SKR Mini board via UART. Can I set a dtoverlay for both of them?
I also had two [all] categories for some reason.
[all]
[pi4]
dtoverlay=vc4-fkms-v3d
# Run as fast as firmware / board allows
arm_boost=1
[all]
dtoverlay=pi3-miniuart-bt
#dtoverlay=arducam-pivariety
enable_uart=1
dtparam=i2c_vc=on
dtparam=i2c_arm=on
gpu_mem=128
When I did set dtoverlay to arducam-pivariety, dmesg | grep arducam actually output some text, but it was the following:
and the command libcamera-still -t 5000 -o test.jpg outputs:
Preview window unavailable
[0:04:39.866708069] [2219] INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4225-74d023d8
ERROR: *** no cameras available ***
What should I do from here?
EDIT:
Put dtoverlay=arducam-pivariety under the [all] with no text under it and it didn’t interfere with my uart set up. Still not working though.
And the following error when I try to run libcamera-still -t 5000 -o test.jpg:
Preview window unavailable
[0:04:39.866708069] [2219] INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4225-74d023d8
ERROR: *** no cameras available ***
Are you talking about the one on the Arducam website that shows how to wire the ribbon cable? I checked that one and it is wired correctly according to that.