MythTV Version 0.20 upgrade on Slackware 11.0

Written by: Nishant Limbachia
Email: tuxrules.in_AT_gmail.com
Created: February 27, 2007

There are two major reasons for the upgrade, one was a new kernel version since I'm still hung up on 2.6.17.13 and the other is a new version of ivtv. Recently, good folks at ivtv announced they are going to discontinue ivtv for version 0.40.x, 0.60.x, 0.70.x (the one that I use with kernel 2.6.17.13). Also the stable version 0.8.x and 0.9.x have been discontinued in favor or version 0.10.x.

Kernel Upgrade

Download the latest source from your nearest kernel.org mirror. I am using kernel version 2.6.19.5, the latest one at time of writing. Once you have the source, use my kernel config as a reference if you need help. Once the kernel upgrade completes smoothly, you need to switch to runlevel 3 (if you are at runlevel 4) and also comment out lirc and ivtv modules listed in the Kernel Modules section on the mythtv setup page. Boot up in the new kernel and proceed to install graphics (nvidia) driver, lirc and ivtv.

LIRC Upgrade

lirc.SlackBuild now uses the latest stable version of lirc. If you are want to live on bleeding edge, you can invoke lirc-cvs.SlackBuild. Nothing much to add here just run the slackbuild or build manually and install the package. If you use the slackbuild and you also have lirc daemons configured as per the mythtv setup page, then you need to make following changes to your /etc/rc.d/rc.local. You may notice that I've also included lirc option for Hauppauge PVR-150 card that I added recently.

echo "Linux Infrared Remote Control daemon --- PVR-350 remote"
/usr/sbin/lircd --device=/dev/lirc0 --output=/dev/lircd --logfile=/var/log/lirc_i2c.log \
--pidfile=/var/run/lircd.pid /etc/lircd.conf

echo "Linux Infrared Remote Control daemon --- PVR-150 remote"
/usr/sbin/lircd --device=/dev/lirc1 --output=/dev/lircd1 --logfile=/var/log/lirc_i2c.log \
--pidfile=/var/run/lircd1.pid /etc/lircd.conf

echo "Linux Infrared Remote Control --- serial irblaster"
/usr/sbin/lircd --device=/dev/lirc2 --output=/dev/lircd2 --logfile=/var/log/lirc_serial.log \
--pidfile=/var/run/lircd2.pid /etc/lircd.conf

echo "Linux Infrared Remote Control Mouse daemon"
/usr/sbin/lircmd /etc/lircmd.conf

IVTV Upgrade

Upgraded ivtv to version 0.10.0. I've just added a slackbuild for ivtv so compiling and installation should be a little more easier. Look at the slackbuild section to get the script. According to the README in ivtv source, PVR-350's need to use osd_compat=1 as a module option for ivtv_fb.

Adding another TV-Tuner

All you have to do is open up your box and plug this card in. lirc and ivtv will recognize the additional card and make appropriate device entries for the new card. I've also configured the card and input in mythtv-setup. I still have to figure out how to actually start recording since I still cannot change channels when recording via PVR-150. Anyone with tips or clues are more than welcome to email me. I will really appreciate the input.

Finally, uncomment the lirc and ivtv modules in /etc/rc.d/rc.modules and change back the runlevel. That's it...hopefully the upgrade works out as smoothly as it did for me. As always, you are more than welcome to send in appreciations, critiques and errata.