Raspberry Pi 3 Camera module not working anymore on bullseye (used to work on buster)

December 22, 2023, 19:53

jbbqqf

Hello, Is someone aware of an issue targeting this model of camera ? An article seems to indicate a compatibility issue but it sounds strange https://core-electronics.com.au/guides/raspberry-pi-bullseye-camera-commands/ How can I diagnose this compability issue ? I have:
% libcamera-hello
libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:01:57.813732765] [1621]  INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
ERROR:  no cameras available 
Plus
dmesg |grep -i imx
dmesg |grep -i camera
Doesn't return anything.

k9t33n

ok try taking it out, cleaning it and putting it back in

k9t33n

then run
sudo apt-get update && sudo apt-get upgrade && sudo reboot now

jbbqqf

what would be the command that would indicate it's compatible or uncompatible ?

jbbqqf

I have found an old sd card with a buster version of raspbian. I have activated the camera module in raspi-config. I rubbed the metal pins of the camera against my clothes. I plugged it again, rebooted. The command vcgencmd get_camera returns supported=0 detected=0 🤔

k9t33n

did you run this?

jbbqqf

I just did.

jbbqqf

% cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

jbbqqf

Note that this SD card has been flashed a few years ago with others. Some of them are in use and support the same model of camera that is currently plugged in. The raspberry pi 3 that is powering everything is also part of a series that I purchased a while ago. Some of that series are in use.

jbbqqf

Ideally I would like to make the camera work with the same pi 3 on a fresher version of raspbian (bullseye). I can also live with old buster raspbian distributions. The issue I'm having is managing to diagnose what's wrong with that old hardware 😐

jbbqqf

I just noticed that now the raspi-config command > Interface Option displays the line "Legacy Camera". Before running apt upgrade "legacy" wasn't part of the label

k9t33n

you might need to upgrade your linux

jbbqqf

Can you be more precise ? Bullseye ?