个人工具

UbuntuHelp:InstallingEyetoyAsAWebcam

来自Ubuntu中文

跳转至: 导航, 搜索

Installing Eyetoy as a webcam!

Here is what I did to get Kotete and my eyetoy working together!

wget http://www.rastageeks.org/downloads/ov51x-jpeg/ov51x-jpeg-1.5.1.tar.gz

tar -xvf ov51x-jpeg-1.5.1.tar.gz

cd ov51x-jpeg-1.5.1/

sudo make install

sudo modprobe videodev

sudo modprobe i2c_core

-there may be a step missing here: sudo insmod /lib/modules/`uname -r`/extra/ov51x_decomp.ko (try skipping this, and see if everything works,I've just left this here, to help,just in case its useful)

sudo insmod /lib/modules/`uname -r`/extra/ov51x-jpeg.ko

modprobe ov51x-jpeg

modprobe videodev

-check it all works so far with a little test program:

sudo apt-get install xawtv

xawtv

now assuming it does, we need to ensure it works with Kopete, by adding a little setting

kdesu kate /etc/modprobe.d/options

-add this line and save it. options ov51x-jpeg force_palette=13 then I restarted and tried Kopete, and this time it worked!:<
> IconsPage?action=AttachFile&do=get&target=important.png NOTE: The file /etc/modprobe.d/options no longer exists in newer versions of Ubuntu. It is still supported by the kernel, however the filename needs the .conf extension, i.e. /etc/modprobe.d/options.conf would be the file you create to save your options. Actually the filename doesn't matter as long as the .conf extension is used. <
> power tip: instead of using Kate, try it all in one line: sudo echo "options ov51x-jpeg force_palette=13" >> /etc/modprobe.d/options Hope it works! -Luke Stanley