[libcamera-devel] Pinephone 1.2 and libcamera

Rafael Diniz rafael at riseup.net
Thu Jun 23 21:37:32 CEST 2022


Hi everybody,

I'm working on bringing PinePhone cameras support to Maemo-Leste system 
applications, and I opted for libcamera.

I posted some messages here:
https://github.com/kbingham/libcamera/issues/28

With the kernel 5.15 with pinephone patches [1] imported from Mobian, I 
get some missing features in both cameras drivers [2]. Before I 
duplicate someone's work - did anyone manage to get a kernel which works 
with current libcamera for Pinephone 1 (not the Pro)?

Cheers,
Rafael

[1] https://github.com/maemo-leste/pine64-kernel/tree/maemo/beowulf-devel

[2] ./lc-compliance

[6:03:22.948763728] [16718] INFO Camera camera_manager.cpp:293 libcamera 
v0.0.0+3665-bb84fc6a
[6:03:22.976465603] [16719] WARN CameraSensor camera_sensor.cpp:212 
'gc2145 3-003c': Recommended V4L2 control 0x009a0922 not supported
[6:03:22.978480561] [16719] ERROR V4L2 v4l2_subdevice.cpp:318 'gc2145 
3-003c': Unable to get rectangle 2 on pad 0: Inappropriate ioctl for device
[6:03:22.979363603] [16719] WARN CameraSensor camera_sensor.cpp:239 
'gc2145 3-003c': The PixelArraySize property has been defaulted to 1600x1200
[6:03:22.979433394] [16719] ERROR V4L2 v4l2_subdevice.cpp:318 'gc2145 
3-003c': Unable to get rectangle 1 on pad 0: Inappropriate ioctl for device
[6:03:22.979499686] [16719] WARN CameraSensor camera_sensor.cpp:250 
'gc2145 3-003c': The PixelArrayActiveAreas property has been defaulted 
to (0, 0)/1600x1200
[6:03:22.979599769] [16719] ERROR V4L2 v4l2_subdevice.cpp:318 'gc2145 
3-003c': Unable to get rectangle 0 on pad 0: Inappropriate ioctl for device
[6:03:22.979663478] [16719] WARN CameraSensor camera_sensor.cpp:258 
'gc2145 3-003c': Failed to retrieve the sensor crop rectangle
[6:03:22.979719186] [16719] WARN CameraSensor camera_sensor.cpp:264 
'gc2145 3-003c': The sensor kernel driver needs to be fixed
[6:03:22.979773644] [16719] WARN CameraSensor camera_sensor.cpp:266 
'gc2145 3-003c': See Documentation/sensor_driver_requirements.rst in the 
libcamera sources for more information
[6:03:22.979853436] [16719] ERROR CameraSensor camera_sensor.cpp:287 
'gc2145 3-003c': Mandatory V4L2 control 0x009e0902 not available
[6:03:22.979915686] [16719] ERROR CameraSensor camera_sensor.cpp:287 
'gc2145 3-003c': Mandatory V4L2 control 0x009f0902 not available
[6:03:22.979973686] [16719] ERROR CameraSensor camera_sensor.cpp:287 
'gc2145 3-003c': Mandatory V4L2 control 0x009e0901 not available
[6:03:22.980280644] [16719] ERROR CameraSensor camera_sensor.cpp:295 
'gc2145 3-003c': The sensor kernel driver needs to be fixed
[6:03:22.980343811] [16719] ERROR CameraSensor camera_sensor.cpp:297 
'gc2145 3-003c': See Documentation/sensor_driver_requirements.rst in the 
libcamera sources for more information
[6:03:22.981451561] [16719] ERROR SimplePipeline simple.cpp:1309 No 
valid pipeline for sensor 'gc2145 3-003c', skipping
[6:03:22.986176478] [16719] WARN CameraSensor camera_sensor.cpp:212 
'ov5640 3-004c': Recommended V4L2 control 0x009a0922 not supported
[6:03:22.986392019] [16719] ERROR V4L2 v4l2_subdevice.cpp:318 'ov5640 
3-004c': Unable to get rectangle 2 on pad 0: Inappropriate ioctl for device
[6:03:22.986487478] [16719] WARN CameraSensor camera_sensor.cpp:239 
'ov5640 3-004c': The PixelArraySize property has been defaulted to 2592x1944
[6:03:22.986555228] [16719] ERROR V4L2 v4l2_subdevice.cpp:318 'ov5640 
3-004c': Unable to get rectangle 1 on pad 0: Inappropriate ioctl for device
[6:03:22.986618769] [16719] WARN CameraSensor camera_sensor.cpp:250 
'ov5640 3-004c': The PixelArrayActiveAreas property has been defaulted 
to (0, 0)/2592x1944
[6:03:22.986690769] [16719] ERROR V4L2 v4l2_subdevice.cpp:318 'ov5640 
3-004c': Unable to get rectangle 0 on pad 0: Inappropriate ioctl for device
[6:03:22.986751686] [16719] WARN CameraSensor camera_sensor.cpp:258 
'ov5640 3-004c': Failed to retrieve the sensor crop rectangle
[6:03:22.986807353] [16719] WARN CameraSensor camera_sensor.cpp:264 
'ov5640 3-004c': The sensor kernel driver needs to be fixed
[6:03:22.988926894] [16719] WARN CameraSensor camera_sensor.cpp:266 
'ov5640 3-004c': See Documentation/sensor_driver_requirements.rst in the 
libcamera sources for more information
[6:03:22.990680353] [16719] ERROR CameraSensor camera_sensor.cpp:287 
'ov5640 3-004c': Mandatory V4L2 control 0x009e0902 not available
[6:03:22.990761353] [16719] ERROR CameraSensor camera_sensor.cpp:287 
'ov5640 3-004c': Mandatory V4L2 control 0x009e0901 not available
[6:03:22.990816561] [16719] ERROR CameraSensor camera_sensor.cpp:295 
'ov5640 3-004c': The sensor kernel driver needs to be fixed
[6:03:22.990869519] [16719] ERROR CameraSensor camera_sensor.cpp:297 
'ov5640 3-004c': See Documentation/sensor_driver_requirements.rst in the 
libcamera sources for more information
[6:03:22.991348436] [16719] ERROR SimplePipeline simple.cpp:1309 No 
valid pipeline for sensor 'ov5640 3-004c', skipping

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20220623/81b6f1d9/attachment.sig>


More information about the libcamera-devel mailing list