个人工具

“UbuntuHelp:InstallingEyetoyAsAWebcam”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
第19行: 第19行:
 
<code><nowiki>sudo insmod /lib/modules/`uname -r`/extra/ov51x_decomp.ko</nowiki></code>
 
<code><nowiki>sudo insmod /lib/modules/`uname -r`/extra/ov51x_decomp.ko</nowiki></code>
 
(try skipping this, and see if everything works,I've just left this here, to help,just in case its useful)
 
(try skipping this, and see if everything works,I've just left this here, to help,just in case its useful)
<pre><nowiki>sudo insmod /lib/modules/`uname -r`/extra/ov51x-jpeg.ko
+
<pre><nowiki>
 +
sudo insmod /lib/modules/`uname -r`/extra/ov51x-jpeg.ko
  
 
modprobe ov51x-jpeg
 
modprobe ov51x-jpeg
第26行: 第27行:
 
</nowiki></pre>
 
</nowiki></pre>
 
-check it all works so far with a little test program:
 
-check it all works so far with a little test program:
<pre><nowiki>sudo apt-get install xawtv
+
<pre><nowiki>
 +
sudo apt-get install xawtv
  
 
xawtv
 
xawtv
第34行: 第36行:
 
kdesu kate /etc/modprobe.d/options
 
kdesu kate /etc/modprobe.d/options
 
</nowiki></pre>
 
</nowiki></pre>
-now add and save it, then I restarted and tried Kopete, and this time it worked!:
+
-add this line and save it.
 
<code><nowiki>options ov51x-jpeg force_palette=13</nowiki></code>
 
<code><nowiki>options ov51x-jpeg force_palette=13</nowiki></code>
 +
then I restarted and tried Kopete, and this time it worked!:<<BR>>
 +
https://help.ubuntu.com/community/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.''
 +
<<BR>>
 
power tip: instead of using Kate, try it all in one line:
 
power tip: instead of using Kate, try it all in one line:
 
<code><nowiki>sudo echo "options ov51x-jpeg force_palette=13" >> /etc/modprobe.d/options</nowiki></code>
 
<code><nowiki>sudo echo "options ov51x-jpeg force_palette=13" >> /etc/modprobe.d/options</nowiki></code>

2009年11月17日 (二) 19:33的最新版本

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