[Galaxy S III Original Android Development] kroat999:
Cant even connect to Camera

camera not working logcat

I/ActivityManager( 2181): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.gallery3d/com.android.camera.CameraLauncher u=0} from pid 2473

D/dalvikvm( 2181): GC_FOR_ALLOC freed 1828K, 19% free 17411K/21447K, paused 80ms, total 80ms

V/CameraHolder( 3771): open camera 0

V/CameraWrapper( 1913): camera_get_camera_info

V/CameraWrapper( 1913): check_vendor_module

D/SecCameraHardware( 1913): LSIHAL int android::HAL_getCameraInfo(int, camera_info*)

I/CameraService( 1913): Opening camera 0

V/CameraWrapper( 1913): camera_device open

V/CameraWrapper( 1913): check_vendor_module

D/SecCameraHardware( 1913): LSIHAL int android::HAL_getNumberOfCameras()

D/SecCameraHardware( 1913): LSIHAL int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**)

D/SecCameraHardware( 1913): LSIHAL int android::HAL_getNumberOfCameras()

D/SecCameraHardware( 1913): LSIHAL int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**): open camera 0

D/SecCameraHardware( 1913): init E

V/SecCameraHardware( 1913): FimcV4l2 init: /dev/video0, fd(38)

V/SecCameraHardware( 1913): FimcV4l2 init: camera[0] S5C73M3

V/StateManager( 3771): startState class com.android.gallery3d.app.PhotoPage

D/OrientationManager( 3771): lock orientation to portrait

D/iNemoSensor( 2181): setDelay(): handle(0), en(66667000)

I/iNemoSensor( 2181): skip update_delay wanted_accel = 66667000 current delay = 66667000

D/iNemoSensor( 2181): setDelay(): handle(0), en(66667000)

I/iNemoSensor( 2181): skip update_delay wanted_accel = 66667000 current delay = 66667000

E/WVMExtractor( 1913): Failed to open libwvm.so

D/iNemoSensor( 2181): setDelay(): handle(0), en(66667000)

I/iNemoSensor( 2181): skip update_delay wanted_accel = 66667000 current delay = 66667000

D/iNemoSensor( 2181): setDelay(): handle(0), en(66667000)

I/iNemoSensor( 2181): skip update_delay wanted_accel = 66667000 current delay = 66667000

D/CameraStorage( 3771): External storage state=mounted

D/ActivityBase( 3771): set CameraRelativeFrame as Rect(0, 0 - 720, 960)

D/PhotoView( 3771): compensation = 0, CameraRelativeFrame = Rect(0, 0 - 720, 960), mCameraRect = Rect(0, 0 - 720, 960)

I/GalleryEGLConfigChooser( 3771): Config chosen: R5 G6 B5 A0 D24 S8 ID5 CAVEAT12344

I/GLRootView( 3771): onSurfaceChanged: 720x1280, gl10: com.google.android.gles_jni.GLImpl@427ea920

I/GLRootView( 3771): layout content pane 720x1280 (compensation 0)

D/PhotoView( 3771): compensation = 0, CameraRelativeFrame = Rect(0, 0 - 720, 960), mCameraRect = Rect(0, 0 - 720, 960)

D/dalvikvm( 3771): GC_FOR_ALLOC freed 259K, 34% free 18500K/27847K, paused 22ms, total 22ms

I/ActivityManager( 2181): Displayed com.google.android.gallery3d/com.android.camera.CameraLauncher: +229ms

D/dalvikvm( 3771): GC_FOR_ALLOC freed 4875K, 43% free 16024K/27847K, paused 16ms, total 16ms

D/dalvikvm( 3771): GC_FOR_ALLOC freed <1K, 39% free 17223K/27847K, paused 17ms, total 17ms

W/IInputConnectionWrapper( 3771): showStatusIcon on inactive InputConnection

E/SecCameraHardware( 1913): FimcV4l2 init: error -1, VIDIOC_S_INPUT

E/SecCameraHardware( 1913): initCamera X: error, /dev/video0

V/SecCameraHardware( 1913): FimcV4l2 deinit EX

E/SecCameraHardware( 1913): createInstance: error, camera cannot be initialiezed

E/SecCameraHardware( 1913): Instance is not created

E/CameraWrapper( 1913): vendor camera open fail

E/CameraService( 1913): Could not open camera 0: -38

I/CameraService( 1913): Destroying camera 0

E/CameraHolder( 3771): fail to connect Camera

E/CameraHolder( 3771): java.lang.RuntimeException: Fail to connect to camera service

E/CameraHolder( 3771):	at android.hardware.Camera.native_setup(Native Method)

E/CameraHolder( 3771):	at android.hardware.Camera.<init>(Camera.java:323)

E/CameraHolder( 3771):	at android.hardware.Camera.open(Camera.java:283)

E/CameraHolder( 3771):	at com.android.camera.CameraManager.cameraOpen(CameraManager.java:224)

E/CameraHolder( 3771):	at com.android.camera.CameraHolder.open(CameraHolder.java:151)

E/CameraHolder( 3771):	at com.android.camera.Util.openCamera(Util.java:252)

E/CameraHolder( 3771):	at com.android.camera.Camera$CameraStartUpThread.run(Camera.java:280)

W/WindowManager( 2181): Failure taking screenshot for (328x583) to layer 21030

D/iNemoSensor( 2181): setDelay(): handle(0), en(66667000)

I/iNemoSensor( 2181): skip update_delay wanted_accel = 66667000 current delay = 66667000

V/StateManager( 3771): destroy