Mmal: Failed to create camera_info component

Hello,

This error (‘Mmal: Failed to create camera_info component’) occurs every time I try to use the camera. I can run the raspicam_node and use the other camera related commands if I use the root user.

When I run the command vcgencmd get_camera, it returns that the camera is supported and detected.

Can you tell me what it can be?

Thank you once again!

Thanks for reaching out with your issue.

What OS are you running on, and how did you install raspicam node?

Rohan

Thank you for your quick response!

I am running on your raspberry pi image (2019-06-19-ubiquity-xenial-lxde) and the raspicam node was already installed.

Me too:
raspistill -o test.jpg fails
sudo raspistill -o test.jpg works fine
I am also running on your raspberry pi image (2019-06-19-ubiquity-xenial-lxde)

The #1 reason is frequently the raspicam cable BUT recently I found another reason.

As a short term workaround after you bootup and have seen raspistill fail, try running this then try raspistill again.

sudo chmod 666 /dev/vcsm

Let us know if this helps although it is not a long term fix.
My issue was related to use of the 2019-06-19 image and then use of the apt upgrade which directly seemed involved but has not been proven fully at this time.

that works. also running as root (sudo -s) will let you use roslaunch

Ok. What you will find is that command is required after every reboot so it is not ideal.

Can you share with me if you had done an ‘apt upgrade’ at sometime after you installed the image? I wish to know this to have a confirmation that the apt upgrade leads to this issue. Then we can look into addressing some fix.

Thanks,
Mark

Yes I have done an apt update several times.

Ok in that case this seems to be related to a new kernel version that was released recently. We are looking into it.

Rohan

1 Like

Well actually what I asked is if you have done first an apt update and then had done an apt upgrade. Beware the words are sadly easily confused.

The apt update simply gets ready for apt installs and upgrades.

The apt upgrade is a very long running command on 6-19 image and would have taken something like 10 minutes to complete with a HUGE amount of console output.

Rohan: How can we do some version check or something of a module to tell if an apt upgrade was done? It is the upgrade that I isolated so far.

Sorry. yes I have done the upgrade as well, multiple times on this robot.