Arducam-Pivariety-V4L2-Driver icon indicating copy to clipboard operation
Arducam-Pivariety-V4L2-Driver copied to clipboard

Cannot get arducam_64 to work

Open javierin opened this issue 2 years ago • 2 comments

Hi

I have performed this procedure several times, but I am unable to end getting anything working. I get the system to detect the camera. Whenever I run libcamera-still I can hear a clicking noise at the camera, but nothing else:

root@octopi:~# uname -a && lsb_release -a
Linux octopi 5.10.92-v7+ #1514 SMP Mon Jan 17 17:36:39 GMT 2022 armv7l GNU/Linux
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

root@octopi:~# libcamera-still  --list-cameras
Open i2c bus error: No such file or directory
Available cameras
-----------------
0 : arducam_64mp [9248x6944] (/base/soc/i2c0mux/i2c@1/arducam_64mp@1a)
    Modes: 'SRGGB10_CSI2P' : 1280x720 [30.00 fps - (0, 0)/0x0 crop]
                             1920x1080 [30.00 fps - (0, 0)/0x0 crop]
                             2312x1736 [30.00 fps - (0, 0)/0x0 crop]
                             3840x2160 [30.00 fps - (0, 0)/0x0 crop]
                             4624x3472 [30.00 fps - (0, 0)/0x0 crop]
                             9152x6944 [30.00 fps - (0, 0)/0x0 crop]
root@octopi:~# libcamera-still -n -o test1.jpg --viewfinder-width 1920 --viewfinder-height 1080
[0:04:23.000384224] [833]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3897-c3c878a9
[0:04:23.007465001] [835]  WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for 'arducam_64mp'
[0:04:23.007594845] [835]  WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database
Open i2c bus error: No such file or directory
[0:04:23.034819725] [835]  WARN RPI raspberrypi.cpp:1280 Mismatch between Unicam and CamHelper for embedded data usage!
[0:04:23.035930818] [835] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:04:23.036281131] [835]  INFO RPI raspberrypi.cpp:1404 Registered camera /base/soc/i2c0mux/i2c@1/arducam_64mp@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:04:23.037298317] [833]  INFO Camera camera.cpp:1035 configuring streams: (0) 1920x1080-YUV420
[0:04:23.037472588] [835] ERROR V4L2 v4l2_videodevice.cpp:1234 /dev/video0[13:cap]: Unable to request 0 buffers: Device or resource busy
[0:04:23.038031182] [835] ERROR V4L2 v4l2_videodevice.cpp:1040 /dev/video0[13:cap]: Unable to set format: Device or resource busy
[0:04:23.038786754] [835] ERROR V4L2 v4l2_videodevice.cpp:1234 /dev/video0[13:cap]: Unable to request 0 buffers: Device or resource busy
[0:04:23.039308264] [835] ERROR V4L2 v4l2_videodevice.cpp:1234 /dev/video0[13:cap]: Unable to request 0 buffers: Device or resource busy
ERROR: *** failed to configure streams ***
root@octopi:~# dmesg |grep arducam
[    6.606125] arducam_64mp: loading out-of-tree module taints kernel.
[    9.503205] arducam_64mp 10-001a: Device found Arducam 64MP.
[    9.504219] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints

javierin avatar Nov 08 '22 20:11 javierin

Quite similar error, did you fixed it? Arducam support doesn't exist, embarrassing

FPSychotic avatar Dec 05 '22 20:12 FPSychotic

Hi

I have performed this procedure several times, but I am unable to end getting anything working. I get the system to detect the camera. Whenever I run libcamera-still I can hear a clicking noise at the camera, but nothing else:

root@octopi:~# uname -a && lsb_release -a
Linux octopi 5.10.92-v7+ #1514 SMP Mon Jan 17 17:36:39 GMT 2022 armv7l GNU/Linux
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

root@octopi:~# libcamera-still  --list-cameras
Open i2c bus error: No such file or directory
Available cameras
-----------------
0 : arducam_64mp [9248x6944] (/base/soc/i2c0mux/i2c@1/arducam_64mp@1a)
    Modes: 'SRGGB10_CSI2P' : 1280x720 [30.00 fps - (0, 0)/0x0 crop]
                             1920x1080 [30.00 fps - (0, 0)/0x0 crop]
                             2312x1736 [30.00 fps - (0, 0)/0x0 crop]
                             3840x2160 [30.00 fps - (0, 0)/0x0 crop]
                             4624x3472 [30.00 fps - (0, 0)/0x0 crop]
                             9152x6944 [30.00 fps - (0, 0)/0x0 crop]
root@octopi:~# libcamera-still -n -o test1.jpg --viewfinder-width 1920 --viewfinder-height 1080
[0:04:23.000384224] [833]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3897-c3c878a9
[0:04:23.007465001] [835]  WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for 'arducam_64mp'
[0:04:23.007594845] [835]  WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database
Open i2c bus error: No such file or directory
[0:04:23.034819725] [835]  WARN RPI raspberrypi.cpp:1280 Mismatch between Unicam and CamHelper for embedded data usage!
[0:04:23.035930818] [835] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:04:23.036281131] [835]  INFO RPI raspberrypi.cpp:1404 Registered camera /base/soc/i2c0mux/i2c@1/arducam_64mp@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:04:23.037298317] [833]  INFO Camera camera.cpp:1035 configuring streams: (0) 1920x1080-YUV420
[0:04:23.037472588] [835] ERROR V4L2 v4l2_videodevice.cpp:1234 /dev/video0[13:cap]: Unable to request 0 buffers: Device or resource busy
[0:04:23.038031182] [835] ERROR V4L2 v4l2_videodevice.cpp:1040 /dev/video0[13:cap]: Unable to set format: Device or resource busy
[0:04:23.038786754] [835] ERROR V4L2 v4l2_videodevice.cpp:1234 /dev/video0[13:cap]: Unable to request 0 buffers: Device or resource busy
[0:04:23.039308264] [835] ERROR V4L2 v4l2_videodevice.cpp:1234 /dev/video0[13:cap]: Unable to request 0 buffers: Device or resource busy
ERROR: *** failed to configure streams ***
root@octopi:~# dmesg |grep arducam
[    6.606125] arducam_64mp: loading out-of-tree module taints kernel.
[    9.503205] arducam_64mp 10-001a: Device found Arducam 64MP.
[    9.504219] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints

did you install the drivers? I've been working on the 64mp camera for about a month now. Maybe I could be of help.

msalmonw avatar Dec 13 '22 12:12 msalmonw