https://learn.adafruit.com/diy-wifi-ras ... -touch-cam
I've tried different B+ boards, different Pi cameras, swapped out the ribbon a few times, run sudo rpi-update. Nothing seems to get the board to recognize the camera (no power to the LED).
The error is odd. I cut & pasted this simple code from the official site just to see if that would work:
Code: Select all
import time
import picamera
camera = picamera.PiCamera()
try:
camera.start_preview()
time.sleep(10)
camera.stop_preview()
finally:
camera.close()
Code: Select all
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 "testcamera.py", line 4, in <module>
camera = picamera.PiCamera()
File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 330, in __init__
self._init_camera(camera_num)
File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 366, 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.
I did this to see if the system was even aware of the camera:
Code: Select all
vcgencmd get_camera
Code: Select all
supported=1 detected=0
http://www.raspberrypi.org/forums/viewt ... 43&t=84000
Then again, it could be a conflict between the older version the tutorial recommends (Pi Cam 0.8 vs. 1.0) and the updated software.
Overall, this is causing me big problems. So frustrated. Please-suggestions.
Thanks