个人工具

“UbuntuHelp:Install IVTV Dapper”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第2行: 第2行:
 
{{Languages|UbuntuHelp:Install_IVTV_Dapper}}
 
{{Languages|UbuntuHelp:Install_IVTV_Dapper}}
 
[[Include(Install_IVTV_Header)]]
 
[[Include(Install_IVTV_Header)]]
 
 
 
== Ubuntu 6.06 IVTV Installation ==
 
== Ubuntu 6.06 IVTV Installation ==
 
Ubuntu 6.06 requires you to add a seperate repository for IVTV support.  You will need to obtain both the drivers & firmware from this repository.  After kernel updates, you will have to rebuild the kernel module (described below).
 
Ubuntu 6.06 requires you to add a seperate repository for IVTV support.  You will need to obtain both the drivers & firmware from this repository.  After kernel updates, you will have to rebuild the kernel module (described below).
 
 
=== Installation ===
 
=== Installation ===
 
* Make sure universe & multiverse are enabled.  If you're not sure, refer to these pages to set up universe and multiverse first:
 
* Make sure universe & multiverse are enabled.  If you're not sure, refer to these pages to set up universe and multiverse first:
 
https://help.ubuntu.com/community/Repositories/Ubuntu#what
 
https://help.ubuntu.com/community/Repositories/Ubuntu#what
 
 
 
* Add IVTV Repository.   
 
* Add IVTV Repository.   
 
An ubuntu repository for the firmware and drivers is hosted on ivtvdriver.org.  Firmware updates will be released here, but driver updates will only exist for later Ubuntu versions.     
 
An ubuntu repository for the firmware and drivers is hosted on ivtvdriver.org.  Firmware updates will be released here, but driver updates will only exist for later Ubuntu versions.     
** Add repository to /etc/apt/sources.list
+
* Add repository to /etc/apt/sources.list
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo nano /etc/apt/sources.list
 
sudo nano /etc/apt/sources.list
第22行: 第17行:
 
deb http://dl.ivtvdriver.org/ubuntu dapper all
 
deb http://dl.ivtvdriver.org/ubuntu dapper all
 
</nowiki></pre>
 
</nowiki></pre>
** Add the key this repository is built with to your apt keyring.
+
* Add the key this repository is built with to your apt keyring.
 
<pre><nowiki>
 
<pre><nowiki>
 
wget http://dl.ivtvdriver.org/ubuntu/80DF6D58.gpg -O- | sudo apt-key add -
 
wget http://dl.ivtvdriver.org/ubuntu/80DF6D58.gpg -O- | sudo apt-key add -
 
</nowiki></pre>
 
</nowiki></pre>
** Update package lists
+
* Update package lists
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get update
 
sudo apt-get update
 
</nowiki></pre>
 
</nowiki></pre>
 
 
* Install the packages via apt-get:
 
* Install the packages via apt-get:
 
If you are in a gnome based environment (for example a desktop install of Ubuntu)
 
If you are in a gnome based environment (for example a desktop install of Ubuntu)
第37行: 第31行:
 
</nowiki></pre>
 
</nowiki></pre>
 
'''or'''
 
'''or'''
 
 
If you are in a text based environment (for example a fresh command line system install)
 
If you are in a text based environment (for example a fresh command line system install)
 
<pre><nowiki>
 
<pre><nowiki>
 
DEBIAN_FRONTEND=dialog sudo apt-get install ivtv-source devscripts ivtv-utils ivtv-firmware mplayer
 
DEBIAN_FRONTEND=dialog sudo apt-get install ivtv-source devscripts ivtv-utils ivtv-firmware mplayer
 
</nowiki></pre>
 
</nowiki></pre>
**** Note that PgUp/PgDown or Up/Down will scroll through the license.
+
* Note that PgUp/PgDown or Up/Down will scroll through the license.
**** Tab will allow you to choose the OK button to accept the license.
+
* Tab will allow you to choose the OK button to accept the license.
 
+
 
* Now, prepare module-assistant.  Every time a new kernel is installed, once you boot into it, you will have to rerun these commands to reinstall the driver for that kernel:
 
* Now, prepare module-assistant.  Every time a new kernel is installed, once you boot into it, you will have to rerun these commands to reinstall the driver for that kernel:
 
<pre><nowiki>  
 
<pre><nowiki>  
第51行: 第43行:
 
sudo depmod -a  
 
sudo depmod -a  
 
</nowiki></pre>
 
</nowiki></pre>
 
 
* Insert the driver
 
* Insert the driver
 
<pre><nowiki>  
 
<pre><nowiki>  
 
sudo modprobe ivtv  
 
sudo modprobe ivtv  
 
</nowiki></pre>
 
</nowiki></pre>
 
 
* Ensure the driver is loaded whenever the system boots.  This somewhat convoluted command just adds a line with the module name to the file <code><nowiki>/etc/modules</nowiki></code>
 
* Ensure the driver is loaded whenever the system boots.  This somewhat convoluted command just adds a line with the module name to the file <code><nowiki>/etc/modules</nowiki></code>
 
<pre><nowiki>  
 
<pre><nowiki>  
 
sudo sh -c 'echo ivtv >>/etc/modules'
 
sudo sh -c 'echo ivtv >>/etc/modules'
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Command-Line Control ===
 
=== Command-Line Control ===
 
The only known application that will allow for controlling an ivtv card (as in change channels on the fly and such) is MythTV.  The following applications also have support for ivtv video capture, but require you to change the channels externally:
 
The only known application that will allow for controlling an ivtv card (as in change channels on the fly and such) is MythTV.  The following applications also have support for ivtv video capture, but require you to change the channels externally:
** VLC
+
* VLC
** MPlayer
+
* MPlayer
 
