# Camera not detected

**URL:** <https://forums.pimoroni.com/t/camera-not-detected/18872>\
**Category:** Support\
**Created:** [February 13, 2022, 10:30pm UTC](https://forums.pimoroni.com/t/camera-not-detected/18872 "2022-02-13T22:30:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bovvalot](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@Bovvalot](https://forums.pimoroni.com/u/Bovvalot)\
**Post date:** [February 13, 2022, 10:30pm UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/1 "2022-02-13T22:30:40Z")

</div>

Hello, I have a raspberry pi4, with RasberryPi OS (32bit) installed from the imager.

I’m trying to get my camera to work. I’m following the instructions here:  
[Getting started with the Camera Module - Introduction | Raspberry Pi Projects](https://projects.raspberrypi.org/en/projects/getting-started-with-picamera)

when I reach the instruction:

> Select the **Interfaces** tab and ensure that the camera is **enabled** :

“camera” isn’t appearing in the list. I’ve checked and double checked that the cable has been connected properly, but I’m stuck. What might stop the camera from appearing? The camera is new, so I’m hoping not faulty.

Anything I can try to check?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Caperjack1953](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/caperjack1953/32/7923_2.png) [@Caperjack1953](https://forums.pimoroni.com/u/Caperjack1953)\
**Post date:** [February 13, 2022, 11:32pm UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/2 "2022-02-13T23:32:21Z")

</div>

with the pi off, step by step,is important! , make sure the ribbon cable is install correctly into the Camera and the Pi, correct connection is very important ,it was the error I was making when first using mine a few yr’s ago.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 14, 2022, 10:20am UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/3 "2022-02-14T10:20:02Z")

</div>

If your using the latest Pi OS release that interfaces tab has got a redo. It might be listed as CSI, and or be farther down the list. I’ll fire up my Pi 4B latter on and have a look see. Even with no Camera attached, the option to enable the interface should be there.

---

<div class="post-metadata">

**Author:** ![Bovvalot](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@Bovvalot](https://forums.pimoroni.com/u/Bovvalot)\
**Post date:** [February 15, 2022, 6:01pm UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/4 "2022-02-15T18:01:42Z")

</div>

Thanks - I’ve tried refitting the cable lots of times. I don’t think that’s the issue. Thanks for the suggestion though, much appreciated

---

<div class="post-metadata">

**Author:** ![Bovvalot](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@Bovvalot](https://forums.pimoroni.com/u/Bovvalot)\
**Post date:** [February 15, 2022, 6:10pm UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/5 "2022-02-15T18:10:46Z")

</div>

Thanks alphanumeric - my list is as follows  
SSh  
VNC  
SPI  
I2C  
Serial Port  
1-wire  
Remote GPIO

No camera or CSI - interesting that you think it should be there regardless of the camera being added. interested to hear back from you to see if your menu is dependent on the camera being plugged in or if it is just there as standard.

Again, thanks for taking the time to reply, much appreciated

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 15, 2022, 7:21pm UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/6 "2022-02-15T19:21:39Z")

</div>

Sorry for the long delay. It’s not listed in interfaces on my Pi 4B running Bullseye. I’m going to boot up my 3B+ that’s running Buster and have a look see.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 15, 2022, 7:27pm UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/7 "2022-02-15T19:27:32Z")

</div>

It’s listed at the top of the list on my 3B+ running Buster. No camera connected to that Pi.  
I have a bunch of cameras setup here, all are running Motion Eye OS though, which has the camera enabled by default.

---

<div class="post-metadata">

**Author:** ![Bovvalot](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@Bovvalot](https://forums.pimoroni.com/u/Bovvalot)\
**Post date:** [February 15, 2022, 8:06pm UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/8 "2022-02-15T20:06:36Z")

</div>

OK - so I’m going to assume that the camera doesn’t appear in the list for RP4.  
I continue with this site:  
([[https://projects.raspberrypi.org/en/projects/getting-started-with-picamera/4](https://projects.raspberrypi.org/en/projects/getting-started-with-picamera/4)]([https://How](https://How) to control the Camera Module with Python code))

I add the following code into Thonny - I save the code as camera.py and run it:

```auto
from picamera import PiCamera
from time import sleep

camera = PiCamera()

camera.start_preview()
sleep(5)
camera.stop_preview()

```

I get this in the output:

```auto
mmal: mmal_vc_port_enable: failed to enable port vc.null_sink:in:0(OPQV): ENOSPC
mmal: mmal_port_enable: failed to enable connected port (vc.null_sink:in:0(OPQV))0x243acd0 (ENOSPC)
mmal: mmal_connection_enable: output port couldn't be enabled
Traceback (most recent call last):
  File "/home/pi/Documents/Camera/camera.py", line 4, in <module>
    camera = PiCamera()
  File "/usr/lib/python3/dist-packages/picamera/camera.py", line 433, in __init__
    self._init_preview()
  File "/usr/lib/python3/dist-packages/picamera/camera.py", line 512, in _init_preview
    self._preview = PiNullSink(
  File "/usr/lib/python3/dist-packages/picamera/renderers.py", line 558, in __init__
    self.renderer.inputs[0].connect(source).enable()
  File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 2210, in enable
    mmal_check(
  File "/usr/lib/python3/dist-packages/picamera/exc.py", line 184, in mmal_check
    raise PiCameraMMALError(status, prefix)
picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources

```

Does any of that make sense to you?  
And no problem at all with the long delay - not as long as mine to reply to you - I apologise in advance of my slow replies, which may be delayed by a day sometimes. Sorry :)

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 15, 2022, 8:15pm UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/9 "2022-02-15T20:15:57Z")

</div>

I can’t make any sense out of that message. Above my skill level. I’m thinking this is a Bullseye issue? Might be worth using the Buster (Legacy) option when imaging your SD card.

---

<div class="post-metadata">

**Author:** ![fishgotnosole](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/fishgotnosole/32/7883_2.png) [@fishgotnosole](https://forums.pimoroni.com/u/fishgotnosole)\
**Post date:** [February 16, 2022, 10:26am UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/10 "2022-02-16T10:26:51Z")

</div>

This may help? No harm in checking.  
[Use Picamera with Raspberry Pi OS Bullseye](https://youtu.be/E7KPSc_Xr24)

---

<div class="post-metadata">

**Author:** ![ahnlak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/ahnlak/32/5610_2.png) [@ahnlak](https://forums.pimoroni.com/u/ahnlak)\
**Post date:** [February 16, 2022, 11:21am UTC](https://forums.pimoroni.com/t/camera-not-detected/18872/11 "2022-02-16T11:21:42Z")

</div>

So, make sure it’s enabled in `raspbi-config` as “legacy camera” under “interface options”.

Why on earth they feel the need to put this in a tedious video instead of just writing, you know, _words_ - especially when they rush through the most important part (which menu it’s under) so fast I had to pause and rewatch several times.

\< /grumpyoldman \>
