您的位置:首页 > 运维架构 > Linux

linux下安装dell SP2208WFP显示器摄像头驱动

2008-09-07 17:21 417 查看
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

Code:
cd trunk


5. Edit Makefile

Code:
nano 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)



内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: