crg375658266 发表于 2016-10-12 20:15:08

rk3288 ov13850 打开camera 没有图像,黑的,什么问题

icrosoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

:\Users\Administrator>adb shell
oot@rk3288:/ # logcat | grep camera
ogcat | grep camera
1-02 01:06:21.035   182   182 E CameraHal: camera_get_number_of_cameras(690): board profiles cam num 1
1-02 01:06:21.035   182   182 D CameraHal: read cam name from xml(/data/camera/media_profiles.xml)
1-02 01:06:21.037   182   182 D CameraHal: find camera count(1) cam1(OV13850) cam2()
1-02 01:06:21.273   182   182 E CameraHal: camera_get_number_of_cameras(697): load sensor name(OV13850) connect 1
1-02 01:06:21.275   182   182 E CameraHal: camera_get_number_of_cameras(750): Open /dev/video0 failed! strr: No such file or directory
1-02 01:06:21.275   182   182 D CameraHal: camera_get_number_of_cameras(1114): camera_get_number_of_cameras(1114): Current board have 1 cameras attac
ed.
1-02 01:06:21.275   182   182 D CameraHal: camera_get_number_of_cameras(1117): meida_profiles_xml_control time (261940)us
1-02 01:06:21.275   182   182 I CameraService: Loaded "RK29_ICS_CameraHal_Module" camera module
1-02 01:06:21.275   182   182 D CameraHal: camera_get_number_of_cameras(1114): camera_get_number_of_cameras(1114): Current board have 1 cameras attac
ed.
1-02 01:06:21.275   182   182 D CameraHal: camera_get_number_of_cameras(1117): meida_profiles_xml_control time (24)us
1-02 01:06:21.275   182   182 D CameraHal: camera_get_number_of_cameras(1114): camera_get_number_of_cameras(1114): Current board have 1 cameras attac
ed.
1-02 01:06:21.275   182   182 D CameraHal: camera_get_number_of_cameras(1117): meida_profiles_xml_control time (22)us
1-02 01:06:21.275   182   182 I CameraFlashlight: Opening camera 0
1-02 01:06:21.275   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:21.275   182   182 I CameraHal: camera_device_open(500): camera_device open
1-02 01:06:21.275   182   182 D CameraHal: CameraHal(133): it is a ispcamera
1-02 01:06:21.370   182   182 D CameraHal_Marvin:      camera.rk30board.so: (0x) v1.27.0
1-02 01:06:21.687   182   365 D CameraHal: cameraDisplayBufferDestory(396): cameraDisplayBufferDestory(396): mANativeWindow is NULL, destory is ignor

1-02 01:06:21.687   182   182 I CameraFlashlight: Destroying camera 0
1-02 01:06:21.687   182   182 D CameraHal: camera_device_close(451): camera_device_close
1-02 01:06:21.687   182   365 D CameraHal: cameraDisplayBufferDestory(396): cameraDisplayBufferDestory(396): mANativeWindow is NULL, destory is ignor

1-02 01:06:21.805   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:21.805   182   182 I ServiceManager: Waiting for service media.camera.proxy...
1-02 01:06:22.805   182   182 I ServiceManager: Waiting for service media.camera.proxy...
1-02 01:06:23.806   182   182 I ServiceManager: Waiting for service media.camera.proxy...
1-02 01:06:24.806   182   182 I ServiceManager: Waiting for service media.camera.proxy...
1-02 01:06:25.806   182   182 I ServiceManager: Waiting for service media.camera.proxy...
1-02 01:06:27.574   187   187 D MediaProfiles: getInstance(713): Create instance from /data/camera/media_profiles.xml
1-02 01:06:33.383   512   512 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.WAKE_LOCK in package: c
m.meitu.meiyancamera at: Binary XML file line #46
1-02 01:06:33.383   512   512 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.VIBRATE in package: com
meitu.meiyancamera at: Binary XML file line #48
1-02 01:06:33.383   512   512 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.GET_TASKS in package: c
m.meitu.meiyancamera at: Binary XML file line #50
1-02 01:06:34.595   512   512 W PackageManager: Not granting permission android.permission.BIND_WALLPAPER to package com.android.camera2 (protectionL
vel=18 flags=0x3058bc45)
1-02 01:06:34.598   512   512 W PackageManager: Unknown permission getui.permission.GetuiService in package com.meitu.meiyancamera
1-02 01:06:34.598   512   512 W PackageManager: Unknown permission com.sec.android.provider.badge.permission.READ in package com.meitu.meiyancamera
1-02 01:06:34.598   512   512 W PackageManager: Unknown permission com.sec.android.provider.badge.permission.WRITE in package com.meitu.meiyancamera
1-02 01:06:34.598   512   512 W PackageManager: Unknown permission com.htc.launcher.permission.READ_SETTINGS in package com.meitu.meiyancamera
1-02 01:06:34.598   512   512 W PackageManager: Unknown permission com.htc.launcher.permission.UPDATE_SHORTCUT in package com.meitu.meiyancamera
1-02 01:06:34.599   512   512 W PackageManager: Unknown permission com.sonyericsson.home.permission.BROADCAST_BADGE in package com.meitu.meiyancamera

