[Galaxy 3 Android Development] moikop:
Out of the blue, all camera apps tell me "cannot connect to camera" or "cannot find camera".

I didn't change anything. Not a rom file nor the kernel driver. From one day to the other the camera just stopped working.

Revised dmesg and it's clean. But logcat is quite dirty...

I/PowerWidget( 2453): Setting up button: toggleWifi
V/CameraHolder(13045): open camera 0
W/CameraService( 2268): CameraService::connect X (pid 13045) rejected (existing client).
I/PowerWidget( 2453): Setting up button: toggleSound
E/CameraHolder(13045): fail to connect Camera
E/CameraHolder(13045): java.lang.RuntimeException: Fail to connect to camera service
E/CameraHolder(13045):	at android.hardware.Camera.native_setup(Native Method)
E/CameraHolder(13045):	at android.hardware.Camera.<init>(Camera.java:258)
E/CameraHolder(13045):	at android.hardware.Camera.open(Camera.java:220)
E/CameraHolder(13045):	at com.android.camera.CameraHolder.open(CameraHolder.java:124)
E/CameraHolder(13045):	at com.android.camera.Camera.ensureCameraDevice(Camera.java:1832)
E/CameraHolder(13045):	at com.android.camera.Camera.startPreview(Camera.java:1884)
E/CameraHolder(13045):	at com.android.camera.Camera.access$5500(Camera.java:94)
E/CameraHolder(13045):	at com.android.camera.Camera$3.run(Camera.java:962)
E/CameraHolder(13045):	at java.lang.Thread.run(Thread.java:1019)
I/PowerWidget( 2453): Setting up button: toggleMediaPrevious
I/PowerWidget( 2453): Setting up button: toggleMediaPlayPause
I/PowerWidget( 2453): Setting up button: toggleMediaNext
I/PowerWidget( 2453): Setting up button: toggleAutoRotate
I/PowerWidget( 2453): Setting up button: toggleGPS
E/S5P6442Camera( 2268): int android::fimc_poll(int, pollfd*)::poll(1000) doesnt return
E/S5P6442Camera( 2268): int android::S5P6442Camera::m_readCamera(unsigned char*, unsigned int, unsigned int*, int)::fimc_poll fail
E/S5P6442Camera( 2268): int android::S5P6442Camera::getPreview(unsigned char*, unsigned int, unsigned int*)::m_readCamera(153600, 0) fail
E/SecCameraHardware( 2268): int android::SecCameraHardware::m_previewThreadFunc()::t_camera->getPreview fail
I/ActivityManager( 2382): Displayed com.android.camera/.Camera: +517ms
E/copybit ( 2382): open_copybit: +++
E/copybit ( 2382): open_copybit: ---
W/SurfaceComposerClient( 2382): Destroying surface while a transaction is open. Client 0x177200: destroying surface 35, mTransactionOpen=1
E/S5P6442Camera( 2268): int android::fimc_poll(int, pollfd*)::poll(1000) doesnt return
E/S5P6442Camera( 2268): int android::S5P6442Camera::m_readCamera(unsigned char*, unsigned int, unsigned int*, int)::fimc_poll fail
E/S5P6442Camera( 2268): int android::S5P6442Camera::getPreview(unsigned char*, unsigned int, unsigned int*)::m_readCamera(153600, 0) fail
E/SecCameraHardware( 2268): int android::SecCameraHardware::m_previewThreadFunc()::t_camera->getPreview fail
E/S5P6442Camera( 2268): int android::fimc_poll(int, pollfd*)::poll(1000) doesnt return
E/S5P6442Camera( 2268): int android::S5P6442Camera::m_readCamera(unsigned char*, unsigned int, unsigned int*, int)::fimc_poll fail
E/S5P6442Camera( 2268): int android::S5P6442Camera::getPreview(unsigned char*, unsigned int, unsigned int*)::m_readCamera(153600, 0) fail
E/SecCameraHardware( 2268): int android::SecCameraHardware::m_previewThreadFunc()::t_camera->getPreview fail
D/dalvikvm( 2382): GC_EXPLICIT freed 534K, 52% free 6927K/14279K, external 759K/1234K, paused 119ms
D/AudioHardware( 2268): AudioHardware pcm playback is going to standby.
V/AudioHardware( 2268): closeMixer_l() mMixerOpenCnt: 7
D/AudioHardware( 2268): closePcmOut_l() mPcmOpenCnt: 1
D/wpa_supplicant( 2462): CMD: DRIVER RSSI-APPROX
D/wpa_supplicant( 2462): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096
D/wpa_supplicant( 2462): wpa_driver_priv_driver_cmd HKR2 rssi -73 len = 14, 14
D/wpa_supplicant( 2462): CMD: DRIVER LINKSPEED
D/wpa_supplicant( 2462): wpa_driver_priv_driver_cmd LINKSPEED len = 4096
D/wpa_supplicant( 2462): wpa_driver_priv_driver_cmd LinkSpeed 18 len = 12, 12
E/S5P6442Camera( 2268): int android::fimc_poll(int, pollfd*)::poll(1000) doesnt return
E/S5P6442Camera( 2268): int android::S5P6442Camera::m_readCamera(unsigned char*, unsigned int, unsigned int*, int)::fimc_poll fail
E/S5P6442Camera( 2268): int android::S5P6442Camera::getPreview(unsigned char*, unsigned int, unsigned int*)::m_readCamera(153600, 0) fail
E/SecCameraHardware( 2268): int android::SecCameraHardware::m_previewThreadFunc()::t_camera->getPreview fail
E/S5P6442Camera( 2268): int android::fimc_poll(int, pollfd*)::poll(1000) doesnt return
E/S5P6442Camera( 2268): int android::S5P6442Camera::m_readCamera(unsigned char*, unsigned int, unsigned int*, int)::fimc_poll fail
E/S5P6442Camera( 2268): int android::S5P6442Camera::getPreview(unsigned char*, unsigned int, unsigned int*)::m_readCamera(153600, 0) fail
E/SecCameraHardware( 2268): int android::SecCameraHardware::m_previewThreadFunc()::t_camera->getPreview fail
E/S5P6442Camera( 2268): int android::fimc_poll(int, pollfd*)::poll(1000) doesnt return
E/S5P6442Camera( 2268): int android::S5P6442Camera::m_readCamera(unsigned char*, unsigned int, unsigned int*, int)::fimc_poll fail
E/S5P6442Camera( 2268): int android::S5P6442Camera::getPreview(unsigned char*, unsigned int, unsigned int*)::m_readCamera(153600, 0) fail
E/SecCameraHardware( 2268): int android::SecCameraHardware::m_previewThreadFunc()::t_camera->getPreview fail

and that last part doesn't stop. It goes on even if camera is not being used.

Any ideas? :confused: