HI Gary
OS: Android 6.0.1_2.1.0
Kernel: 4.1.15
i try to porting tc358749 on android 6. but i meet some errors
I refer framework & hardware setting from boundary devices, when i open the camera .
i face the no signal on screen. and the logcat show below.
Could you give me some directions ?
thx
Br.
Warren
04-03 18:19:44.480 1302 1468 E BufferQueueProducer: [SurfaceTexture-0-1302-0] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
04-03 18:19:44.520 220 519 I FslCameraHAL: const camera_metadata_t* Camera::constructDefaultRequestSettings(int32_t):0: type=1
04-03 18:19:44.520 220 519 I FslCameraHAL: const camera_metadata_t* Camera::constructDefaultRequestSettings(int32_t):0: type=3
04-03 18:19:44.521 1302 1423 I CameraDeviceState: Legacy camera service transitioning to state IDLE
04-03 18:19:44.562 1302 1471 I RequestQueue: Repeating capture request set.
04-03 18:19:44.565 1302 1463 W LegacyRequestMapper: convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
04-03 18:19:44.565 1302 1463 W LegacyRequestMapper: Only received metering rectangles with weight 0.
04-03 18:19:44.566 1302 1463 W LegacyRequestMapper: mapAeAndFlashMode - Ignore control.aeMode == ON_AUTO_FLASH;camera does not support it
04-03 18:19:44.566 1302 1463 W LegacyMetadataMapper: convertAfModeToLegacy - ignoring unsupported mode 4, defaulting to fixed
04-03 18:19:44.567 1302 1463 W LegacyRequestMapper: convertRequestToMetadata - Ignoring android.lens.focusDistance false, only 0.0f is supported
04-03 18:19:44.574 220 220 I FslCameraHAL: Stream::Stream(int, camera3_stream_t*, Camera*) create preview stream
04-03 18:19:44.574 220 220 I FslCameraHAL: stream: w:1280, h:720, format:0x103, usage:0x8000302, buffers:3
04-03 18:19:44.574 220 220 I FslCameraHAL: Stream::Stream(int, camera3_stream_t*, Camera*) create capture stream
04-03 18:19:44.574 220 220 I FslCameraHAL: stream: w:1280, h:720, format:0x103, usage:0x303, buffers:2
04-03 18:19:44.584 220 220 I imx6.gralloc: open gpu gralloc module!
04-03 18:19:44.605 220 1454 I FslCameraHAL: int32_t VideoStream::configure(android::sp<Stream>): w:0, h:0, sensor format:0x0, stream format:0x103, fps:30, num:0
04-03 18:19:44.605 220 341 I FslCameraHAL: virtual int32_t Tc358743::TcStream::onDeviceConfigureLocked()
04-03 18:19:44.605 220 341 I FslCameraHAL: virtual int32_t USPStream::onDeviceConfigureLocked()
04-03 18:19:44.605 220 341 I FslCameraHAL: virtual int32_t MMAPStream::onDeviceConfigureLocked()
04-03 18:19:44.605 220 341 I FslCameraHAL: Width * Height 1280 x 720 format NV12, fps: 30
04-03 18:19:44.615 220 341 I FslCameraHAL: allocateBufferFromIon buffer num:3
04-03 18:19:44.635 220 341 I FslCameraHAL: phyalloc ptr:0xa9639000, phy:0x26200000, ionSize:1384448
04-03 18:19:44.644 220 341 I FslCameraHAL: phyalloc ptr:0xa94e7000, phy:0x2f400000, ionSize:1384448
04-03 18:19:44.653 220 341 I FslCameraHAL: phyalloc ptr:0xa9395000, phy:0x2f600000, ionSize:1384448
04-03 18:19:44.654 220 341 I FslCameraHAL: virtual int32_t USPStream::onDeviceStartLocked() VIDIOC_QBUF phy:0x26200000
04-03 18:19:44.654 220 341 I FslCameraHAL: virtual int32_t USPStream::onDeviceStartLocked() VIDIOC_QBUF phy:0x2f400000
04-03 18:19:44.654 220 341 I FslCameraHAL: virtual int32_t USPStream::onDeviceStartLocked() VIDIOC_QBUF phy:0x2f600000
04-03 18:19:47.671 220 1454 E Camera3-Stream: getBuffer: wait for output buffer return timed out after 3000ms (max_buffers 2)
04-03 18:19:47.671 220 1454 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
04-03 18:19:47.671 220 1454 W Camera2Client: notifyError: Received recoverable error 3 from HAL - ignoring, requestId 10000002
04-03 18:19:48.638 1302 1463 E RequestThread-0: Timed out while waiting for request to complete.
04-03 18:19:48.639 1302 1463 W RequestHolder: Capture failed for request: 0
04-03 18:19:48.639 1302 1463 I CameraDeviceState: Legacy camera service transitioning to state CAPTURING
04-03 18:19:50.671 220 1454 E Camera3-Stream: getBuffer: wait for output buffer return timed out after 3000ms (max_buffers 2)
04-03 18:19:50.671 220 1454 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
04-03 18:19:50.671 220 1454 W Camera2Client: notifyError: Received recoverable error 3 from HAL - ignoring, requestId 10000002
04-03 18:19:52.685 1302 1463 E RequestThread-0: Timed out while waiting for request to complete.
04-03 18:19:52.685 1302 1463 W RequestHolder: Capture failed for request: 0