richi 发表于 2015-2-1 22:27:35

OV13850攝像頭模組 不能動作

之前買了OV13850攝像頭模組,今日才有空試一試。發現不能動作。按理FIREFLY已調適好了,不用再作任何修改才是。我檢查了一些軟件元件也都存在無誤。是否是硬件問題?以下是一些訊息,煩請官方或能仁之士幫我看看:


root@rk3288:/ # dmesg | grep cam
<4>[    4.249382] D1:camsys_platform_probe(1061): 1-gpios-cifpower: gpio=236
<4>[    4.255866] D1:camsys_platform_probe(1064): gpios-cifpower: gpio_request
<4>[    4.262563] D1:camsys_platform_probe(1066): 1-gpios-cifpower: gpio_request=0
<4>[    4.269577] D1:camsys_platform_probe(1075): gpios-cifpower: 236 high
<4>[    4.276025] D1:camsys_mipiphy_probe_cb(163): ff910000.isp mipi phy0 probe success(reg_phy: 0x0reg_vir: 0x0size: 0x0)
<4>[    4.287204] D1:camsys_mipiphy_probe_cb(160): ff910000.isp mipi phy1 probe success(reg_phy: 0xff968000reg_vir: 0xf19b0000size: 0x4000)
<4>[    4.301466] D1:camsys_platform_probe(1208): ff910000.isp memory:
<4>[    4.307469] D1:camsys_platform_probe(1218):   Register memory (phy: 0xff910000 vir: 0xf19e0000 size: 0x10000)
<4>[    4.317454] D1:camsys_platform_probe(1213):   I2c memory (phy: 0x2d9e2000 vir: 0xed9e2000 size: 0x1000)
<4>[    4.326915] D1:camsys_platform_probe(1233): Probe ff910000.isp device success
<11>[   10.728031] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_hal.ver
<11>[   10.736111] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_trace
<11>[   10.744013] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_camboard.ver
<11>[   10.752358] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_libisp.ver
<11>[   10.760476] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_isi.ver

