Hello all!
I’m trying to use a pivariety camera IMX462 (UCTRONICS) through libcamera on a raspberry pi Zero W.
I can’t make it work and really could use a bit of help.
Thanks in advance!
Here is what I’ve done so far:
- driver and device tree compiled and installed for kernel 5.10.89+ using suplied instruction.
dmesg | grep arducam
[ 31.130841] arducam: loading out-of-tree module taints kernel.
[ 31.307229] arducam-pivariety 10-000c: firmware version: 0x10002
[ 31.804598] arducam-pivariety 10-000c: Consider updating driver arducam-pivariety to match on endpoints
[ 33.770663] arducam_vddl: disabling
[ 33.770700] arducam_vdig: disabling
[ 33.770716] arducam_vana: disabling
-
Using lastest libcamera & libcamera-apps built from git://linuxtv.org/libcamera.git & https://github.com/raspberrypi/libcamera-apps:
Note that I can’t use the arducam supplied libcamera as I need custom modification in it…
Before installing this new camera, libcamera works perfectly fine with a raspberrypi HQ camera. -
Error when using libcamera:
libcamera-still -t 5000 -o test.jpg
Preview window unavailable
[0:17:57.058808427] [521] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3389-eff9de39-dirty (2022-01-13T12:33:58+00:00)
[0:17:57.075095984] [522] WARN CameraSensor camera_sensor.cpp:197 ‘arducam-pivariety 10-000c’: Recommended V4L2 control 0x009a0922 not supported
[0:17:57.091845556] [522] WARN CameraSensor camera_sensor.cpp:249 ‘arducam-pivariety 10-000c’: The sensor kernel driver needs to be fixed
[0:17:57.094551649] [522] WARN CameraSensor camera_sensor.cpp:251 ‘arducam-pivariety 10-000c’: See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:17:57.102226911] [522] WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for ‘arducam-pivariety’
[0:17:57.103451953] [522] WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:17:57.104525990] [522] WARN CameraSensor camera_sensor.cpp:396 ‘arducam-pivariety 10-000c’: Failed to retrieve the camera location
[0:17:57.105674029] [522] ERROR CameraSensor camera_sensor.cpp:535 ‘arducam-pivariety 10-000c’: Camera sensor does not support test pattern modes.
[0:17:57.150778570] [522] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file ‘arducam-pivariety.json’ not found for IPA module ‘raspberrypi’
config file:
[0:17:57.154895711] [522] ERROR IPARPI raspberrypi.cpp:187 Could not create camera helper for arducam-pivariety
[0:17:57.156238756] [522] ERROR RPI raspberrypi.cpp:1203 Failed to load a suitable IPA library
[0:17:57.158125821] [522] ERROR RPI raspberrypi.cpp:1135 Failed to register camera arducam-pivariety 10-000c: -22
ERROR: *** no cameras available ***