rotation
Posts: 27
Joined: Fri Feb 08, 2013 2:43 pm

camera 1.3, detected, but raspistill does no picture

Sat Jun 23, 2018 12:26 pm

Hello all,

I would like to run Octopi with camera on a Pi 3 B+. The camera is a RPI cam 1.3.

The camera is detected:

Code: Select all

vcgencmd get_camera
supported=1 detected=1
But the error is still there:

Code: Select all

 raspistill -o cam.jpg
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
I already ran rpi-update. Octoprint is the newest version, downloaded today.
GPU_mem is 144, I activated the camera in raspi-config.

Could you help me getting the camera to work?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: camera 1.3, detected, but raspistill does no picture

Sat Jun 23, 2018 12:50 pm

Do you have

Code: Select all

start_x=1
in /boot/config.txt?

SUNNY connector fitted correctly?
Is it a non-standard, Chinese clone camera?

Try adding

Code: Select all

disable_camera_led=1
to /boot/config.txt.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

rotation
Posts: 27
Joined: Fri Feb 08, 2013 2:43 pm

Re: camera 1.3, detected, but raspistill does no picture

Sat Jun 23, 2018 1:53 pm

start_x = 1 is there.

The LED of the camera is on, so it should be connected properly

How do I recognice a non-standard camera?
It says Raspberry Pi Camera, Rev 1.3 on the board.

I added disable camera led, but the same error.
still one camera is detected.


running

Code: Select all

./mjpg_streamer -i "input_raspicam.so $camera_usb_options" -o "output_http.so -w ./www"
I get the MJPG streamer webpage on IP:8080, but no feed there.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8920
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: camera 1.3, detected, but raspistill does no picture

Sat Jun 23, 2018 6:11 pm

Have you installed some other application that is using the camera? It only supports one active client at a time. I'd expect the led to be on before you started raspistill in that case.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

rotation
Posts: 27
Joined: Fri Feb 08, 2013 2:43 pm

Re: camera 1.3, detected, but raspistill does no picture

Sat Jun 23, 2018 8:26 pm

Actually, it is Octopi, flashed with Etcher, expanded partitions, changed hostname, activated camera, rpi-update and apt-get distupgrade.
No other changes made. I do not know about any other application getting the camera.


User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: camera 1.3, detected, but raspistill does no picture

Tue Jun 26, 2018 5:37 pm

rotation wrote:
Tue Jun 26, 2018 5:02 pm
Help? :(
Please? :(

In the absence of any better informed contribution, here is mine...

As a troubleshooting/diagnostic step (not because I want to impose it as a final solution for your project), try booting your RPi with a fresh download of the Raspberry Pi Foundation recommended and supported Raspbian Operating System. (Configured via raspi-config to enable the camera module.)

See if the camera and application software work correctly in that situation.

Why bother? In case it isn't obvious: because if the camera does not work as expected with this setup then there is quite likely to be an issue with the camera module, the cable, or the connector and support circuitry on the RPi board.

But if the camera and software perform correctly with a standard Raspbian system then it seems reasonable to suppose that the deficiency lies with Octoprint.

Either way you will be in possession of better information than you have at present, and will know where to focus your attention.

Return to “Camera board”