using usb camera in android
I enabled the following kernel configuration,CONFIG_VIDEO_DEV=yCONFIG_VIDEO_V4L2_COMMON=yCONFIG_VIDEO_MEDIA=yCONFIG_USB_VIDEO_CLASS=yCONFIG_V4L_USB_DRIVERS=yCONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
in tuna_defconfig, and I commented out the following line in drivers/media/video/Kconfig.# source "drivers/media/video/omapgfx/Kconfig"Then I gave a permission 666 to /dev/video0,1 in ueventd.tuna.rc.Finally, I wrote some applications that access /dev/video0,1 through JNI.
Ref :
http://brain.cc.kogakuin.ac.jp/research/usb-e.html
沒有留言:
張貼留言