Hi, I’m struggling to get an Arducam B0032 (imx219) camera working on a headless Raspberry Pi 4B. It’s never worked properly. The weird part is when I SSH in and open raspi-config, there’s no camera option at all in the menu. I went through every submenu and couldn’t find anything camera-related. Any ideas?
Welcome! The missing camera menu entry is actually a useful clue. On some newer Raspberry Pi OS images, the old ‘Enable Camera’ toggle was removed from raspi-config, and the camera overlay has to be added manually in the boot config instead. Before we go further - which OS version are you on? Legacy/Bullseye or the newer Bookworm?
I honestly assumed it was the legacy OS, but I’m not fully sure. The Pi is completely headless - no monitor, mouse, or keyboard - I only access it over SSH. I already poked through the entire raspi-config menu and there’s no camera option anywhere. I don’t have any logs to share, and I was starting to think it might be a bad cable connection.
Let’s figure out the OS first, because the config file location changed between releases:
- Bullseye (legacy): /boot/config.txt
- Bookworm: /boot/firmware/config.txt
Run this to check:
cat /etc/os-release
and tell me what the VERSION line says. That determines which file we edit.
Ran it - it’s Bookworm. So I was wrong about having the legacy OS. That means I should be looking at /boot/firmware/config.txt, right?
Right. Since it’s Bookworm, open the correct file:
sudo nano /boot/firmware/config.txt
Scroll to the bottom and, under the [all] section, add:
dtoverlay=imx219
Save (Ctrl+O, Enter) and exit (Ctrl+X), then reboot the Pi so the overlay loads.
That did it! After adding dtoverlay=imx219 under [all] in /boot/firmware/config.txt and rebooting, the camera is finally working. My mistake was assuming I was on the legacy OS and editing the wrong config location. The Bookworm path was the fix.
Glad it’s working! To sum up: the root cause was the missing camera option in raspi-config, which meant the imx219 overlay had to be loaded manually - and it had to go in the correct file for your actual OS. Bullseye uses /boot/config.txt, Bookworm uses /boot/firmware/config.txt, so confirming the OS version first is the key step. If anything else comes up, just post back.