cannot access /dev/video*: No such file or directory

☆樱花仙子☆ 提交于 2019-12-24 16:43:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!