Hello, I’ve been trying to work with a usb camera on HiKey board.
After setting device drivers, I can see that UVC camera is attached with ‘/dev/video0’.
However, the camera application would keep return 0 for ‘getCameraIdList’.
I followed the instruction here to setup the shared library for Camera HAL.
Even after I followed all the steps described, the camera application would still not recognize the camera. And when I modify ~/(aosp_dir)/device/linaro/hikey/camera/Android.mk and compile, there is no new system.img produced.
I understand that I’m not using the shared module ‘camera.usb.default’ correctly, but I’m a novice in this area and have no idea what I can do next.
If anybody have experiences with USB camera on Hikey, could you please guide me through this?
This is what I have in ~/(aosp_dir)/device/linaro/hikey/camera/Android.mk
Thanks in advance