1-02 01:06:34.599   512   512 W PackageManager: Unknown permission com.sonymobile.home.permission.PROVIDER_INSERT_BADGE in package com.meitu.meiyanca
era
1-02 01:06:34.599   512   512 W PackageManager: Unknown permission com.anddoes.launcher.permission.UPDATE_COUNT in package com.meitu.meiyancamera
1-02 01:06:34.599   512   512 W PackageManager: Unknown permission com.majeur.launcher.permission.UPDATE_BADGE in package com.meitu.meiyancamera
1-02 01:06:34.599   512   512 W PackageManager: Unknown permission com.huawei.android.launcher.permission.CHANGE_BADGE in package com.meitu.meiyancam
ra
1-02 01:06:35.262   512   512 I SystemServiceManager: Starting com.android.server.camera.CameraService
1-02 01:06:35.885   512   557 W PackageManager: Not granting permission android.permission.BIND_WALLPAPER to package com.android.camera2 (protectionL
vel=18 flags=0x3058bc45)
1-02 01:06:35.888   512   557 W PackageManager: Unknown permission getui.permission.GetuiService in package com.meitu.meiyancamera
1-02 01:06:35.888   512   557 W PackageManager: Unknown permission com.sec.android.provider.badge.permission.READ in package com.meitu.meiyancamera
1-02 01:06:35.889   512   557 W PackageManager: Unknown permission com.sec.android.provider.badge.permission.WRITE in package com.meitu.meiyancamera
1-02 01:06:35.889   512   557 W PackageManager: Unknown permission com.htc.launcher.permission.READ_SETTINGS in package com.meitu.meiyancamera
1-02 01:06:35.889   512   557 W PackageManager: Unknown permission com.htc.launcher.permission.UPDATE_SHORTCUT in package com.meitu.meiyancamera
1-02 01:06:35.889   512   557 W PackageManager: Unknown permission com.sonyericsson.home.permission.BROADCAST_BADGE in package com.meitu.meiyancamera

1-02 01:06:35.889   512   557 W PackageManager: Unknown permission com.sonymobile.home.permission.PROVIDER_INSERT_BADGE in package com.meitu.meiyanca
era
1-02 01:06:35.889   512   557 W PackageManager: Unknown permission com.anddoes.launcher.permission.UPDATE_COUNT in package com.meitu.meiyancamera
1-02 01:06:35.889   512   557 W PackageManager: Unknown permission com.majeur.launcher.permission.UPDATE_BADGE in package com.meitu.meiyancamera
1-02 01:06:35.889   512   557 W PackageManager: Unknown permission com.huawei.android.launcher.permission.CHANGE_BADGE in package com.meitu.meiyancam
ra
1-02 01:06:42.771   607   607 I CameraManagerGlobal: Connecting to camera service
1-02 01:06:42.793   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:42.793   182   182 I CameraService: CameraService::connect call (PID 182 "media", camera ID 0) for HAL version default and Camera API vers
on 1
1-02 01:06:42.794   182   182 D CameraHal: camera_get_number_of_cameras(1114): camera_get_number_of_cameras(1114): Current board have 1 cameras attac
ed.
1-02 01:06:42.794   182   182 D CameraHal: camera_get_number_of_cameras(1117): meida_profiles_xml_control time (24)us
1-02 01:06:42.794   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:42.845   182   182 I CameraClient: Opening camera 0
1-02 01:06:42.845   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:42.845   182   182 I CameraHal: camera_device_open(500): camera_device open
1-02 01:06:42.845   182   182 D CameraHal: CameraHal(133): it is a ispcamera
1-02 01:06:42.952   182   182 D CameraHal_Marvin:      camera.rk30board.so: (0x) v1.27.0
1-02 01:06:43.263   182   182 I CameraFlashlight: Destroying camera 0
1-02 01:06:43.263   182   182 D CameraHal: camera_device_close(451): camera_device_close
1-02 01:06:43.263   1821063 D CameraHal: cameraDisplayBufferDestory(396): cameraDisplayBufferDestory(396): mANativeWindow is NULL, destory is ignor

