问题
So I'm working on a zynq z7000 card and I made a Linux Kernel on it. I put a Linaro as a Root File System. I managed to boot the card however I can only use mouse and keyboard usb devices. I tried webcam and flash drives but they are not working. when I use :
lsusb
I get the webcam device
...
Bus 001 Device 005: ID 046d:0805 Logitech, Inc. Webcam C300
However when I try
ls /dev/video*
I get
ls: cannot access /dev/video*: No such file or directory
I've used these configurations to build my image.
回答1:
You need to make sure if v4l2 framework and UVC Class driver are enabled in your kernel configuration(defconfig file). Or can enable using menuconfig. Make sure the following are there: 1. CONFIG_VIDEO_V4L2=y 2. CONFIG_VIDEO_V4L2_COMMON=y 3. CONFIG_VIDEO_DEV=y 4. CONFIG_USB_VIDEO_CLASS=y
来源:https://stackoverflow.com/questions/36159501/cannot-access-dev-video-no-such-file-or-directory