Installing Mythtv on Fedora 4

Mythtv Install on Fedora 4 This is the Install Log for mythtv.mattrude.com built on 29-March-2006

Intel Pentium 4 3.0 Ghz Intel D945GNT Desktop Mainboard 1 GB DDR2 Ram Hauppauge PVR-350 1 TV Tuner & Out Hauppauge PVR-500 2 TV Tuners Seagate 80GB Hard Drive Western Digital 400GB Hard Drive Fedora Core 4 Mythtv 0.19 ivtv Video Card Drivers lirc Remote Control Software Mysql Database Server Apache Web Server

Setup Drivers & Repos
Logged in as root and run cd /etc/yum.repos.d/ wget http://wilsonet.com/mythtv/atrpms.repo wget http://wilsonet.com/mythtv/freshrpms.repo (vi all the other .repo files and change pgp=0)
 * Download ATrpms and Freshrpms repos

Update system
As root run yum -y update As root run reboot As root run yum -y update
 * update via yum
 * Reboot system
 * update systems once more

SSH Setup
Logged in as matt ssh-keygen -t rsa cd cd .ssh cp id_rsa.pub `hostname -s`.pub scp `hostname -s`.pub samantha:.ssh now log into to samantha ssh samantha it will as for a password cd .ssh mythtv.pub is the hostname from before cat mythtv.pub >> authorized_keys2 updatessh exit
 * Generate Keys
 * Populate the other servers

Install mythtv software via yum
As root run. yum -y install mythtv-suite

Install ivtv Software
yum -y install ivtv-firmware yum -y install ivtv-kmdl-`uname -r`.`uname -m` yum -y install ivtvdev Add “vga=791” to the end of all the vmlinuz lines in /etc/grub.conf Add “alias char-major-61 lirc_i2c” to the top and box to the bottom of /etc/modprobe.conf alias char-major-81 videodev alias char-major-81-0 ivtv alias tveeprom tveeprom-ivtv install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe -ignore-install lirc_i2c
 * Install ivtv
 * ivtv modules setup

/sbin/depmod -a /sbin/modprobe ivtv Trying “echo 16384 > /proc/sys/vm/min_free_kbytes” Rebooted That worked, Life goes on.
 * Now try loading up the ivtv driver
 * Got a problem with the modprobe ivtv

Confgure X11 software

 * backup files before you play

as root run

cd /etc/X11

cp xorg.conf_for_the_PVR-350 xorg.LCD

vim xorg.TV

Grab xorg.conf_for_the_PVR-350] from here

Now you cp xorg.TV into xorg.conf for the TV to display video

Install Remote Control Software
yum -y install lirc-kmdl-`uname -r`.`uname -m` yum -y install lirc mkdir /home/mythtv/.mythtv wget http://wilsonet.com/mythtv/lircrc-haupgrey-g3.txt mv lircd-haupgrey-g3.conf.txt ~/.mythtv/lircrc /sbin/depmod -a /sbin/modprobe lirc_i2c /sbin/chkconfig lircd on /sbin/service lircd start Start /usr/bin/irw and point the remote and see what happens touch /var/lock/subsys/local ln -s /dev/lirc0 /dev/lirc /sbin/depmod -a /sbin/modprobe ivtv /sbin/depmod -a /sbin/modprobe lirc_i2c
 * Get and install IR
 * If irw exits after staring it then try

Setup the lircrc convert file
vim /home/matt/.mythtv/lircrc Copy Paste this into the lircrc file Then Restart Lircd /sbin/service lircd restart
 * Make the lircrc file

Mythpowerbutton
as mythtv run vim /usr/local/bin/mythpowerbutton.sh Copy & Paste the box into the file PROG=mythfrontend STATUS=`ps -e | grep $PROG | grep -v grep | wc -l | awk '{print $1}'` if [ `echo $DISPLAY | grep -c ":0"` -ge 1 ] then if [ $STATUS -eq 0 ] then ( $PROG & ) else killall $PROG fi fi exit 0
 * 1) !/bin/bash

Mythsetup
vim /usr/local/bin/mythsetup.sh Copy & Paste the box into the file PROG1=mythfrontend PROG2=mythtv-setup STATUS1=`ps -e | grep $PROG1 | grep -v grep | wc -l | awk '{print $1}'` STATUS2=`ps -e | grep $PROG2 | grep -v grep | wc -l | awk '{print $1}'` if [ `echo $DISPLAY | grep -c ":0"` -ge 1 ] then if [ $STATUS1 -eq 0 ] then killall $PROG2 `/sbin/service mythbackend start` ( $PROG1 & ) else killall $PROG1 `/sbin/service mythbackend stop` ( $PROG2 & ) fi fi exit 0 chmod +x *
 * 1) !/bin/bash
 * Configure Mythpowerbutton & Mythsetup

Setting up Mysql
/sbin/chkconfig mysqld on /sbin/service mysqld start mysql -u root < /usr/share/doc/mythtv-0.19/database/mc.sql

Starting Mythtv setup
mythtv-setup