1-02 01:06:43.385   182   182 D CameraHal: camera_get_number_of_cameras(1114): camera_get_number_of_cameras(1114): Current board have 1 cameras attac
ed.
1-02 01:06:43.385   182   182 D CameraHal: camera_get_number_of_cameras(1117): meida_profiles_xml_control time (62)us
1-02 01:06:43.386   182   182 I CameraService: disconnect: Disconnected client for camera 0 for PID 182
1-02 01:06:43.391   182   547 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:43.396   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:50.635   512   979 I ActivityManager: START u0 {act=android.media.action.STILL_IMAGE_CAMERA flg=0x14000000 cmp=com.android.camera2/com.and
oid.camera.CameraActivity (has extras)} from uid 10014 on display 0
1-02 01:06:51.135   512   979 I ActivityManager: Start proc 1375:com.android.camera2/u0a21 for activity com.android.camera2/com.android.camera.Camera
ctivity
1-02 01:06:53.93613751375 V CAM_QuickActivity: START onCreate: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:56.193   1821085 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:56.228   1821085 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:57.46213751375 V CAM_CameraController: Closing camera
1-02 01:06:57.46513751468 W CAM2PORT_AndCamAgntImp: Releasing camera without any camera opened.
1-02 01:06:57.50013751375 V CAM_SettingsManager: listeners:
1-02 01:06:57.53013751375 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@60ebcf8, com.android.camera.ButtonManager@44b5e0d

1-02 01:06:57.53013751375 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@60ebcf8, com.android.camera.ButtonManager@44b5e0d
com.android.camera.widget.IndicatorIconController@b937bd3]
1-02 01:06:57.54513751375 I CameraManagerGlobal: Connecting to camera service
1-02 01:06:57.594   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:57.595   182   547 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:57.598   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:57.694   182   547 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:57.695   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:58.11313751375 V CAM_QuickActivity: END onCreate: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:58.11513751375 V CAM_QuickActivity: START onStart: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:58.34413751375 V CAM_QuickActivity: END onStart: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:58.34513751375 V CAM_QuickActivity: START onResume: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:58.53113751375 V CAM_QuickActivity: END onResume: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:59.342   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:59.366   182   547 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:59.47413751630 V CAM_ActvCamDevTrckr: Tracking active camera: null
1-02 01:06:59.488   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:59.503   512   533 I ActivityManager: Displayed com.android.camera2/com.android.camera.CameraActivity: +8s587ms
1-02 01:06:59.519   182   547 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:59.720   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:59.72113751630 I CameraManager: Using legacy camera HAL.
1-02 01:06:59.748   1821085 I CameraService: CameraService::connect call (PID 1375 "com.android.camera2", camera ID 0) for HAL version default and
amera API version 1
1-02 01:06:59.749   1821085 D CameraHal: camera_get_number_of_cameras(1114): camera_get_number_of_cameras(1114): Current board have 1 cameras attac
ed.
1-02 01:06:59.749   1821085 D CameraHal: camera_get_number_of_cameras(1117): meida_profiles_xml_control time (73)us
1-02 01:06:59.749   1821085 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:59.840   1821085 I CameraClient: Opening camera 0
1-02 01:06:59.840   1821085 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:59.840   1821085 I CameraHal: camera_device_open(500): camera_device open
1-02 01:06:59.841   1821085 D CameraHal: CameraHal(133): it is a ispcamera
1-02 01:06:59.841   1821085 D CameraHal: Calling process is: com.android.camera2
1-02 01:06:59.938   1821085 D CameraHal_Marvin:      camera.rk30board.so: (0x) v1.27.0
1-02 01:07:00.227   1821085 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:07:00.318   182   182 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:07:00.320   182   547 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:07:00.39513751556 D CAM_CaptureModule: onCameraOpened: com.android.camera.one.v2.initialization.GenericOneCameraImpl@4c00688
1-02 01:07:00.43213751556 I CameraDeviceState: Legacy camera service transitioning to state CONFIGURING
1-02 01:07:00.57213751556 I CameraDeviceState: Legacy camera service transitioning to state IDLE
1-02 01:07:00.61913751556 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@60ebcf8, com.android.camera.ButtonManager@44b5e0d
com.android.camera.widget.IndicatorIconController@b937bd3, com.android.camera.settings.SettingObserver$Listener@492b393]
1-02 01:07:00.62013751556 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@60ebcf8, com.android.camera.ButtonManager@44b5e0d
com.android.camera.widget.IndicatorIconController@b937bd3, com.android.camera.settings.SettingObserver$Listener@492b393, com.android.camera.settings
SettingObserver$Listener@d142bc9]
1-02 01:07:00.63713751698 D CAM_CommandExecutor: Executing command: com.android.camera.one.v2.commands.PreviewCommand@2608b01 START
1-02 01:07:00.66013751698 D CAM_CommandExecutor: Executing command: com.android.camera.one.v2.commands.PreviewCommand@2608b01 END
1-02 01:07:00.702   512   526 I ActivityManager: Start proc 1699:com.meitu.meiyancamera/u0a53 for broadcast com.meitu.meiyancamera/com.igexin.sdk.Pus
Receiver
1-02 01:07:01.061   1821645 D CameraHal: cameraDisplayBufferDestory(396): cameraDisplayBufferDestory(396): mANativeWindow is NULL, destory is ignor

