Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4901

Automation, sensing and robotics • Video camera driver "MIPI Camera Module 2MP OS02C10 Sensor HDR High Dynamic Range"

$
0
0
Good afternoon, everyone. There is a creative task, the essence of which is to connect a video camera "MIPI Camera Module 2MP OS02C10 Sensor HDR High Dynamic Range" to RPI4. I know that RPI4 does not support this camera by default, but that's why the task is like this. I found out from archival correspondence that the same sensor (or a similar one) may be supported by the ov02c10 module.
https://github.com/intel/ipu6-drivers/b ... /ov02c10.c
I've included them in the 6.6.70 kernel. I'm trying to launch the camera somehow. I see the following so far:
pi@raspberrypi:~/my_modules $sudo insmod ov02c10.ko
pi@raspberrypi:~/my_modules $ sudo modinfo ov02c10.ko
filename: /home/pi/my_modules/ov02c10.ko
license: GPL v2
description: OmniVision OV02C10 sensor driver
author: Hao Yao <hao.yao@____________>
srcversion: 45EA9BF0DB3B62C00B0A304
alias: acpi*:OVTI02C1:*
depends: v4l2-async,videodev,v4l2-fwnode,mc
name: ov02c10
vermagic: 6.6.70-v7l-MY_CUSTOM_KERNEL SMP preempt mod_unload modversions aarch64

pi@raspberrypi:~/my_modules $ dmesg | grep ov02c10
[ 3778.637763] ov02c10: loading out-of-tree module taints kernel.

pi@raspberrypi:~/my_modules $ v4l2-ctl --list-devices
bcm2835-codec-decode (platform:bcm2835-codec):
/dev/video10
/dev/video11
/dev/video12
/dev/video18
/dev/video31
/dev/media3

bcm2835-isp (platform:bcm2835-isp):
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/media1
/dev/media2

rpivid (platform:rpivid):
/dev/video19
/dev/media0

Cannot open device /dev/video0, exiting.

I understand that the camera is not visible in the system.
Please help me figure it out.
PS I understand that just a "direct attack" will not work for the driver, but maybe someone experienced has faced such a task and can tell me in which direction I should continue to work?

Statistics: Posted by dio4 — Wed Jan 22, 2025 6:43 am



Viewing all articles
Browse latest Browse all 4901

Trending Articles