Monday, November 21, 2005

Installing the IVTV driver for the Hauppauge 250 and 350

First, go get the latest IVTV driver. At the time of this writing, it is 0.4.0 - get it here. My last MythTV install used version 0.2.0, which may have been the cause of a lot of my problems -- so make sure you're using the current stable version that's available.

Thanks to Rachel's Knowledge Base Blog for the great advice on how to compile and install IVTV. Make sure to read the "Gotcha" at the bottom.

The one change I made was, I have the following in my /etc/modutils/ivtv file:

#-----------------------------------------------------
# /etc/modutils/ivtv

alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-61 lirc_i2c
options ivtv ivtv-debug=0 mpg_buffers=90
options saa7127 enable_output=1 output_select=0 options tuner type=2
options msp3400 once=1 simple=1 debug=0
add below ivtv msp3400 saa7115 tuner saa7127
add above ivtv lirc_dev lirc_i2c ivtv-fb

#-----------------------------------------------------

Installing MythTV 0.18.1

Fortunately, I could install MythTV by using Synaptic, the graphical apt-get installer in Ubuntu. Installing MythTV installs all the prerequisites, such as MySQL, and a bunch of other goodies.

I'm writing this blog from memory -- I'm sure I'm forgetting a few things I had to install - you'll figure it out :)

Ubuntu Linux 5.1 "Breezy Badger"

I replaced my 733MHz CPU with a 2.4GHz Pentium 4 chip, and decided to get away from Fedora Core 3 and use Ubuntu 5.1 "Breezy Badger", which has been really good to me on my laptop.

Make sure to create the user with the login "mythtv" -- this is the user that MythTV expects will be there, so this will save you some time in the next few steps.

As soon as I installed the base system, I replaced /etc/apt/sources.list with the following contents, so that I could install apps from outside the distribution

#----------------------------------------------------------------
#/etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu breezy main restricted

deb-src http://archive.ubuntu.com/ubuntu breezy main restricted

deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted

deb http://archive.ubuntu.com/ubuntu breezy universe
deb-src http://archive.ubuntu.com/ubuntu breezy universe

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe

deb http://archive.ubuntu.com/ubuntu breezy multiverse
deb-src http://archive.ubuntu.com/ubuntu breezy multiverse
#----------------------------------------------------------------