1-02 01:07:02.17716991699 W asset   : Asset path /data/data/com.meitu.meiyancamera/files/libjiagu_x64.a is neither a directory nor file (type=1).

1-02 01:07:03.61816991699 W System.err: java.lang.ClassNotFoundException: Didn't find class "com.meitu.meiyancamera.BuildConfig" on path: DexPath
ist[,nativeLibraryDirectories=[/data/
pp/com.meitu.meiyancamera-1/lib/arm, /data/app/com.meitu.meiyancamera-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
1-02 01:07:03.62116991699 W System.err:    Suppressed: java.lang.ClassNotFoundException: com.meitu.meiyancamera.BuildConfig
1-02 01:07:03.798   5121221 I ActivityManager: Start proc 1784:com.meitu.meiyancamera:pushservice/u0a53 for service com.meitu.meiyancamera/com.igex
n.sdk.PushService
1-02 01:07:04.83417841784 W asset   : Asset path /data/data/com.meitu.meiyancamera/files/libjiagu_x64.a is neither a directory nor file (type=1).

1-02 01:07:04.99013751679 I CameraDeviceState: Legacy camera service transitioning to state CAPTURING
1-02 01:07:04.99517841784 W System.err: java.lang.ClassNotFoundException: Didn't find class "com.meitu.meiyancamera.BuildConfig" on path: DexPath
ist[,nativeLibraryDirectories=[/data/
pp/com.meitu.meiyancamera-1/lib/arm, /data/app/com.meitu.meiyancamera-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
1-02 01:07:04.99717841784 W System.err:    Suppressed: java.lang.ClassNotFoundException: com.meitu.meiyancamera.BuildConfig
1-02 01:07:05.169   512   689 W ActivityManager: Unable to start service Intent { cmp=com.meitu.meiyancamera/com.igexin.sdk.PushServiceUser } U=0: no
found
1-02 01:07:18.799   512   528 I ActivityManager: Waited long enough for: ServiceRecord{e2e12c5 u0 com.meitu.meiyancamera/com.igexin.sdk.PushService}
1-02 01:09:58.68813751375 V CAM_QuickActivity: START onPause: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:09:59.188   512   528 W ActivityManager: Activity pause timeout for ActivityRecord{1cf6567 u0 com.android.camera2/com.android.camera.CameraAc
ivity t29}
1-02 01:10:00.249   1821085 I CameraFlashlight: Destroying camera 0
1-02 01:10:00.249   1821085 D CameraHal: camera_device_close(451): camera_device_close
1-02 01:10:00.257   1821645 D CameraHal: cameraDisplayBufferDestory(396): cameraDisplayBufferDestory(396): mANativeWindow is NULL, destory is ignor

1-02 01:10:00.763   1821085 D CameraHal: camera_get_number_of_cameras(1114): camera_get_number_of_cameras(1114): Current board have 1 cameras attac
ed.
1-02 01:10:00.764   1821085 D CameraHal: camera_get_number_of_cameras(1117): meida_profiles_xml_control time (61)us
1-02 01:10:00.764   1821085 I CameraService: disconnect: Disconnected client for camera 0 for PID 1375
1-02 01:10:00.78113751636 W art   : Long monitor contention event with owner method=void android.hardware.camera2.impl.CameraDeviceImpl.close()
from CameraDeviceImpl.java:991 waiters=0 for 1.239s
1-02 01:10:00.82813751375 V CAM_CameraActivity: onPause closing camera
1-02 01:10:00.82813751375 V CAM_CameraController: Closing camera
1-02 01:10:00.82913751468 W CAM2PORT_AndCamAgntImp: Releasing camera without any camera opened.
1-02 01:10:00.83513751375 V CAM_QuickActivity: END onPause: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:10:00.87813751375 V CAM_QuickActivity: START onStop: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:10:00.87813751375 V CAM_QuickActivity: END onStop: Activity = com.android.camera.CameraActivity@cf1b2da
C

yamikiri 发表于 2016-12-9 12:08:47

Try latest firmware(release date 2016 1102 1526)
I have the same issue with 2015 firmware.
I think the camera module is the latest but your driver isn't.

zkxany 发表于 2016-12-24 13:11:07

请确认OV18350与固件版本, 参考如下:

http://developer.t-firefly.com/forum.php?mod=viewthread&tid=5434&highlight=OV13850
页: [1]
查看完整版本: rk3288 ov13850 打开camera 没有图像,黑的,什么问题