UNSOLVED veye-mipi-IMX462 on rpi5 get video stream but cant controll via v4l2 or i2c
-
I am trying to use the module for guiding in astrophotography (Astroarch system on an rpi5), and there is an indi-v4l2 driver that recognizes the camera but can only play the video stream, not take singe exposures or control exposure and gain via v4l2. Being able to use the standard v4l2 controls would be ideal.
I managed to install the veyecam2m driver and get video on dev/video0, but when i try v4l2-ctl -d /dev/video0 -l I get nothing back, no controls available for this device.
I also tried the i2c_cmd method, built the read and write from source, and when i call for camera_i2c_config i get~/raspberrypi/i2c_cmd/bin (master*) » ./camera_i2c_config
setting GPIO for board revsion: d04170
Failed: don't know how to set GPIO for this board! Type is 17
Use i2c-10 for the sensor (-y 10)when i try veye_mipi_i2c.sh commands the answers are all wrong:
~/raspberrypi/i2c_cmd/bin (master*) » ./veye_mipi_i2c.sh -r -f devid
device id is 0xff~/raspberrypi/i2c_cmd/bin (master*) » ./veye_mipi_i2c.sh -r -f boardmodel
Board model is VEYE-MIPI-327~/raspberrypi/i2c_cmd/bin (master*) » ./veye_mipi_i2c.sh -w -f cameramode -p1 0x1
w cameramode is 0x 1here i thought i had set it to manual mode, but no:
~/raspberrypi/i2c_cmd/bin (master*) » ./veye_mipi_i2c.sh -y 10 -r -f cameramode
r cameramode is 0xffCan u shed some light? Thank you!
-
@brunosaisi said in veye-mipi-IMX462 on rpi5 get video stream but cant controll via v4l2 or i2c:
I also tried v4l2-ctl -d /dev/v4l-subdev2 -land get:
~ » v4l2-ctl -d /dev/v4l-subdev2 -l
Image Processing Controls
pixel_rate 0x009f0902 (int64) : min=74250000 max=74250000 step=1 default=74250000 value=74250000 flags=read-only
-
@brunosaisi
For configuring this camera via I2C, the process is not done through v4l2-ctl but directly using a script. Please note the following regarding this script:- If you are using the v4l2 driver mode, camera_i2c_config is not required.
- When running ./veye_mipi_i2c.sh, make sure to specify the I2C bus you are using with the -b parameter.
Below is an explanation regarding the I2C bus.
https://wiki.veye.cc/index.php/I2c_bus_number_and_video_node
For long exposure usage, you may need to configure the lowlight function or the new_mshutter function. Please refer to the corresponding section in the link below.
https://wiki.veye.cc/index.php/VEYE-MIPI-290/327_i2c/#new_mshutter