New Raspberry pi 5 support
-
@vaa

In addition to this, the -b parameter needs to be added:
-b [i2c bus num] i2c bus number

-
@veye_xumm Thank you for your support!
I got my application working good.
Here is a receipt how can I achived this:-
./media_setting_rpi5.sh veyecam2m
-
./veye_mipi_i2c.sh -b 6 -w -f yuvseq -p1 YUYV
-
./veye_mipi_i2c.sh -b 6 -w -f videoformat -p1 PAL
-
In my app open device /dev/video0 with following parameters:
width 1920;
height 1080;
pixel_format V4L2_PIX_FMT_UYVY (only this is working!!!)
field_format V4L2_FIELD_NONE
In case I try to set pixel_format to any other value is cause VIDIOC_STREAMON fail. I suppose this is a bug in the driver.
Some other applications like gstreamer only set pixel_format if you directly point to do this, this is why it works, but many others (e.g. trying to set default pixel_format) are not. -
-
@veye_xumm said in New Raspberry pi 5 support:
@alex_ai said in New Raspberry pi 5 support:
any chances use configuration script ./veye_mipi_i2c.sh on RPi5?
No. Just pay attention to i2c bus number.
I think answer was "yes" but with parameter -b. I could not execute from bin dir because it compiled to another OS, so compile i2c_read, i2c_write from source code fixed my issue.
@veye_xumm thank you for help and support! -
@alex_ai You are welcome.
-
@vaa said in New Raspberry pi 5 support:
@veye_xumm
In case I try to set pixel_format to any other value is cause VIDIOC_STREAMON fail. I suppose this is a bug in the driver.
Some other applications like gstreamer only set pixel_format if you directly point to do this, this is why it works, but many others (e.g. trying to set default pixel_format) are not.Will you going to fix the issue?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login