omni3576 problem with imx415

  • 1. If the image you get is green, it usually means you have to bring a RAW image. In one case, you obtained the wrong node, or in another case, your configuration is incorrect, causing the ISP to not work properly.
    2. You can control IR-CUT through the corresponding IO0 of CSI. If your corresponding IO0 is not initialized, you can switch it by toggling the switch.
  • Thanks! That explains a lot. please tell me if it is possible to change the exposure time on this camera. Or, if this is done through an ISP, then through what function?
  • Eng33 wrote: 2025-06-03 9:00 1. If the image you get is green, it usually means you have to bring a RAW image. In one case, you obtained the wrong node, or in another case, your configuration is incorrect, causing the ISP to not work properly.
    2. You can control IR-CUT through the corresponding IO0 of CSI. If your corresponding IO0 is not initialized, you can switch it by toggling the switch.
    I tried to get the data through opencv, but the camera refuses to start via the v4l2 api.

    I tried to get the data through opencv, but the camera refuses to start via api v4l2.

    Do you have a working code that can get a picture with the correct colors from the camera? A python script or cpp code is fine for me.
  • Generally speaking, exposure time and IOS are automatically adjusted by ISP.
    For V4L2 issues, please refer to wikihttps://wiki.luckfox.com/luckfox-Omni35 ... SI-Camera/
  • Eng33 wrote: 2025-06-04 4:04 Generally speaking, exposure time and IOS are automatically adjusted by ISP.
    For V4L2 issues, please refer to wikihttps://wiki.luckfox.com/luckfox-Omni35 ... SI-Camera/
    There is TERRIBLY LITTLE written in this article. Now I've found out that maybe the camera is initializing incorrectly. How can I fix this?

    Code: Select all

    root@luckfox:/home/luckfox/Desktop# dmesg | grep imx
    [    3.034140] imx415 4-0037: driver version: 00.01.08
    [    3.034162] imx415 4-0037:  Get hdr mode failed! no hdr default
    [    3.034178] imx415 4-0037: detect imx415 lane 4
    [    3.034225] imx415 4-0037: Failed to get power-gpios
    [    3.034233] imx415 4-0037: could not get default pinstate
    [    3.034239] imx415 4-0037: could not get sleep pinstate
    [    3.034270] imx415 4-0037: supply dvdd not found, using dummy regulator
    [    3.034395] imx415 4-0037: supply dovdd not found, using dummy regulator
    [    3.034423] imx415 4-0037: supply avdd not found, using dummy regulator
    [    3.102648] imx415 4-0037: Unexpected sensor id(000000), ret(-5)
    [    3.103655] imx415 5-0037: driver version: 00.01.08
    [    3.103685] imx415 5-0037:  Get hdr mode failed! no hdr default
    [    3.103705] imx415 5-0037: detect imx415 lane 4
    [    3.103759] imx415 5-0037: Failed to get power-gpios
    [    3.103773] imx415 5-0037: could not get default pinstate
    [    3.103781] imx415 5-0037: could not get sleep pinstate
    [    3.103819] imx415 5-0037: supply dvdd not found, using dummy regulator
    [    3.103936] imx415 5-0037: supply dovdd not found, using dummy regulator
    [    3.103974] imx415 5-0037: supply avdd not found, using dummy regulator
    [    3.170636] imx415 5-0037: Unexpected sensor id(000000), ret(-5)
    
  • I also get these errors all the time.

    just to remind you that I initially did everything as written in the wiki.

    Code: Select all

    [  406.323473] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.323505] stream_cif_mipi_id0: update sensor info failed -19
    [  406.323701] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.323713] stream_cif_mipi_id1: update sensor info failed -19
    [  406.323879] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.323890] rkcif_tools_id2: update sensor info failed -19
    [  406.324048] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.324057] stream_cif_mipi_id2: update sensor info failed -19
    [  406.324196] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
    [  406.324204] stream_cif_mipi_id3: update sensor info failed -19
    [  406.324341] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.324350] rkcif_scale_ch0: update sensor info failed -19
    [  406.324492] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.324499] rkcif_scale_ch1: update sensor info failed -19
    [  406.324618] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.324625] rkcif_scale_ch2: update sensor info failed -19
    [  406.324740] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
    [  406.324746] rkcif_scale_ch3: update sensor info failed -19
    [  406.324856] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.324865] rkcif_tools_id0: update sensor info failed -19
    [  406.324979] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.324985] rkcif_tools_id1: update sensor info failed -19
    [  406.325153] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.325161] stream_cif_mipi_id0: update sensor info failed -19
    [  406.325273] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.325280] stream_cif_mipi_id1: update sensor info failed -19
    [  406.325388] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.325394] stream_cif_mipi_id2: update sensor info failed -19
    [  406.325503] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
    [  406.325510] stream_cif_mipi_id3: update sensor info failed -19
    [  406.325614] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.325621] rkcif_scale_ch0: update sensor info failed -19
    [  406.325730] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.325737] rkcif_scale_ch1: update sensor info failed -19
    [  406.325844] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.325850] rkcif_scale_ch2: update sensor info failed -19
    [  406.325955] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
    [  406.325962] rkcif_scale_ch3: update sensor info failed -19
    [  406.326070] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.326076] rkcif_tools_id0: update sensor info failed -19
    [  406.326182] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.326189] rkcif_tools_id1: update sensor info failed -19
    [  406.326297] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.326304] rkcif_tools_id2: update sensor info failed -19
    [  406.414515] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.414542] stream_cif_mipi_id0: update sensor info failed -19
    [  406.414661] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.414669] stream_cif_mipi_id1: update sensor info failed -19
    [  406.414782] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.414788] rkcif_tools_id2: update sensor info failed -19
    [  406.414897] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.414904] stream_cif_mipi_id2: update sensor info failed -19
    [  406.415012] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
    [  406.415018] stream_cif_mipi_id3: update sensor info failed -19
    [  406.415126] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.415132] rkcif_scale_ch0: update sensor info failed -19
    [  406.415239] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.415245] rkcif_scale_ch1: update sensor info failed -19
    [  406.415350] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.415357] rkcif_scale_ch2: update sensor info failed -19
    [  406.415464] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
    [  406.415471] rkcif_scale_ch3: update sensor info failed -19
    [  406.415576] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.415584] rkcif_tools_id0: update sensor info failed -19
    [  406.415787] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.415796] rkcif_tools_id1: update sensor info failed -19
    [  406.416027] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.416039] stream_cif_mipi_id0: update sensor info failed -19
    [  406.416206] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.416214] stream_cif_mipi_id1: update sensor info failed -19
    [  406.416359] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.416366] stream_cif_mipi_id2: update sensor info failed -19
    [  406.416496] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
    [  406.416504] stream_cif_mipi_id3: update sensor info failed -19
    [  406.416625] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.416632] rkcif_scale_ch0: update sensor info failed -19
    [  406.416769] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.416778] rkcif_scale_ch1: update sensor info failed -19
    [  406.416905] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.416912] rkcif_scale_ch2: update sensor info failed -19
    [  406.417031] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
    [  406.417038] rkcif_scale_ch3: update sensor info failed -19
    [  406.417176] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
    [  406.417185] rkcif_tools_id0: update sensor info failed -19
    [  406.417316] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
    [  406.417323] rkcif_tools_id1: update sensor info failed -19
    [  406.417442] rkcif-mipi-lvds1: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
    [  406.417448] rkcif_tools_id2: update sensor info failed -19
    [  406.465287] rkisp-vir0: rkisp_enum_frameintervals Not active sensor
    [  406.465358] rkisp-vir0: rkisp_enum_frameintervals Not active sensor
    [  406.465383] rkisp-vir0: rkisp_enum_frameintervals Not active sensor
    [  406.465408] rkisp-vir0: rkisp_enum_frameintervals Not active sensor
    [  406.465428] rkisp-vir0: rkisp_enum_frameintervals Not active sensor
    [  406.465446] rkisp-vir0: rkisp_enum_frameintervals Not active sensor
    [  406.465465] rkisp-vir0: rkisp_enum_frameintervals Not active sensor
    
    Last edited by radiohead on 2025-06-04 10:32, edited 1 time in total.
  • Can I see your hardware connections?
    There is no problem in our test. Please provide complete log information, including the instructions you used. We cannot judge the part you provided now.
  • Eng33 wrote: 2025-06-11 9:13 Can I see your hardware connections?
    There is no problem in our test. Please provide complete log information, including the instructions you used. We cannot judge the part you provided now.
    I can't attach a photo of the physical connection to the board, but I can assure you that everything is in order and the cable is connected correctly.
    Attachments
    dmesg_log.pdf (209.08 KiB)
    Downloaded 48 times
  • This error message will only reappear when the camera is not connected. Please attach pictures of the hardware connection and information such as i2cdetect -y 4 or i2cdetect -y 5 to help us diagnose the issue. Thank you for your cooperation!

    Method of uploading pictures on the forum: viewtopic.php?t=28