特殊:Badtitle/NS100:InstallingEyetoyAsAWebcam:修订间差异
小 新页面: {{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行: | 第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> | ||
- | -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的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/InstallingEyetoyAsAWebcam }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/af | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|Afrikaans| [[::InstallingEyetoyAsAWebcam/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/ar | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|العربية| [[::InstallingEyetoyAsAWebcam/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/az | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|azərbaycanca| [[::InstallingEyetoyAsAWebcam/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/bcc | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|جهلسری بلوچی| [[::InstallingEyetoyAsAWebcam/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/bg | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|български| [[::InstallingEyetoyAsAWebcam/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/br | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|brezhoneg| [[::InstallingEyetoyAsAWebcam/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/ca | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|català| [[::InstallingEyetoyAsAWebcam/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/cs | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|čeština| [[::InstallingEyetoyAsAWebcam/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/de | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|Deutsch| [[::InstallingEyetoyAsAWebcam/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/el | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|Ελληνικά| [[::InstallingEyetoyAsAWebcam/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/es | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|español| [[::InstallingEyetoyAsAWebcam/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/fa | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|فارسی| [[::InstallingEyetoyAsAWebcam/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/fi | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|suomi| [[::InstallingEyetoyAsAWebcam/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/fr | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|français| [[::InstallingEyetoyAsAWebcam/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/gu | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|ગુજરાતી| [[::InstallingEyetoyAsAWebcam/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/he | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|עברית| [[::InstallingEyetoyAsAWebcam/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/hu | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|magyar| [[::InstallingEyetoyAsAWebcam/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/id | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|Bahasa Indonesia| [[::InstallingEyetoyAsAWebcam/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/it | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|italiano| [[::InstallingEyetoyAsAWebcam/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/ja | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|日本語| [[::InstallingEyetoyAsAWebcam/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/ko | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|한국어| [[::InstallingEyetoyAsAWebcam/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/ksh | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|Ripoarisch| [[::InstallingEyetoyAsAWebcam/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/mr | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|मराठी| [[::InstallingEyetoyAsAWebcam/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/ms | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|Bahasa Melayu| [[::InstallingEyetoyAsAWebcam/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/nl | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|Nederlands| [[::InstallingEyetoyAsAWebcam/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/no | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|norsk| [[::InstallingEyetoyAsAWebcam/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/oc | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|occitan| [[::InstallingEyetoyAsAWebcam/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/pl | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|polski| [[::InstallingEyetoyAsAWebcam/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/pt | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|português| [[::InstallingEyetoyAsAWebcam/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/ro | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|română| [[::InstallingEyetoyAsAWebcam/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/ru | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|русский| [[::InstallingEyetoyAsAWebcam/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/si | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|සිංහල| [[::InstallingEyetoyAsAWebcam/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/sq | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|shqip| [[::InstallingEyetoyAsAWebcam/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/sr | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|српски / srpski| [[::InstallingEyetoyAsAWebcam/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/sv | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|svenska| [[::InstallingEyetoyAsAWebcam/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/th | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|ไทย| [[::InstallingEyetoyAsAWebcam/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/tr | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|Türkçe| [[::InstallingEyetoyAsAWebcam/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/vi | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|Tiếng Việt| [[::InstallingEyetoyAsAWebcam/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/yue | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|粵語| [[::InstallingEyetoyAsAWebcam/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/zh | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|中文| [[::InstallingEyetoyAsAWebcam/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/zh-hans | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|中文(简体)| [[::InstallingEyetoyAsAWebcam/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam | UbuntuHelp:InstallingEyetoyAsAWebcam | {{#if: | :}}InstallingEyetoyAsAWebcam}}/zh-hant | • {{#if: UbuntuHelp:InstallingEyetoyAsAWebcam|中文(繁體)| [[::InstallingEyetoyAsAWebcam/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:InstallingEyetoyAsAWebcam|:InstallingEyetoyAsAWebcam|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#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!:<
>
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