root@rk3288:/ # logcat | grep Camera
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
E/CameraService(144): no camera found before! check again...
I/CameraService(144): Loaded "RK29_ICS_CameraHal_Module" camera module
D/CameraHal(144): createInstance(780): open xml file(/etc/cam_board.xml) success
D/CameraHal(144):
D/CameraHal(144):
D/CameraHal(144):
D/CameraHal(144):Cam_board.xml Version Check:
D/CameraHal(144):   /etc/cam_board.xml : v0.7.0
D/CameraHal(144):   CameraHal_board_xml_parser: v0.7.0
D/CameraHal(144):
D/CameraHal(144):
D/CameraHal(144): ParserSensorInfo(45): SensorName(OV13850ˬ=���$��2�kr�o��H�������0R'�d=�uu�Y����5oλ��v���k���"4�!��eQ���˷)
D/CameraHal(144): ParserSensorInfo(47): SensorDevID(CAMSYS_DEVID_SENSOR_1B)
D/CameraHal(144): ParserSensorInfo(58): SensorDevID(33554432)
D/CameraHal(144): ParserSensorInfo(60): SensorHostDevID(CAMSYS_DEVID_MARVIN)
D/CameraHal(144): ParserSensorInfo(75): Sensori2cBusNum(3)
D/CameraHal(144): ParserSensorInfo(78): SensorI2cAddrByte(2)
D/CameraHal(144): ParserSensorInfo(81): SensorI2cRate(100000)
D/CameraHal(144): ParserSensorInfo(84): SensorMclk(24000000)
D/CameraHal(144): ParserSensorInfo(87): SensorAvdd(NC) min(0) max(0)
D/CameraHal(144): ParserSensorInfo(92): SensorDovdd(NC) min(18000000) max(18000000)
D/CameraHal(144): ParserSensorInfo(97): SensorDvdd(NC) min(0) max(0)
D/CameraHal(144): ParserSensorInfo(102): SensorGpioPwdn(RK30_PIN2_PB6) active(0)
D/CameraHal(144): ParserSensorInfo(106): SensorGpioRst(RK30_PIN2_PB7) active(0)
D/CameraHal(144): ParserSensorInfo(110): SensorGpioPwen(RK30_PIN0_PB3) active(1)
D/CameraHal(144): ParserSensorInfo(114): SensorFacing(front)
D/CameraHal(144): ParserSensorInfo(123): SensorInterface(MIPI)
D/CameraHal(144): ParserSensorInfo(136): SensorMirrorFlip(0)
D/CameraHal(144): ParserSensorInfo(142): SensorOrientation(180)
D/CameraHal(144): ParserSensorInfo(139): SensorPowerupSequence(1234)
D/CameraHal(144): ParserSensorInfo(234): SensorFovParemeter fov_h(60.0)(60.000000) fov_v(60.0)(60.000000)
D/CameraHal(144): ParserSensorInfo(237): SensorAWB_Frame_Skip fps(15)
D/CameraHal(144): ParserSensorInfo(210): SensorPhy: MIPIlane: 2phyindex: 1fmt: 0x2b
D/CameraHal(144): ParserVCMInfo(249): VCMDrvName(BuiltInSensor)
D/CameraHal(144): ParserVCMInfo(252): VCMName(NC)
D/CameraHal(144): ParserVCMInfo(255): VCMI2cBusNum(3)
D/CameraHal(144): ParserVCMInfo(258): VCMI2cAddrByte(0)
D/CameraHal(144): ParserVCMInfo(261): VCMI2cRate(0)
D/CameraHal(144): ParserVCMInfo(272): VCMVdd(NC) min(0) max(0)
D/CameraHal(144): ParserVCMInfo(264): VCMGpioPwdn(NC) active(0)
D/CameraHal(144): ParserVCMInfo(268): VCMGpioPower(NC) active(0)
D/CameraHal(144): ParserVCMInfo(288): start current(20) rated current(80) vcm max(100)step mode(13)drv max(100)
D/CameraHal(144): ParserFlashInfo(302): FlashName(Internal)
D/CameraHal(144): ParserFlashInfo(305): FlashI2cBusNum(0)
D/CameraHal(144): ParserFlashInfo(308): FlashI2cAddrByte(0)
D/CameraHal(144): ParserFlashInfo(311): FlashI2cRate(0)
D/CameraHal(144): ParserFlashInfo(314): FlashTrigger(NC) active(0)
D/CameraHal(144): ParserFlashInfo(318): FlashEn(NC) active(0)
D/CameraHal(144): ParserFlashInfo(325): FlashLuminance(0)
D/CameraHal(144): ParserFlashInfo(328): FlashColorTemp(0)
D/CameraHal(144): StartElementHandler(746): HDR(1)!
D/CameraHal(144): StartElementHandler(750): ZSL(1)!
D/CameraHal(144): StartElementHandler(754): zoom(1)!
D/CameraHal(144): StartElementHandler(764): Continue_SnapShot(1)!
D/CameraHal(144): StartElementHandler(758): PreviewSize(800x600)!
D/CameraHal(144): ParserDVConfig(595):DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
D/CameraHal(144): ParserDVConfig(607):DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
D/CameraHal(144): ParserDVConfig(619):DV_CIF(cif) resolution(352x288) fps(10) support(1)
D/CameraHal(144): ParserDVConfig(631):DV_VGA(480p) resolution(640x480) fps(10) support(0)
D/CameraHal(144): ParserDVConfig(643):DV_480P(480p) resolution(720x480) fps(10) support(0)
D/CameraHal(144): ParserDVConfig(667):DV_720P(720p) resolution(1280x720) fps(10) support(1)
D/CameraHal(144): ParserDVConfig(679):DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
D/CameraHal(144): number of camdevice (1)
D/CameraHal(144): now DV size(7)
E/CameraHal(144): camera_get_number_of_cameras(683): board profiles cam num 1
D/CameraHal(144): read cam name from xml(/data/media_profiles.xml)
D/CameraHal(144): videoname0="UVC Camera" index=0 facing=0 -->
D/CameraHal(144):
D/CameraHal(144): videoname1="UVC Camera" index=1 facing=0 -->
D/CameraHal(144):
D/CameraHal(144): find camera count(2) cam1(UVC Camera) cam2(UVC Camera)
E/CameraHal(144): camera_get_number_of_cameras(690): load sensor name(OV13850ˬ=���$��2�kr�o��H�����/dev/camsys_marvin) connect 0
E/CameraHal(144): camera_get_number_of_cameras(743): Open /dev/video0 failed! strr: No such file or directory
D/CameraHal(144): camera_get_number_of_cameras(1111): camera_get_number_of_cameras(1111): Current board have 0 cameras attached.
D/CameraHal(144): camera_get_number_of_cameras(1114): meida_profiles_xml_control time (45565)us
E/CameraService(144): no camera found before! check again...
I/CameraService(144): Loaded "RK29_ICS_CameraHal_Module" camera module
D/CameraHal(144): createInstance(780): open xml file(/etc/cam_board.xml) success
D/CameraHal(144):
D/CameraHal(144):
D/CameraHal(144):
D/CameraHal(144):Cam_board.xml Version Check:
D/CameraHal(144):   /etc/cam_board.xml : v0.7.0
D/CameraHal(144):   CameraHal_board_xml_parser: v0.7.0
D/CameraHal(144):
D/CameraHal(144):
D/CameraHal(144): ParserSensorInfo(45): SensorName(OV13850�)
D/CameraHal(144): ParserSensorInfo(47): SensorDevID(CAMSYS_DEVID_SENSOR_1B)
D/CameraHal(144): ParserSensorInfo(58): SensorDevID(33554432)
D/CameraHal(144): ParserSensorInfo(60): SensorHostDevID(CAMSYS_DEVID_MARVIN)
D/CameraHal(144): ParserSensorInfo(75): Sensori2cBusNum(3)
D/CameraHal(144): ParserSensorInfo(78): SensorI2cAddrByte(2)
D/CameraHal(144): ParserSensorInfo(81): SensorI2cRate(100000)
D/CameraHal(144): ParserSensorInfo(84): SensorMclk(24000000)
D/CameraHal(144): ParserSensorInfo(87): SensorAvdd(NC) min(0) max(0)
D/CameraHal(144): ParserSensorInfo(92): SensorDovdd(NC) min(18000000) max(18000000)
D/CameraHal(144): ParserSensorInfo(97): SensorDvdd(NC) min(0) max(0)
D/CameraHal(144): ParserSensorInfo(102): SensorGpioPwdn(RK30_PIN2_PB6) active(0)
D/CameraHal(144): ParserSensorInfo(106): SensorGpioRst(RK30_PIN2_PB7) active(0)
D/CameraHal(144): ParserSensorInfo(110): SensorGpioPwen(RK30_PIN0_PB3) active(1)
D/CameraHal(144): ParserSensorInfo(114): SensorFacing(front)
D/CameraHal(144): ParserSensorInfo(123): SensorInterface(MIPI)
D/CameraHal(144): ParserSensorInfo(136): SensorMirrorFlip(0)
D/CameraHal(144): ParserSensorInfo(142): SensorOrientation(180)
D/CameraHal(144): ParserSensorInfo(139): SensorPowerupSequence(1234)
D/CameraHal(144): ParserSensorInfo(234): SensorFovParemeter fov_h(60.0)(60.000000) fov_v(60.0)(60.000000)
D/CameraHal(144): ParserSensorInfo(237): SensorAWB_Frame_Skip fps(15)
D/CameraHal(144): ParserSensorInfo(210): SensorPhy: MIPIlane: 2phyindex: 1fmt: 0x2b
D/CameraHal(144): ParserVCMInfo(249): VCMDrvName(BuiltInSensor)
D/CameraHal(144): ParserVCMInfo(252): VCMName(NC)
D/CameraHal(144): ParserVCMInfo(255): VCMI2cBusNum(3)
D/CameraHal(144): ParserVCMInfo(258): VCMI2cAddrByte(0)
D/CameraHal(144): ParserVCMInfo(261): VCMI2cRate(0)
D/CameraHal(144): ParserVCMInfo(272): VCMVdd(NC) min(0) max(0)
D/CameraHal(144): ParserVCMInfo(264): VCMGpioPwdn(NC) active(0)
D/CameraHal(144): ParserVCMInfo(268): VCMGpioPower(NC) active(0)
D/CameraHal(144): ParserVCMInfo(288): start current(20) rated current(80) vcm max(100)step mode(13)drv max(100)
D/CameraHal(144): ParserFlashInfo(302): FlashName(Internal)
D/CameraHal(144): ParserFlashInfo(305): FlashI2cBusNum(0)
D/CameraHal(144): ParserFlashInfo(308): FlashI2cAddrByte(0)
D/CameraHal(144): ParserFlashInfo(311): FlashI2cRate(0)
D/CameraHal(144): ParserFlashInfo(314): FlashTrigger(NC) active(0)
D/CameraHal(144): ParserFlashInfo(318): FlashEn(NC) active(0)
D/CameraHal(144): ParserFlashInfo(325): FlashLuminance(0)
D/CameraHal(144): ParserFlashInfo(328): FlashColorTemp(0)
D/CameraHal(144): StartElementHandler(746): HDR(1)!
D/CameraHal(144): StartElementHandler(750): ZSL(1)!
D/CameraHal(144): StartElementHandler(754): zoom(1)!
D/CameraHal(144): StartElementHandler(764): Continue_SnapShot(1)!
D/CameraHal(144): StartElementHandler(758): PreviewSize(800x600)!
D/CameraHal(144): ParserDVConfig(595):DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
D/CameraHal(144): ParserDVConfig(607):DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
D/CameraHal(144): ParserDVConfig(619):DV_CIF(cif) resolution(352x288) fps(10) support(1)
D/CameraHal(144): ParserDVConfig(631):DV_VGA(480p) resolution(640x480) fps(10) support(0)
D/CameraHal(144): ParserDVConfig(643):DV_480P(480p) resolution(720x480) fps(10) support(0)
D/CameraHal(144): ParserDVConfig(667):DV_720P(720p) resolution(1280x720) fps(10) support(1)
D/CameraHal(144): ParserDVConfig(679):DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
D/CameraHal(144): number of camdevice (1)
D/CameraHal(144): now DV size(7)
E/CameraHal(144): camera_get_number_of_cameras(683): board profiles cam num 1
D/CameraHal(144): read cam name from xml(/data/media_profiles.xml)
D/CameraHal(144): videoname0="UVC Camera" index=0 facing=0 -->
D/CameraHal(144):
D/CameraHal(144): videoname1="UVC Camera" index=1 facing=0 -->
D/CameraHal(144):
D/CameraHal(144): find camera count(2) cam1(UVC Camera) cam2(UVC Camera)
E/CameraHal(144): camera_get_number_of_cameras(690): load sensor name(OV13850�) connect 0
E/CameraHal(144): camera_get_number_of_cameras(743): Open /dev/video0 failed! strr: No such file or directory
D/CameraHal(144): camera_get_number_of_cameras(1111): camera_get_number_of_cameras(1111): Current board have 0 cameras attached.
D/CameraHal(144): camera_get_number_of_cameras(1114): meida_profiles_xml_control time (42674)us



linjc 发表于 2015-2-3 20:19:21

richi 发表于 2015-2-2 23:59
恢复出厂设置, dmesg 可看到更多訊息。但打開相機APP,畫面是黑的。求救!!!!

root@rk3288:/ # dmesg | gr ...

对比了一下log 与我正常使用的一样。你说的画面是黑的,是打开相机app的时候报“Can't connect to the camera”?还是怎样?你的摄像头是从Firefly官网买的吗?

linjc 发表于 2015-2-2 08:49:14

楼主用的是什么固件啊?是官方最新的吗?

richi 发表于 2015-2-2 09:29:27

linjc 发表于 2015-2-2 08:49
楼主用的是什么固件啊?是官方最新的吗?

yes, i have pull to the latest commit:

commit 4f223b86f1362d79eb5c27a8440d2c13e229a4bd
Author: Firefly-RK3288 <service@t-firefly.com>
Date:   Mon Jan 26 11:47:42 2015 +0800

    Kernel->Camera:set the AF_VDD default voltage as 2.8V

linjc 发表于 2015-2-2 10:50:56

richi 发表于 2015-2-2 09:29
yes, i have pull to the latest commit:

commit 4f223b86f1362d79eb5c27a8440d2c13e229a4bd


我对比了一下我正常工作的内核log是一样的,你拉取了最新提交之后有没有重新编译,重新烧写整个固件啊?

richi 发表于 2015-2-2 14:27:48

我有重新编译,但不是乾淨的重新编译(clean build).需要乾淨的重新编译嗎???
我重新烧写了resource.img, kernel.img, boot.img, system.img, 這樣不夠嗎?

我到覺得下面這個很奇怪
<11>[   10.728031] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_hal.ver
<11>[   10.736111] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_trace
<11>[   10.744013] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_camboard.ver
<11>[   10.752358] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_libisp.ver
<11>[   10.760476] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_isi.ver

getprop 應該看到 sys.graphic.cam.**** 的property呀!!!

linjc 发表于 2015-2-2 16:18:59

richi 发表于 2015-2-2 14:27
我有重新编译,但不是乾淨的重新编译(clean build).需要乾淨的重新编译嗎???
我重新烧写了resource.img ...

不需要"make clean",你试一下恢复出厂设置吧。

richi 发表于 2015-2-2 23:59:02

恢复出厂设置, dmesg 可看到更多訊息。但打開相機APP,畫面是黑的。求救!!!!

root@rk3288:/ # dmesg | grep cam
<4>[    4.238986] D1:camsys_platform_probe(1061): 1-gpios-cifpower: gpio=236
<4>[    4.245472] D1:camsys_platform_probe(1064): gpios-cifpower: gpio_request
<4>[    4.252162] D1:camsys_platform_probe(1066): 1-gpios-cifpower: gpio_request=0
<4>[    4.259174] D1:camsys_platform_probe(1075): gpios-cifpower: 236 high
<4>[    4.265625] D1:camsys_mipiphy_probe_cb(163): ff910000.isp mipi phy0 probe success(reg_phy: 0x0reg_vir: 0x0size: 0x0)
<4>[    4.276801] D1:camsys_mipiphy_probe_cb(160): ff910000.isp mipi phy1 probe success(reg_phy: 0xff968000reg_vir: 0xf19b0000size: 0x4000)
<4>[    4.291041] D1:camsys_platform_probe(1208): ff910000.isp memory:
<4>[    4.297042] D1:camsys_platform_probe(1218):   Register memory (phy: 0xff910000 vir: 0xf19e0000 size: 0x10000)
<4>[    4.307025] D1:camsys_platform_probe(1213):   I2c memory (phy: 0x2da01000 vir: 0xeda01000 size: 0x1000)
<4>[    4.316488] D1:camsys_platform_probe(1233): Probe ff910000.isp device success
<11>[   10.592947] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_hal.ver
<11>[   10.600834] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_trace
<11>[   10.608464] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_camboard.ver
<11>[   10.616806] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_libisp.ver
<11>[   10.624892] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_isi.ver
<4>[   10.637509] D1:camsys_mipiphy_clkin_cb(29): camsys_marvin mipi phy clk in turn on
<4>[   10.644934] D1:camsys_mipiphy_clkin_cb(29): camsys_marvin mipi phy clk in turn on
<4>[   10.652293] D1:camsys_open(710): camsys_marvin(ed880210) is opened!
<4>[   10.658641] D1:camsys_extdev_register(226): Get RK30_PIN2_PB6(78) gpio(active: 0) for dev_id 0x2000000 success!
<4>[   10.668590] D1:camsys_extdev_register(226): Get RK30_PIN2_PB7(79) gpio(active: 0) for dev_id 0x2000000 success!
<4>[   10.678566] D1:camsys_extdev_register(226): Get RK30_PIN0_PB3(11) gpio(active: 1) for dev_id 0x2000000 success!
<4>[   10.720514] D1:camsys_mrv_iomux_cb(90): marvin pinctrl select: isp_mipi_fl
<4>[   10.754915] D1:camsys_extdev_register(248): Extdev(dev_id: 0x2000000) register success
<4>[   10.767775] D1:camsys_mrv_clkin_cb(344): camsys_marvin clock(f: 210000000 Hz) in turn on
<4>[   10.775742] D1:camsys_rk3288_cfg(49): Isp_SoftRst: 1
<4>[   10.780736] D1:camsys_rk3288_cfg(49): Isp_SoftRst: 0
<4>[   10.785644] D1:camsys_mrv_clkout_cb(379): camsys_marvin clock out(rate: 24000000Hz) turn on
<4>[   10.794931] D1:camsys_sysctl_extdev(326): Sysctl 11 success, gpio(11) set 1
<4>[   10.802856] D1:camsys_sysctl_extdev(330): Sysctl 8 success, gpio(79) set 1
<4>[   10.810671] D1:camsys_sysctl_extdev(330): Sysctl 7 success, gpio(78) set 1
<3>[   10.820669] E:camsys_i2c_write(77): i2c write dev(addr:0x20) failed!
<4>[   10.828662] D1:camsys_sysctl_extdev(326): Sysctl 7 success, gpio(78) set 0
<4>[   10.835478] D1:camsys_sysctl_extdev(326): Sysctl 8 success, gpio(79) set 0
<4>[   10.842351] D1:camsys_sysctl_extdev(330): Sysctl 11 success, gpio(11) set 0
<4>[   10.850352] D1:camsys_mrv_clkin_cb(361): camsys_marvin clock in turn off
<4>[   10.857018] D1:camsys_mrv_clkout_cb(391): camsys_marvin clock out turn off
<4>[   10.865922] D1:camsys_irq_disconnect(635): All thread disconnect camsys_marvin irq success!
<4>[   10.874227] D1:camsys_mipiphy_clkin_cb(31): camsys_marvin mipi phy clk in turn off
<4>[   10.881724] D1:camsys_mipiphy_clkin_cb(31): camsys_marvin mipi phy clk in turn off
<4>[   10.889207] D1:camsys_release(734): camsys_marvin(ed880210) is closed
<11>[   10.970058] init: sys_prop: permission denied uid:1000name:sys_graphic.cam_drv_camsys.ver

root@rk3288:/ # logcat | grep Camera
W/PackageManager(470): Package com.google.android.GoogleCamera desires unavailable shared library com.google.android.gestureservice; ignoring!
W/PackageManager(470): Package com.google.android.GoogleCamera desires unavailable shared library com.google.android.camera2; ignoring!
W/PackageManager(470): Package com.google.android.GoogleCamera desires unavailable shared library com.google.android.gestureservice; ignoring!
W/PackageManager(470): Package com.google.android.GoogleCamera desires unavailable shared library com.google.android.camera2; ignoring!
W/PackageManager(470): Not granting permission android.permission.BIND_WALLPAPER to package com.google.android.GoogleCamera (protectionLevel=18 flags=0x583c44)
W/PackageManager(470): Not granting permission android.permission.BIND_WALLPAPER to package com.google.android.GoogleCamera (protectionLevel=18 flags=0x583c44)
W/PackageManager(470): Not granting permission android.permission.BIND_WALLPAPER to package com.google.android.GoogleCamera (protectionLevel=18 flags=0xd83c44)
I/ActivityManager(470): Start proc com.google.android.GoogleCamera for broadcast com.google.android.GoogleCamera/com.android.camera.DisableCameraReceiver: pid=1772 uid=10075 gids={50075, 3003, 1028, 1015}
D/CAM_UsageStats( 1772): checking signing for package: com.google.android.GoogleCamera
D/dalvikvm( 1772): DexOpt: couldn't find static field Landroid/hardware/camera2/CameraCharacteristics;.LENS_FACING
W/dalvikvm( 1772): VFY: unable to resolve static field 120 (LENS_FACING) in Landroid/hardware/camera2/CameraCharacteristics;
D/dalvikvm( 1772): DexOpt: couldn't find static field Landroid/hardware/camera2/CameraCharacteristics;.SENSOR_ORIENTATION
I/dalvikvm( 1772): DexOpt: unable to optimize static field ref 0x0081 at 0x11 in Lcom/android/camera/util/CameraUtil;.getJpegRotation
D/CameraHal(144): camera_get_camera_info(1308): camera_get_camera_info(1308): camera_0 facing(1), orientation(180)
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/ActivityManager(470): Delay finish: com.google.android.apps.plus/.service.CameraMonitor
I/Icing.InternalIcingCorporaProvider( 2086): Updating corpora: A: com.google.android.GoogleCamera, C: MAYBE
D/PackageBroadcastService(774): Received broadcast action=android.intent.action.PACKAGE_CHANGED and uri=com.google.android.GoogleCamera
I/ActivityManager(470): Killing 1772:com.google.android.GoogleCamera/u0a75 (adj 15): empty #17
D/Finsky( 1737): VerifyInstalledPackagesTask.doInBackground: Adding com.google.android.GoogleCamera for verification
I/ActivityManager(470): START u0 {act=android.intent.action.MAIN cat= flg=0x10200000 cmp=com.android.camera2/com.android.camera.CameraLauncher} from pid 697
I/ActivityManager(470): Start proc com.android.camera2 for activity com.android.camera2/com.android.camera.CameraLauncher: pid=2352 uid=10026 gids={50026, 3003, 1028, 1015}
D/CameraHal(144): camera_get_camera_info(1308): camera_get_camera_info(1308): camera_0 facing(1), orientation(180)
V/CameraHolder( 2352): open camera 0
D/CameraHal(144): camera_get_camera_info(1308): camera_get_camera_info(1308): camera_0 facing(1), orientation(180)
D/CameraHal(144): camera_get_camera_info(1308): camera_get_camera_info(1308): camera_0 facing(1), orientation(180)
I/CameraClient(144): Opening camera 0
I/CameraHal(144): camera_device_open(493): camera_device open : name = 0
D/CameraHal(144): gCameraHalLogLevel: 0
D/CameraHal(144): CameraHal(124): it is a ispcamera
E/CameraHal(144): disconnectCamera(1427): getFocusLimits failed!
E/CameraHal_Marvin(144): OV13850: OV13850_IsiMdiFocusSet: focus set position_reg_value(204) position(64)
D/CameraHal_Marvin(144):
D/CameraHal_Marvin(144):
D/CameraHal_Marvin(144):
D/CameraHal_Marvin(144): CameraHal Version Check:
D/CameraHal_Marvin(144):   CamSys_Head.h version:
D/CameraHal_Marvin(144):      kernel: (0x) v0.8.0
D/CameraHal_Marvin(144):      libisp_siliconimage_isp.so: (0x) v0.8.0
D/CameraHal_Marvin(144):   LibIsp version:
D/CameraHal_Marvin(144):      local: (0x) v1.0.0
D/CameraHal_Marvin(144):      camera.rk30board.so: (0x) v1.0.0
D/CameraHal_Marvin(144):   Sensor ISI version:
D/CameraHal_Marvin(144):         libisp_isi_drv_XXX: (0x) v0.7.0
D/CameraHal_Marvin(144):         libisp_siliconimage_isp.so: (0x) v0.7.0
D/CameraHal_Marvin(144):   Tunning XML version:
D/CameraHal_Marvin(144):         libisp_isi_drv_XXX: (22-May-2014_OUYANG_OV13850_FX288_v1.0)
D/CameraHal_Marvin(144):         Calibdb: (06-Aug-2014_ZYL-OYYF_OV13850_CMK-CT0116-FV1_v0.1.2)
D/CameraHal_Marvin(144):   sensor name OV13850:
D/CameraHal_Marvin(144):      sensor drv version: (0x) v0.8.0
D/CameraHal_Marvin(144):
D/CameraHal_Marvin(144):
D/CameraHal_Marvin(144):
E/CameraHal(144): zhansb>>>:mCamDrvWidth=0,mCamDrvHeight:0,RES_W:2112,RES_H:1568
E/CameraHal(144): =====width_sensor:2112,height_sensor:1568,preview_w:640,preview:h:480========
D/CameraHal(144): setupPreview(215): isp out put format is YUV420SP.
E/CameraHal_Marvin(144): HAL-MOCKUP: PHY ADDR (0x10000000),iommu addr (0x10000000)
E/CameraHal_Marvin(144): HAL-MOCKUP: PHY ADDR (0x11e00000),iommu addr (0x11e00000)
E/CameraHal_Marvin(144): HAL-MOCKUP: PHY ADDR (0x13c00000),iommu addr (0x13c00000)
E/CameraHal_Marvin(144): HAL-MOCKUP: PHY ADDR (0x15a00000),iommu addr (0x15a00000)
E/CameraHal_Marvin(144): OV13850: OV13850_IsiMdiFocusSet: focus set position_reg_value(204) position(64)
E/CameraHal_Marvin(144): OV13850: OV13850_IsiMdiFocusSet: focus set position_reg_value(204) position(64)
D/CameraStorage( 2352): External storage state=mounted
D/CameraHal(144): camera_get_camera_info(1308): camera_get_camera_info(1308): camera_0 facing(1), orientation(180)
D/CameraHal(144): commandThread(1014): commandThread(1014): receive CMD_AF_CANCEL
D/CameraHal(144): commandThread(877): commandThread(877):receive CMD_SET_PREVIEW_WINDOW
D/CameraHal(144): commandThread(893): commandThread(893): CMD_SET_PREVIEW_WINDOW out
D/CameraHal(144): commandThread(775): commandThread(775):receive CMD_PREVIEW_START
D/CameraHal(144): stop(1490): m_camDevice->stopPreview success!
E/CameraHal(144): =====width_sensor:2112,height_sensor:1568,preview_w:800,preview:h:600========
D/CameraHal(144): setupPreview(215): isp out put format is YUV420SP.
D/CameraHal(144): start(1445): m_camDevice->startPreview success
D/CameraHal(144): displayThread(575): displayThread(575): receive CMD_DISPLAY_START
D/CameraHal(144): commandThread(845): commandThread(845): CMD_PREVIEW_START out
I/ActivityManager(470): Displayed com.android.camera2/com.android.camera.CameraLauncher: +1s102ms

richi 发表于 2015-2-3 22:53:57

沒报“Can't connect to the camera”, 畫面看不到東西,就是一片黑。摄像头是从Firefly掏寶买的。

linjc 发表于 2015-2-3 23:12:48

richi 发表于 2015-2-3 22:53
沒报“Can't connect to the camera”, 畫面看不到東西,就是一片黑。摄像头是从Firefly掏寶买的。

按你这样说应该不是软件问题,但硬件的话他们发货前都是有测试的,也不太可能有问题,会不会是贴在摄像头的那张保护纸没撕掉,被挡住了??除了这个我想不出其他可能了。。。:L
页: [1] 2
查看完整版本: OV13850攝像頭模組 不能動作