Privariety low light camera not working on bulleyes / rpi4

Hello,

I try to install the Pivariety low light camera on a brand new rpi4 8Go and bullseye os but it is not working.

I’ve followed the procedure from your website:

https://www.arducam.com/docs/cameras-for-raspberry-pi/pivariety/how-to-install-kernel-driver-for-pivariety-camera/

The camera seems to be recognized:

[email protected]:~ $ dmesg | grep arducam
[    9.718471] arducam: loading out-of-tree module taints kernel.
[    9.733008] arducam-pivariety 10-000c: firmware version: 0x10002
[   31.836985] arducam_vddl: disabling
[   31.836999] arducam_vdig: disabling
[   31.837010] arducam_vana: disabling

The following command gave me more video inputs than on your doc:

[email protected]:~ $ ls /dev/video* -l
crw-rw----+ 1 root video 81, 8 Jan  3 21:43 /dev/video0
crw-rw----+ 1 root video 81, 9 Jan  3 21:43 /dev/video1
crw-rw----+ 1 root video 81, 4 Jan  3 21:43 /dev/video10
crw-rw----+ 1 root video 81, 5 Jan  3 21:43 /dev/video11
crw-rw----+ 1 root video 81, 6 Jan  3 21:43 /dev/video12
crw-rw----+ 1 root video 81, 0 Jan  3 21:43 /dev/video13
crw-rw----+ 1 root video 81, 1 Jan  3 21:43 /dev/video14
crw-rw----+ 1 root video 81, 2 Jan  3 21:43 /dev/video15
crw-rw----+ 1 root video 81, 3 Jan  3 21:43 /dev/video16
crw-rw----+ 1 root video 81, 7 Jan  3 21:43 /dev/video18

On the opposite, the next command returned less options than on your site!!!

[email protected]:~ $ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture

	[0]: 'pRAA' (10-bit Bayer RGRG/GBGB Packed)
		Size: Discrete 1920x1080
	[1]: 'RG10' (10-bit Bayer RGRG/GBGB)
		Size: Discrete 1920x1080

After a reboot libcamera crash.
Please note that as libcamera is installed by default on bullseyes, i havent installed it.

[email protected]:~ $ libcamera-still -t 5000 -o test.jpg
[0:32:48.849164122] [2510]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3156-f4070274
[0:32:48.865103188] [2512]  WARN CameraSensor camera_sensor.cpp:197 'arducam-pivariety 10-000c': Recommended V4L2 control 0x009a0922 not supported
[0:32:48.879351067] [2512]  WARN CameraSensor camera_sensor.cpp:249 'arducam-pivariety 10-000c': The sensor kernel driver needs to be fixed
[0:32:48.879523103] [2512]  WARN CameraSensor camera_sensor.cpp:251 'arducam-pivariety 10-000c': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:32:48.880650388] [2512]  WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for 'arducam-pivariety'
[0:32:48.880823942] [2512]  WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:32:48.880894478] [2512]  WARN CameraSensor camera_sensor.cpp:414 'arducam-pivariety 10-000c': Failed to retrieve the camera location
[0:32:48.890372497] [2512] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'arducam-pivariety.json' not found for IPA module 'raspberrypi'
[0:32:48.890523347] [2512] ERROR IPARPI raspberrypi.cpp:187 Could not create camera helper for arducam-pivariety
[0:32:48.890593680] [2512] ERROR RPI raspberrypi.cpp:1009 Failed to load a suitable IPA library

Thanks for the help.

hi, lucas

You need to install our pre-compiled libcamera.

You can execute the commands in the document linked below to install libcamera.

libcamera-dev and libcamera-apps Installation

Hello,

It worked with the precompiled Libcamera.

Do you have any plan to make it compatible with the mainstream Libcamera?

I’m using other camera too and need the latest updates of this app.

Thx

hi, lucas

Our libcamera just adds support for Pivariety.

Support for other cameras has not changed.

Currently we have no plans to add our code to the main line of libcamera.

But we will update the pre-compiled libcamera regularly.