1.Which seller did you purchase the product(s) from?
RobotShop
2.The Model number of the product(s) you have purchased?
2x ov9281
3.Which Platform are you using the product(s) on?
Raspberry Pi 4b 4GB - Raspibian Buster 32 bit - Kernel 5.10
4.Which instruction are you following?
https://www.arducam.com/docs/cameras-for-raspberry-pi/migrated/ov9281-1mp-global-shutter-raspberrypi-camera/#13-1-check-your-firmware-support
5.Has your product ever worked properly?
Im trying to get it to work with V4l2 but so far that has never worked.
6.What problems are you experiencing?
Hello!
I have just tried my two ov9281’s but I don’t seem to be able to get any images of them. I’m trying to use them with V4L2 as I have previous camera code that uses that (which works for Picam2) and now I want to run it with my Arducam.
I’m expecting to get some output from this command:
v4l2-ctl --stream-mmap --stream-count=-1 -d /dev/video0 --stream-to=/dev/null
but I get nothing at all. It just sits, does not return to the prompt, but there’s no output in the terminal.
I have two of the same camera and they both do the same thing.
Here’s some additional hints,
> uname -a
Linux sensitpi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux
> ls /boot/overlays/ov9281.dtbo
/boot/overlays/ov9281.dtbo
> v4l2-ctl -d /dev/video0 --list-formats
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: ‘Y10P’ (10-bit Greyscale (MIPI Packed))
[1]: 'Y10 ’ (10-bit Greyscale)
[2]: ‘GREY’ (8-bit Greyscale)
> vcgencmd get_camera
supported=1 detected=0
> modinfo ov9281
filename: /lib/modules/5.10.17-v7l+/kernel/drivers/media/i2c/ov9281.ko
license: GPL v2
description: OmniVision ov9281 sensor driver
srcversion: D2FE2B5C96C7451BC7EFDC9
alias: of:NTCovti,ov9281C*
alias: of:NTCovti,ov9281
depends: videodev,v4l2-fwnode,mc
intree: Y
name: ov9281
vermagic: 5.10.17-v7l+ SMP mod_unload modversions ARMv7 p2v8
> sudo tee /sys/class/video4linux/video0/dev_debug <<< 0x1f >/dev/null
> sudo dmesg
[ 81.300990] unicam fe801000.csi: ================= START STATUS =================
[ 81.301010] unicam fe801000.csi: -----Receiver status-----
[ 81.301028] unicam fe801000.csi: V4L2 width/height: 1280x800
[ 81.301045] unicam fe801000.csi: Mediabus format: 0000200a
[ 81.301061] unicam fe801000.csi: V4L2 format: 50303159
[ 81.301076] unicam fe801000.csi: Unpacking/packing: 0 / 0
[ 81.301091] unicam fe801000.csi: ----Live data----
[ 81.301106] unicam fe801000.csi: Programmed stride: 0
[ 81.301122] unicam fe801000.csi: Detected resolution: 0x0
[ 81.301137] unicam fe801000.csi: Write pointer: 00000000
[ 81.301152] unicam fe801000.csi: ================== END STATUS ==================
Are you able to tell what’s wrong here?
Or do you have any suggestions for what to check next?
Regards
Fred
7.What attempts at troubleshooting have you already made?
8.How would you like us to help you?