I'm trying to figure out why everytime I poweroff and back on my device I need to manually enable the camera so I ran these 2 functions to get more insight on the situation.

For vcgencmd get_camera im getting supported=1 detected=0

For raspi-config nonint get_camera I'm getting 0 which means its on according to https://pi3g.com/2021/05/20/enabling-and-checking-i2c-on-the-raspberry-pi-using-the-command-line-for-your-own-scripts/

I'm not really understanding how this makes any sense so whats the difference between the two commands?

  • raspi-config nonint get_camera: just did a search on the page you linked to and I cannot find any reference to get_camera. Are you sure it means what you think it does? Please find a definite reference that supports your view.
    – Dirk
    Dec 8, 2021 at 12:24
  • See github.com/RPi-Distro/raspi-config/blob/master/…. On Buster it looks as if it only checks if it's supported (start_x defined in config.txt) so there is no difference between both methods. It's a bit more complicated on Bullseye
    – Dirk
    Dec 8, 2021 at 12:32


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.