特殊:Badtitle/NS100:InstallingEyetoyAsAWebcam:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
新页面: {{From|https://help.ubuntu.com/community/InstallingEyetoyAsAWebcam}} {{Languages|UbuntuHelp:InstallingEyetoyAsAWebcam}} == Installing Eyetoy as a webcam! == Here is what I did to get Ko...
 
Wikibot留言 | 贡献
无编辑摘要
 
(未显示同一用户的2个中间版本)
第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
第19行: 第16行:
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>
<pre><nowiki>sudo insmod /lib/modules/`uname -r`/extra/ov51x-jpeg.ko
sudo insmod /lib/modules/`uname -r`/extra/ov51x-jpeg.ko


modprobe ov51x-jpeg
modprobe ov51x-jpeg
第30行: 第26行:
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>
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>
Hope it works!
Hope it works!
-Luke Stanley
-Luke Stanley


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

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

{{#ifexist: :InstallingEyetoyAsAWebcam/zh | | {{#ifexist: InstallingEyetoyAsAWebcam/zh | | {{#ifeq: {{#titleparts:InstallingEyetoyAsAWebcam|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:InstallingEyetoyAsAWebcam|1|-1|}} | zh | | }}

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