:\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 isp camera
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 isp camera
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 182 1063 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.936 1375 1375 V CAM_QuickActivity: START onCreate: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:56.193 182 1085 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:56.228 182 1085 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:57.462 1375 1375 V CAM_CameraController: Closing camera
1-02 01:06:57.465 1375 1468 W CAM2PORT_AndCamAgntImp: Releasing camera without any camera opened.
1-02 01:06:57.500 1375 1375 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@60ebcf8]
1-02 01:06:57.530 1375 1375 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@60ebcf8, com.android.camera.ButtonManager@44b5e0d
1-02 01:06:57.530 1375 1375 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.545 1375 1375 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.113 1375 1375 V CAM_QuickActivity: END onCreate: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:58.115 1375 1375 V CAM_QuickActivity: START onStart: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:58.344 1375 1375 V CAM_QuickActivity: END onStart: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:58.345 1375 1375 V CAM_QuickActivity: START onResume: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:06:58.531 1375 1375 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.474 1375 1630 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.721 1375 1630 I CameraManager: Using legacy camera HAL.
1-02 01:06:59.748 182 1085 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 182 1085 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 182 1085 D CameraHal: camera_get_number_of_cameras(1117): meida_profiles_xml_control time (73)us
1-02 01:06:59.749 182 1085 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:59.840 182 1085 I CameraClient: Opening camera 0
1-02 01:06:59.840 182 1085 D CameraHal: camera_get_camera_info(1311): camera_get_camera_info(1311): camera_0 facing(0), orientation(0)
1-02 01:06:59.840 182 1085 I CameraHal: camera_device_open(500): camera_device open
1-02 01:06:59.841 182 1085 D CameraHal: CameraHal(133): it is a isp camera
1-02 01:06:59.841 182 1085 D CameraHal: Calling process is: com.android.camera2
1-02 01:06:59.938 182 1085 D CameraHal_Marvin: camera.rk30board.so: (0x) v1.27.0
1-02 01:07:00.227 182 1085 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.395 1375 1556 D CAM_CaptureModule: onCameraOpened: com.android.camera.one.v2.initialization.GenericOneCameraImpl@4c00688
1-02 01:07:00.432 1375 1556 I CameraDeviceState: Legacy camera service transitioning to state CONFIGURING
1-02 01:07:00.572 1375 1556 I CameraDeviceState: Legacy camera service transitioning to state IDLE
1-02 01:07:00.619 1375 1556 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.620 1375 1556 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.637 1375 1698 D CAM_CommandExecutor: Executing command: com.android.camera.one.v2.commands.PreviewCommand@2608b01 START
1-02 01:07:00.660 1375 1698 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 182 1645 D CameraHal: cameraDisplayBufferDestory(396): cameraDisplayBufferDestory(396): mANativeWindow is NULL, destory is ignor
1-02 01:07:02.177 1699 1699 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.618 1699 1699 W System.err: java.lang.ClassNotFoundException: Didn't find class "com.meitu.meiyancamera.BuildConfig" on path: DexPath
ist[[dex file "/data/app/com.meitu.meiyancamera-1/base.apk", zip file "/data/app/com.meitu.meiyancamera-1/base.apk"],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.621 1699 1699 W System.err: Suppressed: java.lang.ClassNotFoundException: com.meitu.meiyancamera.BuildConfig
1-02 01:07:03.798 512 1221 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.834 1784 1784 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.990 1375 1679 I CameraDeviceState: Legacy camera service transitioning to state CAPTURING
1-02 01:07:04.995 1784 1784 W System.err: java.lang.ClassNotFoundException: Didn't find class "com.meitu.meiyancamera.BuildConfig" on path: DexPath
ist[[dex file "/data/app/com.meitu.meiyancamera-1/base.apk", zip file "/data/app/com.meitu.meiyancamera-1/base.apk"],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.997 1784 1784 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.688 1375 1375 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 182 1085 I CameraFlashlight: Destroying camera 0
1-02 01:10:00.249 182 1085 D CameraHal: camera_device_close(451): camera_device_close
1-02 01:10:00.257 182 1645 D CameraHal: cameraDisplayBufferDestory(396): cameraDisplayBufferDestory(396): mANativeWindow is NULL, destory is ignor
1-02 01:10:00.763 182 1085 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 182 1085 D CameraHal: camera_get_number_of_cameras(1117): meida_profiles_xml_control time (61)us
1-02 01:10:00.764 182 1085 I CameraService: disconnect: Disconnected client for camera 0 for PID 1375
1-02 01:10:00.781 1375 1636 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.828 1375 1375 V CAM_CameraActivity: onPause closing camera
1-02 01:10:00.828 1375 1375 V CAM_CameraController: Closing camera
1-02 01:10:00.829 1375 1468 W CAM2PORT_AndCamAgntImp: Releasing camera without any camera opened.
1-02 01:10:00.835 1375 1375 V CAM_QuickActivity: END onPause: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:10:00.878 1375 1375 V CAM_QuickActivity: START onStop: Activity = com.android.camera.CameraActivity@cf1b2da
1-02 01:10:00.878 1375 1375 V CAM_QuickActivity: END onStop: Activity = com.android.camera.CameraActivity@cf1b2da
C作者: yamikiri 时间: 2016-12-9 12:08
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
请确认OV18350与固件版本, 参考如下: