SheCurvesMobius
Posts: 1
Joined: Tue Dec 13, 2016 9:33 pm

Camera not detected

Tue Sep 26, 2017 1:20 pm

I am trying to connect my Camera V2.1 to my pi.

Hardware:
I've tried with Pi Zeros, Pi Zero Ws, and Pi 3s. I've tried with NOOBS and Raspbian. I've tried with multiple different new cameras, and multiple different new ribbon cables.

Code:
I'm using SSH to access the Pis from my MacBook Pro. I enable the camera using

Code: Select all

sudo raspi-config
and then reboot the Pi
I then re-access using and type

Code: Select all

raspistill -o image.jpg
I get the error message:

Code: Select all

mmal: Cannot read cameara 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
Does any one have any insight.

I want to be accessing the camera for a python script written by a friend. In that scenario, I get this message:

Code: Select all

[email protected]:~/Caribou/Camera $ sudo python camera.py
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)
Traceback (most recent call last):
  File "camera.py", line 8, in <module>
    camera = PiCamera()
  File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 415, in __init__
    self._init_camera(camera_num, stereo_mode, stereo_decimate)
  File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 444, in _init_camera
    "Camera is not enabled. Try running 'sudo raspi-config' "
picamera.exc.PiCameraError: Camera is not enabled. Try running 'sudo raspi-config' and ensure that the camera has been enabled.

mseth
Posts: 3
Joined: Wed Jul 15, 2015 4:55 pm

Re: Camera not detected

Thu Oct 05, 2017 7:25 pm

Same issue for me.. using a Pi Zero W --

Code: Select all

vcgencmd get_camera
supported=1 detected=0

Code: Select all

raspistill -o cam.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

Return to “Troubleshooting”