#make menuconfig
Device Drivers >
Multimedia device --->
<*> Video for Linux
Video for Linux---> 选中其中两个选项
然后选择<Exit>返回Device Drivers 菜单,再选择 USB support,按回车进入USB support菜单找到并选中
Device Drivers >
USB support --->
<*> USB OV511 Camera support
<*> USB SE401 Camera support
USB SPCA5XX
---------- 内核添加驱动补丁----------------
http://mxhaard.free.fr/spca50x/embedded/KernelPatch/usb- 2.4.31LE06.patch.tar.gz,此patch是为令重编内核时有spcaxx系列摄像头的支持。
1)在这个地址 http://mxhaard.free.fr/spca50x/embedded/KernelPatch/,下载里面的usb-2.6.12LE06.patch;
2)将patch 拷贝到 drivers/usb 中,执行 patch -p1 < usb-2.6.12LE06.patch
3)打好补丁后会发现media 目录下生成了spca5xx 目录,
make menuconfig
Device Drivers >
USB support --->
<*> USB OV511 Camera support
<*> USB SE401 Camera support
5) 插上摄像头提示:
[root@Qiu /]# usb 1-1: new full speed USB device using s3c2410-ohci and address 2
drivers/usb/media/spca5xx/spca_core.c: USB SPCA5XX camera found. Type Vimicro Zc301P 0x301b