ArduCAM / RaspberryPi

This is Arducam camera demos used on Raspberry Pi paltform
BSD 3-Clause "New" or "Revised" License
163 stars 97 forks source link

video0 detected! but "Start testing the camera A mmal: mmal_vc_component_enable: failed to enable component: ENOSPC" #56

Open hanifizzudinrahman opened 3 years ago

hanifizzudinrahman commented 3 years ago

pi@raspberrypi:~ $ cd RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel/Multi_Camera_Adapter_V2.2_C++/ pi@raspberrypi:~/RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel/Multi_Camera_Adapter_V2.2_C++ $ sudo chmod +x init_camera.sh pi@raspberrypi:~/RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel/Multi_Camera_Adapter_V2.2_C++ $ sudo ./init_camera.sh ----Test i2c1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: 70 -- -- -- -- -- -- --
----Detecting the /dev/video0 device video0 detected! ---Start testing each camera if all of them are normal, after it finished,you will see four image in the current path. Start testing the camera A 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

Start testing the camera B 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

Start testing the camera C 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

Start testing the camera D 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

Any suggestion for this problem? I'm using Raspberry Pi 4B and Multi Camera Adapter V2.2 and Raspberry Pi Camera V2.1. I've follow all the instructions in this web This problem only occur in this my Raspberry Pi 4B, but in my Jetson Nano, everything is fine, there is no problem

kajan001 commented 3 years ago

Check:

  1. Camera cable is attached properly in both ends.
  2. Test that camera is working with e.g. raspistill or raspivid.
  3. Check if other program is using camera. I am not sure what method is the best so you'll have to google.