+
 
To change channels externally, you will need the ivtv-utils package.
 
To change channels externally, you will need the ivtv-utils package.
 
* Enable Universe
 
* Enable Universe
 
 
* Install the package
 
* Install the package
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install ivtv-utils
 
sudo apt-get install ivtv-utils
 
</nowiki></pre>
 
</nowiki></pre>
 
 
 
=== Troubleshooting ===
 
=== Troubleshooting ===
 
==== Ubuntu-specific ====
 
==== Ubuntu-specific ====
 
See the page at [[UbuntuHelp:Install_IVTV_Troubleshooting]] for Ubuntu specific troubleshooting steps.
 
See the page at [[UbuntuHelp:Install_IVTV_Troubleshooting]] for Ubuntu specific troubleshooting steps.
 
[[Include(Install_IVTV_Troubleshooting/General)]]
 
[[Include(Install_IVTV_Troubleshooting/General)]]
 
 
=== PVR-350 S-Video Output ===
 
=== PVR-350 S-Video Output ===
 
If you have a PVR-350, you can use a feature of the card that allows you to output both X and MythTV to the S-Video output on the card.  This S-Video output is natively 720x480, and provides an excellent picture that will rival most commercial graphics card TV-Outs.  trubblemaker has written a superb howto explaining how to do this, [[UbuntuHelp:MythTV_Edgy_hardware_pvr-350_TV-out]].  The guide is targeted at edgy, but should work for dapper as well.
 
If you have a PVR-350, you can use a feature of the card that allows you to output both X and MythTV to the S-Video output on the card.  This S-Video output is natively 720x480, and provides an excellent picture that will rival most commercial graphics card TV-Outs.  trubblemaker has written a superb howto explaining how to do this, [[UbuntuHelp:MythTV_Edgy_hardware_pvr-350_TV-out]].  The guide is targeted at edgy, but should work for dapper as well.
 
 
=== Rebuild Modules ===
 
=== Rebuild Modules ===
 
If you ever need to rebuild your ivtv modules for a new kernel version, here are the correct steps to follow:
 
If you ever need to rebuild your ivtv modules for a new kernel version, here are the correct steps to follow:
第93行: 第76行:
 
sudo depmod -a
 
sudo depmod -a
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
[[category:CategoryDocumentation]]
 
[[category:CategoryDocumentation]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 17:51的版本

Include(Install_IVTV_Header)

Ubuntu 6.06 IVTV Installation

Ubuntu 6.06 requires you to add a seperate repository for IVTV support. You will need to obtain both the drivers & firmware from this repository. After kernel updates, you will have to rebuild the kernel module (described below).

Installation

  • Make sure universe & multiverse are enabled. If you're not sure, refer to these pages to set up universe and multiverse first:

https://help.ubuntu.com/community/Repositories/Ubuntu#what

  • Add IVTV Repository.

An ubuntu repository for the firmware and drivers is hosted on ivtvdriver.org. Firmware updates will be released here, but driver updates will only exist for later Ubuntu versions.

  • Add repository to /etc/apt/sources.list
sudo nano /etc/apt/sources.list

Add:

deb http://dl.ivtvdriver.org/ubuntu dapper all
  • Add the key this repository is built with to your apt keyring.
wget http://dl.ivtvdriver.org/ubuntu/80DF6D58.gpg -O- | sudo apt-key add -
  • Update package lists
sudo apt-get update
  • Install the packages via apt-get:

If you are in a gnome based environment (for example a desktop install of Ubuntu)

DEBIAN_FRONTEND=gnome sudo apt-get install ivtv-source devscripts ivtv-utils ivtv-firmware mplayer

or If you are in a text based environment (for example a fresh command line system install)

DEBIAN_FRONTEND=dialog sudo apt-get install ivtv-source devscripts ivtv-utils ivtv-firmware mplayer
  • Note that PgUp/PgDown or Up/Down will scroll through the license.
  • Tab will allow you to choose the OK button to accept the license.
  • Now, prepare module-assistant. Every time a new kernel is installed, once you boot into it, you will have to rerun these commands to reinstall the driver for that kernel:
 
sudo m-a update,prepare
sudo m-a a-i ivtv
sudo depmod -a 
  • Insert the driver
 
sudo modprobe ivtv 
  • Ensure the driver is loaded whenever the system boots. This somewhat convoluted command just adds a line with the module name to the file /etc/modules
 
sudo sh -c 'echo ivtv >>/etc/modules'

Command-Line Control

The only known application that will allow for controlling an ivtv card (as in change channels on the fly and such) is MythTV. The following applications also have support for ivtv video capture, but require you to change the channels externally:

  • VLC
  • MPlayer

To change channels externally, you will need the ivtv-utils package.

  • Enable Universe
  • Install the package
sudo apt-get install ivtv-utils

Troubleshooting

Ubuntu-specific

See the page at UbuntuHelp:Install_IVTV_Troubleshooting for Ubuntu specific troubleshooting steps. Include(Install_IVTV_Troubleshooting/General)

PVR-350 S-Video Output

If you have a PVR-350, you can use a feature of the card that allows you to output both X and MythTV to the S-Video output on the card. This S-Video output is natively 720x480, and provides an excellent picture that will rival most commercial graphics card TV-Outs. trubblemaker has written a superb howto explaining how to do this, UbuntuHelp:MythTV_Edgy_hardware_pvr-350_TV-out. The guide is targeted at edgy, but should work for dapper as well.

Rebuild Modules

If you ever need to rebuild your ivtv modules for a new kernel version, here are the correct steps to follow:

sudo rm /usr/src/ivtv*deb
sudo m-a clean ivtv
sudo m-a update,prepare
sudo m-a a-i ivtv
sudo depmod -a