无法访问/dev/video *:没有这样的文件或目录 [英] cannot access /dev/video*: No such file or directory
问题描述
所以我正在研究zynq z7000卡,并在其上制作了Linux内核.我把Linaro作为根文件系统.我设法启动了卡,但是只能使用鼠标和键盘USB设备.我尝试了网络摄像头和闪存驱动器,但它们无法正常工作.当我使用时:
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
但是,当我尝试
ls /dev/video*
我知道
ls: cannot access /dev/video*: No such file or directory
我已经使用这些配置构建我的形象.
I've used these configurations to build my image.
推荐答案
您需要确定内核配置(defconfig文件)中是否启用了v4l2框架和UVC类驱动程序.或者可以使用menuconfig启用.确保存在以下内容: 1. CONFIG_VIDEO_V4L2 = y 2. CONFIG_VIDEO_V4L2_COMMON = y 3. CONFIG_VIDEO_DEV = y 4. CONFIG_USB_VIDEO_CLASS = y
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
这篇关于无法访问/dev/video *:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!