香橙派打开 MIPI摄像头报错
收藏回复举报
香橙派打开 MIPI摄像头报错
t('forum.solved') 已解决
发表于2025-02-13 08:11:05
0 查看

按照手册例程:

cke_446.png

将摄像头插入Camera0口。

cke_7067.jpeg

cke_7851.jpeg

执行以上命令:

cke_8430.png

报错如下:

(base) root@orangepiaipro:/opt/opi_test/camera# ./vi_l1_sample 1 1 1
set sensor_num=1
set sensor_type = 1
[sample_sys_init]-41: begin hi_mpi_sys_init !
[sample_sys_init]-47: begin aclInit !
[start_camera]-212: The input sensor type is 0x64
HI_MIPI_DISABLE_SENSOR_CLOCK Clock Source: 0 OK
HI_MIPI_CONFIG_SENSOR_CLOCK. Clock Source: 0, Clock Frequency: 5 OK
HI_MIPI_ENABLE_SENSOR_CLOCK Clock Source: 0 OK
HI_MIPI_RESET_SENSOR Reset Port: 0 OK
[Sample_Comm_Vi_SetMipiAttr]-525: ============= MipiDev 0, SetMipiAttr enWDRMode: 0
HI_MIPI_UNRESET_SENSOR Unreset Port: 0 OK
[Sample_Comm_Vi_StartDev]-691: Function Sample_Comm_Vi_StartDev() enSnsType 100!
[Sample_Comm_Vi_StartDev]-693: Function Sample_Comm_Vi_StartDev() hi_vi_intf_mode 4!
[Sample_Comm_Vi_StartDev]-694: Function Sample_Comm_Vi_StartDev() hi_vi_scan_mode 0!
[Sample_Comm_Vi_StartDev]-698: Function Sample_Comm_Vi_StartDev() ViDev 0!
[Sample_Comm_Vi_StartDev]-702: HI_MPI_VI_SetDevAttr failed with 0xa0108008!
[Sample_Comm_Vi_CreateSingleVi]-1092: Sample_Comm_Vi_StartDev failed !
[Sample_Comm_Vi_CreateVi]-1218: Sample_Comm_Vi_CreateSingleVi failed !
[Sample_Comm_Vi_StartVi]-1557: Sample_Comm_Vi_CreateVi failed!
awblib unregister call back failed at Sample_Comm_Isp_Awblib_UnCallback: LINE: 95 with 0xa01c8008!
aelib unregister call back failed at Sample_Comm_Isp_Aelib_UnCallback: LINE: 75 with 0xa01c8008!
[Sample_Comm_Isp_Sensor_UnRegiter_callback]-201: sensor_unregister_callback failed with 0xffffffff!
[Sample_Comm_Vi_StopSingleViChn]-1050: hi_mpi_vi_disable_chn failed with 0xa0108008!
[Sample_Comm_Vi_StopSingleViPipe]-812: hi_mpi_vi_stop_pipe failed with 0xa0108008!
[Sample_Comm_Vi_StopDev]-722: hi_mpi_vi_disable_dev failed with 0xa0108008!
HI_MIPI_RESET_SENSOR Reset Port: 0 OK
HI_MIPI_DISABLE_SENSOR_CLOCK Clock Source: 0 OK
awblib unregister call back failed at Sample_Comm_Isp_Awblib_UnCallback: LINE: 95 with 0xa01c8008!
aelib unregister call back failed at Sample_Comm_Isp_Aelib_UnCallback: LINE: 75 with 0xa01c8008!
[Sample_Comm_Isp_Sensor_UnRegiter_callback]-201: sensor_unregister_callback failed with 0xffffffff!
[Sample_Comm_Vi_StopSingleViChn]-1050: hi_mpi_vi_disable_chn failed with 0xa0108008!
[Sample_Comm_Vi_StopSingleViPipe]-812: hi_mpi_vi_stop_pipe failed with 0xa0108008!
[Sample_Comm_Vi_StopDev]-722: hi_mpi_vi_disable_dev failed with 0xa0108008!
HI_MIPI_RESET_SENSOR Reset Port: 0 OK
HI_MIPI_DISABLE_SENSOR_CLOCK Clock Source: 0 OK
[close_camera]-64: hi_mpi_sys_exit succ
[close_camera]-70: aclFinalize succ
program exit normally!
(base) root@orangepiaipro:/opt/opi_test/camera#

我要发帖子