个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/InstallingEyetoyAsAWebcam}} {{Languages|UbuntuHelp:InstallingEyetoyAsAWebcam}} == Installing Eyetoy as a webcam! == Here is what I did to get Ko...)
 
第2行: 第2行:
 
{{Languages|UbuntuHelp:InstallingEyetoyAsAWebcam}}
 
{{Languages|UbuntuHelp:InstallingEyetoyAsAWebcam}}
 
== Installing Eyetoy as a webcam! ==
 
== Installing Eyetoy as a webcam! ==
 
 
 
Here is what I did to get Kotete and my eyetoy working together!
 
Here is what I did to get Kotete and my eyetoy working together!
 
 
<pre><nowiki>
 
<pre><nowiki>
 
wget http://www.rastageeks.org/downloads/ov51x-jpeg/ov51x-jpeg-1.5.1.tar.gz
 
wget http://www.rastageeks.org/downloads/ov51x-jpeg/ov51x-jpeg-1.5.1.tar.gz
 
 
tar -xvf ov51x-jpeg-1.5.1.tar.gz
 
tar -xvf ov51x-jpeg-1.5.1.tar.gz
 
 
cd ov51x-jpeg-1.5.1/
 
cd ov51x-jpeg-1.5.1/
 
 
sudo make install
 
sudo make install
 
 
sudo modprobe videodev
 
sudo modprobe videodev
 
 
sudo modprobe i2c_core
 
sudo modprobe i2c_core
 
</nowiki></pre>
 
</nowiki></pre>
 
 
-there may be a step missing here:
 
-there may be a step missing here:
 
<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
 
 
modprobe videodev
 
modprobe videodev
 
</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
 
</nowiki></pre>
 
</nowiki></pre>
 
 
now assuming it does, we need to ensure it works with Kopete, by adding a little setting
 
now assuming it does, we need to ensure it works with Kopete, by adding a little setting
 
<pre><nowiki>
 
<pre><nowiki>
第44行: 第27行:
 
</nowiki></pre>
 
</nowiki></pre>
 
-now add and save it, then I restarted and tried Kopete, and this time it worked!:
 
-now add and save it, then I restarted and tried Kopete, and this time it worked!:
 
 
<code><nowiki>options ov51x-jpeg force_palette=13</nowiki></code>
 
<code><nowiki>options ov51x-jpeg force_palette=13</nowiki></code>
 
 
 
 
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>
 
 
 
 
Hope it works!
 
Hope it works!
 
 
-Luke Stanley
 
-Luke Stanley
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 18:02的版本

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

-now add and save it, then I restarted and tried Kopete, and this time it worked!: options ov51x-jpeg force_palette=13 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