I want to use USB camera in my hikey960 board. I config the kernel as this
CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_VIDEO_V4L2=y
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
CONFIG_USB_GSPCA=y
CONFIG_USB_PWC=y
CONFIG_USB_PWC_DEBUG=y
CONFIG_USB_PWC_INPUT_EVDEV=y
but I can’t use it. I don’t know what the problem is.
I connect usb camera using one of usb 3.0 ports. I can see video0 in /dev by adb shell, but no video in /dev. and I can see the message using dmesg | grep Cam:
130|hikey960:/ # dmesg | grep Cam
[ 1.853159] mdc800: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800 Digital Camera
[ 1.857617] Marvell M88ALP01 'CAFE' Camera Controller version 2
[ 11.517099] usb 1-1.4: Product: USB 2.0 Camera
[ 11.517102] usb 1-1.4: Manufacturer: HD Camera Manufacturer
[ 11.549298] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (05a3:9230)
[ 11.591371] input: USB 2.0 Camera as /devices/platform/soc/ff200000.hisi_usb/ff100000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.0/input/input2
using logcat when use photo app
please tell me how to solve this problem, thx.