Open jshiweb opened 7 years ago
The multi-camera adapter board and pi camera interface is very sensitive to signal integrity. So please try to connect only one camera to each channel to make sure all the ports are working with single camera. Then use short FPC cables to the 4 cameras.
I have confirmed that all ports work and they work with any iteration of 2 cameras. Just adding 3+ cameras to the board gives the error.
I am getting the same error, but I can't even connect 2 cameras. 1 camera works fine in any of the 4 sockets, but connecting a second anywhere else causes this error. I've tried with both cameras connected individually, and both work fine. The power supply is an official 2.5A one, and I'm using relatively short cables. Are there any other configuration options or tests I could try?
@thoste5 Hi, Please refer to this link to konw how to solve the problems. http://www.arducam.com/knowledge-base/raspberry-pi-multi-camera-adatper-board/
Regards.
Hey, I had this problem as well using the raspberry pi 3.
The solutions above don't make much sense to me and didn't really work. I found a workaround in the meantime even though it might not be advisable to unplug and replug the cameras while the pi is on. Here's what I've been doing:
To test to see that the cameras are working I use
raspistill -v
if that returns the mmal_... error then I do the following:
raspistill -v
command in the terminal to see that a single camera works if it doesn't return the error. If it does I shut the pi off again and unplug and replug the camera ribbon cable.raspistill -v
again and it still works (doesn't end with an errorThis surely isn't a great solution, but it's worked for us. It's really annoying to have to do this every time the pi turns off because it looks like it essentially has to boot up with only one camera plugged into it, and then be changed the to multi-camera adaptor for it to work.
Hope that helps, we haven't really encountered a better solution yet, but this is working so far.
I'm sorry to hear that you have such problem, would you please send me some clear hardware setup photos, so I can isolate the problem, if you can send me your email address to admin@arducam.com, it will be much easier to discuss.
@ArduCAM I' have the same problem, I've tried to follow those solutions on this ticket, and this example https://www.arducam.com/multi-camera-adapter-module-raspberry-pi/ but no success
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
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
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
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
I bought these items from https://www.iot-store.com.au/products/ov5647-camera-board-with-m12-mount-ls-40180-fisheye-lens-for-raspberry-pi https://www.iot-store.com.au/collections/arducam/products/multi-camera-adapter-module-fully-compatible-for-official-raspberry-pi-board
any help really appreciated
@mkeyno Hi, Have you run vcgencmd get_camera to check the camera ?
@UCTRONICS
it replys supported=1 detected=0
@mkeyno The detected=0 means the system has not detected the camera, Please attach me your hardware setup. I guess your hardware is old version. For the new official raspberryPi firmware v9.9 or above. It does not compatible with our old board. Maybe you should use our new version board or use the old version raspberrypi firmware. You can download it from http://downloads.raspberrypi.org/raspbian/images/
@UCTRONICS I've just bought my RPi and updated with last possible repository
Kernel : Linux 4.19.75-v7l+ (armv7l) Version : #1270 SMP Tue Sep 24 18:51:41 BST 2019 C Library : GNU C Library / (Debian GLIBC 2.28-10+rpi1) 2.28 Distribution : Raspbian GNU/Linux 10 (buster) -Current Session- Computer Name : raspberrypi User Name : pi () Language : en_NZ.UTF-8 (en_NZ.UTF-8) Home Directory : /home/pi -Misc- Uptime : 1 hour 22 minutes Load Average : 0.29, 0.31, 0.24 Available entropy in /dev/random : 3587 bits (healthy)
@mkeyno Your FPC line is reverse.
@UCTRONICS I feel like a dummy , thanks anyway , its work now
@jshiweb Did you find a solution to your problem?
@ArduCAM, I've followed the official Quick Start Guide for Multi-Camera Adapter Board.
I can connect one camera to any of the four ports and it works fine. Once I connect two or more it just displays a black preview when using the following command: libcamera-still -t 0 --camera 0
(or any of libcamera-still -t 0 --camera <0/1/2/3>
)
Any help would be highly appreciated.
When running: libcamera-still -t 0 --camera 0
with multiple cameras connected to the multi-camera adapter board I get the following error:
[0:08:26.417965509] [3863] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:08:26.461287674] [3864] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/pca@70/i2c@0/imx219@10 to Unicam device /dev/media2 and ISP device /dev/media0
[0:08:26.461370970] [3864] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:08:26.472858545] [3864] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/pca@70/i2c@1/imx219@10 to Unicam device /dev/media2 and ISP device /dev/media0
[0:08:26.472984156] [3864] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:08:26.484568249] [3864] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/pca@70/i2c@2/imx219@10 to Unicam device /dev/media2 and ISP device /dev/media0
[0:08:26.484652508] [3864] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:08:26.496226324] [3864] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/pca@70/i2c@3/imx219@10 to Unicam device /dev/media2 and ISP device /dev/media0
[0:08:26.496310323] [3864] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:08:26.497371652] [3863] INFO Camera camera.cpp:1033 configuring streams: (0) 1640x1232-YUV420
[0:08:26.498009963] [3864] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/pca@70/i2c@3/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected unicam format: 1640x1232-pBAA
[0:08:36.566026192] [3864] WARN V4L2 v4l2_videodevice.cpp:2007 /dev/video0[38:cap]: Dequeue timer of 10000000.00us has expired!
[0:08:36.566229747] [3864] ERROR RPI pipeline_base.cpp:1333 Camera frontend has timed out!
[0:08:36.566306913] [3864] ERROR RPI pipeline_base.cpp:1334 Please check that your camera sensor connector is attached securely.
[0:08:36.566382061] [3864] ERROR RPI pipeline_base.cpp:1335 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!
hi, i have a question about 4-camera adapter board v2.2 Can i use this in ubuntu 20.04.6 Not Raspbian???
I'm recently purchased the 4-camera adapter board v2 and 4 ov5647 cameras. I am able to run 2 cameras with the sample code, however running 3 or more cameras gives the error:
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 am using raspberry pi 3.