Hi,
I am trying to integrate USB Camera(logitec) on AM37x (mistral) EVM using Android 2.3.4 Devkit 2.1, but not able to get the Camera working. Here is my log details, you can see I have highlighted the camera related log details. And after all these I am getting error in the function "Int V4L2Camera::Open()" (in file v4l2camera.cpp), where "videoIn->cap.capabilities" value is 0x4000002. I checked this value in the file (videodev2.h) and it says that device is " a video output device" , but it supposed to be "a video capture device". What may be the problem with the code/settings. I have enabled the UVC class drivers in the kernel and no other changes done.
Please note that I am able to use the same camera with Android Froyo Devkit and it is working fine on this (AM37x Mistral) EVM.
Does anyone has idea why this error is comming for me? Has anyone integrated the USB camera in Android 2.3.4?
Kernel Log details:
...
...
<6>[ 0.195404] RPC: Registered tcp NFSv4.1 backchannel transport module.
<4>[ 0.195617] NetWinder Floating Point Emulator V0.97 (double precision)
<6>[ 0.202545] omap3evm camera init done successfully...
<6>[ 0.202850] omap-iommu omap-iommu.0: isp registered
<6>[ 0.203155] AM37x/DM37x Linux PSP version 04.02.00.07 (OMAP3EVM)
...
...
...
<6>[ 3.327331] tvp514x 3-005c: tvp5146m2 (Version - 0x03) found at 0xb8 (OMAP I2C adapter)
<6>[ 3.343811] usbcore: registered new interface driver uvcvideo
<6>[ 3.349884] USB Video Class driver (v1.0.0)
<4>[ 3.354400] omap_device: omap_wdt.-1: new worst case activate latency 0: 30517
...
...
<6>[ 4.345123] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0809)
<6>[ 4.386657] input: UVC Camera (046d:0809) as /devices/platform/ehci-omap.0/usb1/1-2/1-2.4/1-2.4:1.0/input/input3
<6>[ 4.918365] set resolution quirk: cval->res = 384
<6>[ 5.022613] EXT3-fs: barriers not enabled
...
...
...
-VH
