Hi all
I use the pre-build images of TI_Android_DevKit TI_Android_GingerBread_2_3_4_DevKit_2_1. Now have two question about use the camera.
question1:
I can’t open the camera app. everytime i click the camera app, get the error message:The application Camera (process com.android.camera) has stopped unexpectedly.Please try again.
/dev/video0 is alway exist even if i didn’t connect a camera to the board, why? If i connect a usb camera to the board, How can i to operate it.
question2:
I want to install the openni driver. and download the OpenNI-Bin-Dev-Linux-Arm-v1.5.4.0, after run ./install.sh get the message:
copying shared libraries…OK
copying executables…OK
copying include files…OK
creating database directory…OK
registering module ‘libnimMockNodes.so’…/install.sh: line 180: /usr/bin/niReg: not found
The
Which camera do you try to use?
“The application Camera (process com.android.camera) has stopped unexpectedly.Please try again.” is very generic and it appears if there is problem anywhere end- end from app to hardware.
I use DM3730 EVM
There are couple of concerns with regards to driver and the Android Camera HAL.
Have a look at the Camera HAl at /hardware/ti/omap3/camera.
Either the driver or both HAL and Driver may need to have modifications to make the camera work.
The /dev/video0 device is used by the HAL only if the kernel version is less than 2.6.37.
Else the Camera needs /dev/media0 /dev/videoX (in my case it was /dev/video2) and some more media subdevices based on your configuration.
I want to get picture from a usb camera. After connect the usb camera to board , get the following message from console
uvcvideo: Found UVC 1.00 device Vimicro USB Camera (Altair) (0ac8:3450)
input: Vimicro USB Camera (Altair) as /devices/platform/ehci-omap.0/usb1/1-2/1-2.2/1-2.2:1.0/input/input2
following is the default dev after the android power on (I just connect one usb mouse to the board)