Libcamera error with arducam_64mp


I have a new arducam 64MP plugged into the camera connector of an RPI 4. I followed a few guides in trying to get this camera working, but this was the primary documentation:

The camera is detected at boot time, as shown in this dmesg snippet:

[ 0.059404] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_64mp@1a
[ 10.292345] arducam_64mp 10-001a: Device found Arducam 64MP.
[ 10.318526] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints
[ 12.070289] unicam fe801000.csi: Wrong width or height 640x480 (remote pad set to 9152x6944)
[ 12.070319] unicam fe801000.csi: Failed to start media pipeline: -22

When I try to run a simple example, such as

libcamera-still -t 1000 -n

I get the following warnings and errors:

[0:07:41.800930319] [1300] INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4226-8689dd6b
[0:07:41.823720588] [1302] WARN CameraSensorProperties camera_sensor_properties.cpp:243 No static properties available for ‘arducam_64mp’
[0:07:41.823778254] [1302] WARN CameraSensorProperties camera_sensor_properties.cpp:245 Please consider updating the camera sensor properties database
[0:07:41.846701690] [1302] WARN RPI raspberrypi.cpp:1366 Mismatch between Unicam and CamHelper for embedded data usage!
[0:07:41.847557578] [1302] INFO RPI raspberrypi.cpp:1485 Registered camera /base/soc/i2c0mux/i2c@1/arducam_64mp@1a to Unicam device /dev/media4 and ISP device /dev/media0
[0:07:41.848142356] [1300] INFO Camera camera.cpp:1028 configuring streams: (0) 4624x3472-YUV420
[0:07:41.848414300] [1302] ERROR V4L2 v4l2_videodevice.cpp:1047 /dev/video0[14:cap]: Unable to set format: Device or resource busy
ERROR: *** failed to configure streams ***

Any idea what’s going on? This system is running Octoprint on raspbian bullseye.


Your camera is running on the service.
You can’t use it at the same time from the command line.

The complete process and how to use it.