72平台 s5k5cagx mipi 出错提示
时间:10-02
整理:3721RD
点击:
[ 6.294995] (0)[138:mediaserver][kdSetDriver] i,g_invokeSocketIdx[0] = 0 :
[ 6.296035] (0)[138:mediaserver][kdSetDriver] i,drvIdx[0] = 0 :
[ 6.296827] (0)[138:mediaserver][kdSetDriver] :[0][1][1][s5k5cagxmipiyuv][32]
[ 6.297739] (0)[138:mediaserver][sensor]kd check alive: socketidx=1 0, SensorNameStr=s5k5cagxmipiyuv non_sensor
[ 6.299338]-(0)[138:mediaserver][GPIO]rror -1
[ 6.303387]-(0)[138:mediaserver][GPIO] 195: Parameter error: -1
[ 6.304453]-(0)[138:mediaserver][GPIO] 282: Pin number error -1
[ 6.305209]-(0)[138:mediaserver][GPIO] 282: Parameter error: -1
[ 6.320175] (1)[138:mediaserver][SENSOR_DRV]S5K5CAGXGetSensorID:
[ 6.320181] (1)[138:mediaserver]****** S5K5CAGXGetSensorID
[ 6.320186] (1)[138:mediaserver]
[ 6.418007] (1)[138:mediaserver]I2C i2c-0: I2C_TIMEOUT
[ 6.418654] (1)[138:mediaserver]i2c i2c-0: addr: 5a, transfer error
[ 6.419479] (1)[138:mediaserver]i2c i2c-0: I2C structure:
[ 6.419485] (1)[138:mediaserver]Mode 1
[ 6.419490] (1)[138:mediaserver]St_rs 0
[ 6.419494] (1)[138:mediaserver]DMA_en 0
[ 6.419499] (1)[138:mediaserver]Op 1
[ 6.419503] (1)[138:mediaserver]Poll_en 0
[ 6.419507] (1)[138:mediaserver]Trans_len 4
[ 6.419512] (1)[138:mediaserver]Trans_num 1
[ 6.419517] (1)[138:mediaserver]Trans_auxlen 0
[ 6.419522] (1)[138:mediaserver]Data_size ffff
[ 6.419526] (1)[138:mediaserver]Irq_stat 10
[ 6.419531] (1)[138:mediaserver]Trans_stop 1
[ 6.419535] (1)[138:mediaserver]Trans_comp 0
[ 6.419542] (1)[138:mediaserver]Trans_error 16
[ 6.428404] (1)[138:mediaserver]i2c i2c-0: base address f1009000
[ 6.429175] (1)[138:mediaserver]i2c i2c-0: I2C register:
[ 6.429181] (1)[138:mediaserver]SLAVE_ADDR 5a
[ 6.429186] (1)[138:mediaserver]INTR_MASK 0
[ 6.429190] (1)[138:mediaserver]INTR_STAT 0
[ 6.429195] (1)[138:mediaserver]CONTROL 128
[ 6.429200] (1)[138:mediaserver]TRANSFER_LEN 4
[ 6.429204] (1)[138:mediaserver]TRANSAC_LEN 1
[ 6.429209] (1)[138:mediaserver]DELAY_LEN 2
[ 6.429213] (1)[138:mediaserver]TIMING 1012
[ 6.429218] (1)[138:mediaserver] START 1
[ 6.429222] (1)[138:mediaserver]FIFO_STAT 440
[ 6.429227] (1)[138:mediaserver]IO_CONFIG 3
[ 6.429232] (1)[138:mediaserver]HS 102
[ 6.429236] (1)[138:mediaserver]DEBUGSTAT 41
[ 6.429240] (1)[138:mediaserver]EXT_CONF 1800
[ 6.429245] (1)[138:mediaserver]TRANSFER_LEN_AUX 0
[ 6.429250] (1)[138:mediaserver]TIMEOUT ffff
[ 6.296035] (0)[138:mediaserver][kdSetDriver] i,drvIdx[0] = 0 :
[ 6.296827] (0)[138:mediaserver][kdSetDriver] :[0][1][1][s5k5cagxmipiyuv][32]
[ 6.297739] (0)[138:mediaserver][sensor]kd check alive: socketidx=1 0, SensorNameStr=s5k5cagxmipiyuv non_sensor
[ 6.299338]-(0)[138:mediaserver][GPIO]rror -1
[ 6.303387]-(0)[138:mediaserver][GPIO] 195: Parameter error: -1
[ 6.304453]-(0)[138:mediaserver][GPIO] 282: Pin number error -1
[ 6.305209]-(0)[138:mediaserver][GPIO] 282: Parameter error: -1
[ 6.320175] (1)[138:mediaserver][SENSOR_DRV]S5K5CAGXGetSensorID:
[ 6.320181] (1)[138:mediaserver]****** S5K5CAGXGetSensorID
[ 6.320186] (1)[138:mediaserver]
[ 6.418007] (1)[138:mediaserver]I2C i2c-0: I2C_TIMEOUT
[ 6.418654] (1)[138:mediaserver]i2c i2c-0: addr: 5a, transfer error
[ 6.419479] (1)[138:mediaserver]i2c i2c-0: I2C structure:
[ 6.419485] (1)[138:mediaserver]Mode 1
[ 6.419490] (1)[138:mediaserver]St_rs 0
[ 6.419494] (1)[138:mediaserver]DMA_en 0
[ 6.419499] (1)[138:mediaserver]Op 1
[ 6.419503] (1)[138:mediaserver]Poll_en 0
[ 6.419507] (1)[138:mediaserver]Trans_len 4
[ 6.419512] (1)[138:mediaserver]Trans_num 1
[ 6.419517] (1)[138:mediaserver]Trans_auxlen 0
[ 6.419522] (1)[138:mediaserver]Data_size ffff
[ 6.419526] (1)[138:mediaserver]Irq_stat 10
[ 6.419531] (1)[138:mediaserver]Trans_stop 1
[ 6.419535] (1)[138:mediaserver]Trans_comp 0
[ 6.419542] (1)[138:mediaserver]Trans_error 16
[ 6.428404] (1)[138:mediaserver]i2c i2c-0: base address f1009000
[ 6.429175] (1)[138:mediaserver]i2c i2c-0: I2C register:
[ 6.429181] (1)[138:mediaserver]SLAVE_ADDR 5a
[ 6.429186] (1)[138:mediaserver]INTR_MASK 0
[ 6.429190] (1)[138:mediaserver]INTR_STAT 0
[ 6.429195] (1)[138:mediaserver]CONTROL 128
[ 6.429200] (1)[138:mediaserver]TRANSFER_LEN 4
[ 6.429204] (1)[138:mediaserver]TRANSAC_LEN 1
[ 6.429209] (1)[138:mediaserver]DELAY_LEN 2
[ 6.429213] (1)[138:mediaserver]TIMING 1012
[ 6.429218] (1)[138:mediaserver] START 1
[ 6.429222] (1)[138:mediaserver]FIFO_STAT 440
[ 6.429227] (1)[138:mediaserver]IO_CONFIG 3
[ 6.429232] (1)[138:mediaserver]HS 102
[ 6.429236] (1)[138:mediaserver]DEBUGSTAT 41
[ 6.429240] (1)[138:mediaserver]EXT_CONF 1800
[ 6.429245] (1)[138:mediaserver]TRANSFER_LEN_AUX 0
[ 6.429250] (1)[138:mediaserver]TIMEOUT ffff
IIC没通。
看看电源,RESET,PWD
还有器件地址这些有没有可能出问题了?
[ 6.303387]-(0)[138:mediaserver][GPIO] 195: Parameter error: -1
[ 6.304453]-(0)[138:mediaserver][GPIO] 282: Pin number error -1
[ 6.305209]-(0)[138:mediaserver][GPIO] 282: Parameter error: -1
不知道这个是怎么错误,
先查一下是哪个文件发生的错误吧
搞定了,初始化的问题