个人工具

UbuntuHelp:Install IVTV Edgy

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(Tag/Unsupported)>> <<Include(Install_IVTV_Header)>>

Ubuntu 6.10 IVTV Installation

Ubuntu 6.10 includes support to directly install drivers for IVTV from the repositories. You will only need to obtain the firmware for the drivers (described below), and properly update the drivers on kernel updates (also 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:
  • [[UbuntuHelp:Install_IVTV_Edgy/../MythTV/Install/Live/Edgy/Repositories|Desktop Machines]]
  • [[UbuntuHelp:Install_IVTV_Edgy/../MythTV/Install/Server/Edgy/Repositories|Command Line Machines]]
  • 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 edgy 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:

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 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, MythTV_Edgy_hardware_pvr-350_TV-out

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