uvc camera for i.mx53 smd with android10.4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uvc camera for i.mx53 smd with android10.4

Jump to solution
1,100 Views
winddroper
Contributor I

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.


Labels (2)
Tags (2)
0 Kudos
1 Solution
1 Reply
663 Views
karina_valencia
NXP Apps Support
NXP Apps Support
0 Kudos