AnsweredAssumed Answered

IMX6q + android 6.0 + USB Camera 13M issue

Question asked by Mack Wu on Apr 5, 2017
Latest reply on Apr 9, 2017 by Wu JJ

Hello all

I tried using a 13M USB camera(e-CAM130_MI135_MOD 13MP AR1335 camera module) in android 6.0.1_2.1.0.
 
When i execute the camera app,no show any screen.At the same time i went to check logcat to get the following message.
It seems that it does not support MJPEG and UYVY format.
Is it possible to support MJPEG or UYVY format in IMX6 with android 6.0?


============================================================================
 I FslCameraHAL: getNodeName: dev path:/dev/video0
04-05 23:11:05.336   228   311 I FslCameraHAL: getNodeName: node name:uvcvideo
04-05 23:11:05.336   228   311 I FslCameraHAL: int32_t CameraHAL::getNodeName(const char*, char*, size_t) CHIP_IDENT dev path:/dev/video0 failed
04-05 23:11:05.336   228   311 I FslCameraHAL: getNodeNames: node name:uvcvideo,See3CAM_130
04-05 23:11:05.339   228   311 I FslCameraHAL: int32_t CameraHAL::handleCameraConnected(char*) devNode:/dev/video0, nodeName:uvcvideo,See3CAM_130
04-05 23:11:05.339   228   311 I FslCameraHAL: matchPropertyName: index:0, uvc
04-05 23:11:05.339   228   311 I FslCameraHAL: index:0, propName:uvc
04-05 23:11:05.339   228   311 I FslCameraHAL: int32_t CameraHAL::matchNodeName(const char*, nodeSet*, int32_t)
04-05 23:11:05.339   228   311 I FslCameraHAL: matchNodeName: sensor:uvcvideo,See3CAM_130, dev:/dev/video0, node:uvc, index:0
04-05 23:11:05.339   228   311 I FslCameraHAL: Camera ID 0: name uvcvideo,See3CAM_130, Facing 0, orientation 0, dev path /dev/video0
04-05 23:11:05.339   228   311 I FslCameraHAL: create id:0 usb camera device
04-05 23:11:05.339   228   311 I FslCameraHAL: static Camera* UvcDevice::newInstance(int32_t, char*, int32_t, int32_t, char*) usb sensor name:uvcvideo,See3CAM_130
04-05 23:11:05.339   228   311 I FslCameraHAL: static Camera* UvcDevice::newInstance(int32_t, char*, int32_t, int32_t, char*) usb sensor:uvcvideo,See3CAM_130 use standard UVC device
04-05 23:11:05.339   228   311 I FslCameraHAL: Camera::Camera(int32_t, int32_t, int32_t, char*):0: new camera device
04-05 23:11:05.339   228   311 E FslCameraHAL: Error: format:UYVY not supported!
04-05 23:11:05.339   228   311 E FslCameraHAL: Error: format:MJPG not supported!
04-05 23:11:05.339   228   311 E FslCameraHAL: virtual android::status_t UvcDevice::initSensorStaticData() no sensor format enum
04-05 23:11:05.342   228   311 E FslCameraHAL: int32_t Camera::getInfo(camera_info*) initSensorStaticData failed
04-05 23:11:05.342   228   311 I CameraService: onDeviceStatusChanged: Status changed for cameraId=0, newStatus=1
============================================================================

Outcomes