Howto:Fedora

From IVTV

Jump to: navigation, search

Contents

[edit] Source

If you want to build from source, following the main howto works fine.

[edit] FC6 Bug

Fedora Core 6 contains a bug in the anaconda installer such that on some systems the installer incorrectly identifies and installs the i586 architecture (which is incompatible with IVTV).

Check which kernel packages are installed:

rpm -qa 'kernel*' --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|sort

If the installed kernel architecture is i586, but your machine is i686 capable (Pentium II or K6II or higher), use the workaround found on the Fedora Project Wiki:

http://fedoraproject.org/wiki/Bugs/FC6Common

[edit] ATrpms

If you are using a kernel from the vendor (e.g. a kernel rpm), you can use the prebuilt RPMs from the ATrpms site.

We will assume that you are using yum, but if you want to use apt or smart, see the ATrpms installation information.

Firstly, edit your /etc/yum.conf, and add the following lines:

For Fedora Core (1-6)

[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1


For Fedora Core (7-8)

[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1

You will have to register the GPG key:

rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms 

Next, install the ivtv packages:

yum install ivtv ivtv-kmdl-`uname -r`
(answer Y if prompted)

These rpm packages handle the conflicting module problem a little differently. There is no need to remove or rename conflicting modules. The ivtv provided modules always override the kernel's, and ivtv only builds these modules it knows it should override.

Beware: it may be that no modules for your current kernel exist - in that case yum will download a new kernel and the modules for the new kernel. You can see this by comparing the kernl string for your running linux and what ivtv modules have been downloaded to your machine:

uname -r
rpm -qa | grep ivtv-kmdl

If a new kernel was downloaded, you first have to re-boot your machine with the new kernel (adapt your boot sequence for this first, then re-boot). In that case, the ivtv modules should automagically be loaded on re-boot.

To load the modules, simply run:

modprobe ivtv

If you need the ivtv xdriver (for a PVR-350) use

yum install ivtv_xdriver

[edit] Summary

For general Fedora MythTV setup information, see Jarod Wilson's MythTV on Fedora Wiki. This also includes ivtv configuration information. Some of this information is currently out of date with the current contents of ATrpms as it relates to the ivtv drivers, but it can still be useful.

development