分类:
2011-08-19 20:26:50
原文地址:USB 摄像头 作者:luozhiyong131
配置内核,支持USB 摄像头:
Device Drivers --->
<*> Multimedia support --->
<*> Video For Linux
[*] Enable Video For Linux API 1 (DEPRECATED)
[*] Video capture adapters --->
[*] V
<*> USB Video Class (UVC)
[*] UVC input events device support
[*] GSPCA based webcams --->
到这里,我们就可以选择所需要的USB 摄像头驱动,当然也可以选择所有的USB摄像头驱动支持(这样编译出的内核会比较大)GSPCA 是一个万能摄像头驱动程序,进入GSPCA based webcams 进行选择。插入USB 摄像头(我使用的UVC 摄像头),会提示:
usb 1-1.2: new full speed USB device using s
usb 1-1.2: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device Saturn USB 2.0 Camera. (
input: Saturn USB 2.0 Camera. as /class/input/input1
它的设备名称是:/dev/video0