If you use MythTV you probably are aware by now that Zap2It labs has stopped providing free listing data as of 2007-09-01. There is an alternative though--schedulesdirect; a for fee service that is a drop in replacement for Zap2It labs ... except it costs $5.00/mo and you have to upgrade MythTV to 0.20.2
I was running MythTV 0.20 on FC4, it worked pretty well, excepting the occasional crash. I was planning on just upgrading to the new version of MythTV and leaving the OS at the current version. That is, that was the plan until I found out that atrpms.net no longer maintains packages for FC4. So I decided if I was going to have to compile source might as well update everything.
That's when the adventure began. It turns out that things have changed a lot since FC4; especially with the IVTV driver (the driver that is used for the PVR-350 capture card I use). The driver has been integrated into the kernel as of 2.6.22. This is a good thing as it means the drivers have become much more stable but the documentation is still pretty lousy. Here's the outline of what I've had to do to get my box back and running... hopefully it will save you sometime:
So what exactly didn't work when I upgraded:
- The video capture card was not automagically detected like I thought it should.
- Lots of problems getting MythTV to use the PVR-350 framebuffer for display... this required some code changes
- LiRC does not start properly (this is not a new problem... I also ran into on FC4 also)
How I fixed it all
I usually follow Jarod Wilson's "Fedora Mythtvology" guide when installing mythtv. The current version as of September 2007 is for Fedora 6. For the most part this will work fine for Fedora 7 as well. There's just a few quircks you have to be aware of due to the 2.6.22 kernel and ivtv.
IVTV was integrated into the kernel as of 2.6.22 (so is ALSA, so you can skip the sound portion of the tutorial). When you get to the ivtv step do the following:
yum -y install ivtv ivtv-kmdl-$KVER ivtv-firmware
Next add the following 3 lines to /etc/modprobe.conf
alias char-major-81 videodev
alias char-major-81-0 ivtv
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb
That should do it on the ivtv, on your next reboot the /dev/video0 device should be working.
Next, you will need to install the X-Driver. Since Fedora 7 uses X11 release 7 you will need a new x driver available here.
Next install the xorg-server modules with:
yum -y install xorg-server
Now compile, like so:
cd ivtvdev directory
./configure --prefix=/usr
make
make install
Next edit the xorg.conf file in /etc/X11 like jarod describes, just change the driver name from ivtvdev to ivtv.
Now when you reboot X should load up on the framebuffer.
Now that you should be able to get video and load X on the framebuffer let's fix mythtv so it can show video on the framebuffer (in my experiance this looks much better than just using a video card). You have to patch the sources to include the controls for the new ivtv-fb commands as documented in 3486.
Your options include simply building trunk which depending on the day, you never know exactly what you are going to get. Or you could back port the patch for 0.20.2. Fortunately I have already done that for you. You can download the SRPM here. This is basically a patched version of MythTV-0.20.2-165 from atrpms.net
You should be up and running by now after one more reboot. Just setup mythtv to use the PVR-350 output device and your set.
NOTE: If lircd does not start up properly on boot you might need to modify the /etc/init.d/lircd script to try and reload the lirc_i2c module if it failed: Include this after the "start() {" line
if [ `/sbin/lsmod | grep lirc` != ""]; then
echo -n $"Reloading lirc_i2c: "
/sbin/modprobe lirc_i2c
RETVAL=$?
echo
fi


