`
izuoyan
  • 浏览: 8963804 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

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

阅读更多
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)

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics