MythTV / PVR-350 / Ubuntu
Read this page to see how to install the ivtv driver needed by the PVR 350 card .
Read this page to see how to get X working on a PAL TV using the PVR-350’s TV-out connection (not necessary to get MythTV working but useful…)
To install MythTV itself, add multiverse to your ubuntu sources and
$sudo apt-get install mythtv
If you don’t already have the card, you can buy it online from Amazon.
So, how to do it? I tackled it like this.
Very quick version
- Install ivtv
- Attach and test cables
- Install and configure mythtv
- Test MythTV
- Get X running through TV-out (if you want it)
Longer Version
- Attach monitor to computer. You can remove it later but using it now makes the setup a whole lot easier
- Install ivtv
- Check you’ve got the ivtv drivers installed
- Attach the cable from the TV source (e.g. the aerial) to the input socket on the PVR-350 card
- Test this, by doing the following:
cat /dev/video0 > test.mpg
Then try to play back this video using mplayer or equivalent on the monitor. - If that works, you know you’ve got TV input into the MythTV box working OK. If it doesn’t work, fix it before you go any further.
- Attach the cable from the TV-out on the PVR-350 card to the TV.
- Test this, by doing the following:
# /usr/bin/ivtvfbctl /dev/fb0 -noglobalalpha -localalpha
# dd if=/dev/video0 of=/dev/video16 bs=64k
(Control-C to cancel) - After a few seconds, you should see your TV displaying the input from the aerial.
- If that works, you know you’ve got your cables connected correctly and the ivtv drivers are installed.
- Now install mythtv.
- You’ll need to configure it correctly using mythtv-setup. (Read the MythTV docs for instructions how to do this!)
- Make sure that you configure it to use the PVR-350 for the TV output rather than your PC’s TV-out (if it has one)
- Test it by running mythtv and select “Watch TV” option.
- Only once you’ve got that working, should you try getting X running over TV-out, if you want it.
http://wilsonet.com/mythtv/fcmyth.php is extremely useful for reading more about it all.
Some final things to do before you’ve finished…
- Automatically start gdm at reboot
- Automatically start mythtv session on start of gdm
- Automatically start mythtv at start of mythtv session
- Turn the sound server off (System>Preferences>Sound)
For Telewest support:
- Get a “Red-Eye Serial” cable from here
- Download the Linux driver from their website
- Write a two-line shell script which matches this interface (changechannel
) - Set up the Telewest channels in the “freq id” column of the database (one easy way to do this quickly is using the setup options in mythweb)
- Set up the backend to use this channel changer
[...] I’ve moved it from the blog into a permanent page here. [...]
[...] This is what I’m setting up: http://www.willmer.com/kb/mythtv/ Okay, so I’m not going to do this like other people. Here’s the plan: [...]