MythTV on CentOS part 2

January 3, 2006

I finally got around to rebuilding my FC2 MythTV box with CentOS 4. For the most part, I followed Jarod’s Guide, but I did need to make some adjustments. This is mostly from memory, so let me know if you catch any mistakes.

I’ll follow Jarod’s numbering scheme:

6. Configure 3rd-party package repositories
Your /etc/yum.repos.d/apt.repo should look like this:
[atrpms]
name=ATrpms for Enterprise Linux $releasever - $basearch
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
enabled=1
gpgcheck=1
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
[atrpms-testing]
name=ATrpms for Enterprise Linux $releasever - $basearch
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing
enabled=0
gpgcheck=1
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
[atrpms-bleeding]
name=ATrpms for Enterprise Linux $releasever - $basearch
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/bleeding
enabled=0
gpgcheck=1
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms

freshrpms does not have a EL4 repo so I went with Dag instead. /etc/yum.repos.d/apt.repo should look like this:
[dag]
name = Dag
enabled = 0
baseurl = http://dag.freshrpms.net/redhat/el4/en/$basearch/dag/
http://ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/el4/en/i386/dag/
gpgcheck = 1
gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

I chose not to enable it and only use it when a package was missing, but you would probably be ok to just enable it. If you want to turn it on temporarily, you can use it like this:
# yum --enablerepo=dag install xine

7. Get and install video card drivers
nVidia drivers worked fine. (current version is 8178)

8. Audio setup
Haven’t gone there yet. OSS works out of the box.

9. Get and install MythTV
No problems.

10. Get and install capture card driver(s)
For ivtv-based cards (PVR-250/350, M179, MPG600, etc):
Atrpms install of IVTV failed for me. Fortunately, installing it from source was a snap.
# yum install kernel-devel ivtv-firmware
$ wget http://dl.ivtvdriver.org/ivtv/archive/0.4.x/ivtv-0.4.1.tar.gz
$ tar xvzf ivtv-0.4.1.tar.gz
$ cd ivtv-0.4.1
$ ./configue --prefix=/usr
$ make
# make install
# cp driver/*.ko /lib/modules/`uname -r`/kernel/drivers/media/video/

Now you should be able to use Jarod’s Guide staring at “Now, edit /etc/modprobe.conf to add ivtv-specific configuration info.”
Note: I did not need the tveeprom or msp3400 lines.

FireWire capture from a supported cable box:
I don’t have a firewire cable box, but I did want firewire support for my dv camcorder. The stock el4 kernel does not have the raw1394 module in it. You can install it with this line:
rpm -ivh http://oss.oracle.com/projects/firewire/dist/files/RedHat/RHEL4/i386/oracle-firewire-modules-2.6.9-22.0.1.EL-1286-1.i686.rpm

11. Get and install lirc
Haven’t gone there yet.

The rest should be by the book. One other note, el4 suffers from the same faulty urw-fonts package as FC3. This will fix it:
rpm -Uvh --oldpackage ftp://rpmfind.net/linux/fedora/core/2/i386/os/Fedora/RPMS/urw-fonts-2.1-7.noarch.rpm

I am testing running an Asterisk@Home install on the same box. I’ll let you know how it goes.

Advertisements

2 Responses to “MythTV on CentOS part 2”

  1. tuxokc Says:

    You made no mention of what file system you have used for your media store. Did you find a kernel package that provided JFS or XFS, and also had ivtv-kmdl available?

  2. pete Says:

    I never ended up using this system in production, but when I was tinkering on it, it was just using a standard ext3 file system. So to answer your question, I didn’t find one, but I never got around to looking either…


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: