我现在的系统是ubuntu8.04,安装步骤如下:
1. install prereqs if you don't have them
Code:
sudo aptitude install subversion build-essential
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
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
6. Change the line starting with INSTALL_MOD_DIR to this:
Code:
INSTALL_MOD_DIR := /lib/modules/$(KERNEL_VERSION)/ubuntu/media/usbvideo
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)