linux3.4.2内核移植详解(六):基于UVC的USB摄像头内核配置

在menuconfig中进行适当的配置:

Device Drivers --->

     <*> Multimedia support --->

               [*] Video capture adapters--->

                            [*] V4L USBdevices --->

                                        <*> USB Video Class (UVC)

                                        [*]    UVC input events devicesupport

                                        <*> GSPCA based webcams --->

      [*] USB support --->

               [*] USB announce newdevices

                            <*> USB Gadget Support--->

                                       <*>    USB Webcam Gadget

将我的摄像头谷客HD98接上开发板,即可显示一下信息:

usb 1-1: new full-speed USB device number 2 using s3c2410-ohci
usb 1-1: New USB device found, idVendor=0c45, idProduct=6340
usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
usb 1-1: Product: USB 2.0 Camera
usb 1-1: Manufacturer: Sonix Technology Co., Ltd.
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:6340)
input: USB 2.0 Camera as /devices/platform/s3c2410-ohci/usb1/1-1/1-1:1.0/input/input0

说明内核成功识别出了摄像头,在查看/dev/video0设备也会存在(我这里是用来mdev机制,自动创建设备节点)

ok,毕

已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页