1.Which seller did you purchase the product(s) from?
2.The Model number of the product(s) you have purchased?
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?
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?
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
> v4l2-ctl -d /dev/video0 --list-formats
Type: Video Capture
: ‘Y10P’ (10-bit Greyscale (MIPI Packed))
: 'Y10 ’ (10-bit Greyscale)
: ‘GREY’ (8-bit Greyscale)
> vcgencmd get_camera
> modinfo ov9281
license: GPL v2
description: OmniVision ov9281 sensor driver
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?
7.What attempts at troubleshooting have you already made?
8.How would you like us to help you?