I have a Raspberry Pi 4 Model B. Certain pins are used by some sensors. Once I plug my sensors into my system, the camera cannot be found by the Raspberry, on the other hand, everything works fine when I unplug my devices. I tried disabling and then re-enabling the Camera Interface. Didn't work.

pi@raspberrypi:~ $ vcgencmd get_camera
supported=1 detected=0, libcamera interfaces=0


pi@raspberrypi:~ $ raspistill -o test3.jpg
mmal: Cannot read camera info, keeping the defaults for OV5647
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
mmal: Failed to create camera component
mmal: main: Failed to create camera component
mmal: Camera is not detected. Please check carefully the camera module is installed correctly

Raspi PinOut -- Highlighted pins mean that it is used.

What could be the issue here? I wonder whether the Raspberry Pi Camera port has a connection to one of the GPIO pins in its scheme or anything similar. If so, is it possible to migrate those pins by editing /boot/config.txt?

Thanks in advance!

  • 1
    You plug in sensors. Plug in one by one until the camera fails. Which sensor causes the problem? Please edit the information into your question.
    – joan
    Apr 26, 2022 at 10:30
  • Unfortunately, it is not possible at this moment. All sensors are already soldered and I can only un/plug them all at once via an external pin.
    – Nihat
    Apr 26, 2022 at 12:56
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    May 3, 2022 at 21:20

1 Answer 1


The camera uses a number of GPIO pins, but not those on the expansion header.

This is poorly documented, but it also appears to use an I²C interface - almost certainly the reserved interface on pins 27,28 which should NOT be used for anything except HATs.

  • I also knew the same but since I don’t use them, it shouldn’t be a problem for me though. It is weird. Is there anything possible other than this?
    – Nihat
    Apr 26, 2022 at 12:58

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.