Hello,
I'm using i.MX53 SMD, and Android r10.4. I'm trying to get UVC camera to work.
I refer ro user guide to enable uvc funcion
First,I enable the uvc driver.
* Enable the UVC camera |
Device Drivers --->
<*> Multimedia support ---> | |
[*] Video capture adapters ---> | |
[*] V4L USB devices ---> | |
<*> USB Video Class (UVC) |
Second, I add the following prop. to ini.fresscale.rc
#Define the config for dual camera
setprop back_camera_name ov
setprop back_camera_orient 0
setprop front_camera_name uvc
setprop front_camera_orient 180
.
But UVC camera is not working fine.
After opening the camera app,I got the following error message.
I/FslCameraHAL( 2185): The capture device already open
E/FslCameraHAL( 2185): Info!get pmem total size 67108864
E/FslCameraHAL( 2185): Free slot 0 for allocating mBufSize 614400 request size 614400
E/FslCameraHAL( 2185): Free slot 1 for allocating mBufSize 614400 request size 614400
E/FslCameraHAL( 2185): Free slot 2 for allocating mBufSize 614400 request size 614400
E/FslCameraHAL( 2185): Free slot 3 for allocating mBufSize 614400 request size 614400
E/FslCameraHAL( 2185): Free slot 4 for allocating mBufSize 614400 request size 614400
E/FslCameraHAL( 2185): v4l_capture_setup: VIDIOC_REQBUFS failed
E/FslCameraHAL( 2185): capture device registes buf error
E/FslCameraHAL( 2185): PrepareCaptureDevices error
E/MemoryHeapBase( 2185): mmap(fd=32, size=0) failed (Invalid argument)
Does anyone help me to solve this problem?
Best regrads,
Vic.
Solved! Go to Solution.
JayTu Nov 28, 2013 8:29 PM (in response to jimmychan)
Someone tried UVC on R10.4 and works.
Re: UVC(USB) camera not work in Freescale Android R10.3.2 release
JayTu Nov 28, 2013 8:29 PM (in response to jimmychan)
Someone tried UVC on R10.4 and works.
Re: UVC(USB) camera not work in Freescale Android R10.3.2 release