dell SP2208WFP显示器官方没有linux下的摄像头驱动,在网上找了找,发现一个办法可以解决,记录一下!
我现在的系统是ubuntu8.04,安装步骤如下:
1. install prereqs if you don't have them
Code:
sudo aptitude install subversion build-essential
2. back up current module, just in case
Code:
sudo cp /lib/modules/2.6.24-16-generic/ubuntu/media/usbvideo/uvcvideo.ko /lib/modules/2.6.24-16-generic/ubuntu/media/usbvideo/uvcvideo.ko.bak
[
DiabolusItalicus' note: repeat the above command for all the kernel versions you have installed or intend to use the webcam with.
Just remember to replace "2.6.24.16" with your versions.
I have kernels 2.6.24.18 and 2.6.24.19 installed, so I repeated the above command twice adjusting kernel version as required.]
3. Check out latest source code
Code:
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
4. go to the 'trunk' directory
5. Edit Makefile
(or use gedit or whatever you like)
6. Change the line starting with INSTALL_MOD_DIR to this:
Code:
INSTALL_MOD_DIR := /lib/modules/$(KERNEL_VERSION)/ubuntu/media/usbvideo
7. Install it
Code:
make
sudo make install
sudo modprobe uvcvideo
8. Reboot (you could also unload the old module and load the new one, but I didn't remember the command off the top of my head, and I'm lazy)