Another day, another Tarako problem. I built Tarako 1.3t build today, 
BRANCH=v1.3t ./config.sh tarako && ./build.sh

Works fine except for the camera. When I enter camera app I get this in logcat:

V/SprdCameraOEM( 2111): camera_init:read sensor param len is 0.
V/SprdCameraOEM( 2111): camera_init:read sensor param  is 0,0,0,0,0,0,0,0.
V/SprdCameraOEM( 2111): SPRD OEM:camera_init,id=0.
V/SprdCameraOEM( 2111): Start to open_device.
V/SprdCameraOEM( 2111): #####DCAM: OK to open device.
E/SprdCameraOEM( 2111): preview: Fail to VIDIOC_S_PARM.
E/SprdCameraHardware( 2111): CameraIfNecessary: fail to camera_init().
E/SprdCameraHardware( 2111): Failed to set default parameters?!
I/SprdCameraHardware( 2111): int android::HAL_camera_device_open(const 
hw_module_t*, const char*, hw_device_t**): opened camera 0 (0x6e1e90)
V/SprdCameraHardware( 2111): void 
android::HAL_camera_device_set_callbacks(camera_device*, void (*)(int32_t, 
int32_t, int32_t, void*), void (*)(int32_t, const camera_memory_t*, unsigned 
int, camera_frame_metadata_t*, void*), void (*)(int64_t, int32_t, const 
camera_memory_t*, unsigned int, void*), camera_memory_t* (*)(int, size_t, 
unsigned int, void*), void*)
V/SprdCameraHardware( 2111): void 
android::HAL_camera_device_enable_msg_type(camera_device*, int32_t)
V/SprdCameraHardware( 2111): mLock:enableMsgType S .
V/SprdCameraHardware( 2111): mLock:enableMsgType E .
E/sc8810.libstagefright( 2111): Can not open libopencore_common.so
E/OMXMaster( 2111): OMX plugin failed w/ error 0x80001001 after registering 0 
components
I/AwesomePlayer( 2111): 
setDataSource_l('/system/media/audio/ui/camera_click.ogg')
E/MediaPlayer( 2111): error (1, -2147483648)
I/AwesomePlayer( 2111): 
setDataSource_l('/system/media/audio/ui/VideoRecord.ogg')
E/MediaPlayer( 2111): error (1, -2147483648)

And a bit further

V/SprdCameraOEM( 2111): camera_init:read sensor param len is 0.
V/SprdCameraOEM( 2111): camera_init:read sensor param  is 0,0,0,0,0,0,0,0.
V/SprdCameraOEM( 2111): SPRD OEM:camera_init,id=0.
V/SprdCameraOEM( 2111): Start to open_device.
E/SprdCameraOEM( 2111): Fail to open dcam device.errno : 16
W/AudioSystem( 1669): AudioFlinger server died!
W/AudioSystem( 1669): AudioPolicyService server died!
I/ServiceManager(   79): service 'media.audio_flinger' died
I/ServiceManager(   79): service 'media.player' died
I/ServiceManager(   79): service 'media.camera' died
I/ServiceManager(   79): service 'media.audio_policy' died
W/Camera  ( 2122): ICamera died
E/GeckoConsole( 2122): [JavaScript Error: "TypeError: pictureSizes is null" 
{file: "app://camera.gaiamobile.org/js/camera.js" line: 1689}]
W/Camera  ( 2122): Camera server died!


Am I missing some drivers, and how should I fix that? I have a /system backup 
with working camera laying around.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to