I started about a month ago building my very own MythTV box. Although my wife and I are proud, proud TiVo owners, I was excited about the prospect of tweaking out a pc and of course not being tied to the rules of a commercial product.
(All right, all right, I’m a geek and needed a challenge.)
My requirements for the build:
[ol]
[li]All in one box - both frontend and backend (Myth allows you to split the video watching portion and the video recording portion into two seperate PCs communicating of your LAN)[/li][li]Cost no more the $500[/li][li]Use Debian linux (my fav distro)[/li][li]Look good in or next to my entertainment center[/li][/ol]
My first build attempt quickly fizzeled. I purchased an NMediaPC bare-bones system whose power supply died on the second power-up. Luckily, Newegg refunded my money and I went shopping again.
Current Specs:
[ol]
[li]A Terminator T2 small form factor bare-bones[/li][li]A Hauppauge 500 dual tuner capture card[/li][li]An old ATI Radeon 7000 with S-video out[/li][li]A Seagate SATA 250 gig hard drive[/li][li]An old DVD-ROM ripped out of another machine[/li][li]A 2 Ghz AMD Sempron CPU[/li][li]500 megs of DDR RAM[/li][li]A serial port IR receiver[/li][/ol]
After getting my hands on all the components, I assembled the machine. Asus makes one hell of a beautiful box. I popped my Debian Etch installer and was off…
Until the 2nd menu item, detecting the NIC. My on-board NIC interface couldn’t be found. After some googling it turns out that the motherboard in the box uses SIS chipsets. The SIS ethernet controller was not supported by the installer. Oh well, I popped a spare NIC into the PCI slot and was back in business…
Until the 3rd menu item, harddrive detection. Again the onboard SIS SATA controller was not supported by the installer kernel. Ughhh. So, I popped in a spare IDE drive and I was again off…
Until the… just kidding, debian was installed and I was kinda happy, except for the 250 gig harddrive begging to be used. After quite a bit of googling, It turns out that both my NIC and harddrive are not supported with the most recent linux kernel (2.6.14). I upgraded the kernel (go APT-GET) and both the drive and NIC were found and after some tweaking, working well.
The next fun project was to migrate the OS from the IDE to the SATA drive. Luckily linux allows one to simply copy the install over without too much trouble. So, I partitioned and formatted the SATA, copied the OS over, installed GRUB to the MBR of the drive, modified GRUB to use a /dev/sda instead of a /dev/hda, crossed my fingers, shutdown the pc, removed the IDE drive, booted and … nothing. It would seem I missed a crucial step. I had to regenerate the initrd boot image to include my SIS SATA controller or the boot would never see the hard drive (go linuxquestions.org for helping me with that).
At this point, I now had a working base testing/unstable Debian linux install using the hardware I needed. My next step was to install XOrg and get myself a GUI. The biggest trouble here was my ATI radeon 7000. Those that know linux, know that ATI provides very poor support to the linux community. Lucky for me the fine folks at the GATOs project have been working on drivers for ATI video cards. One part of there project even provides the needed drives for TV-out on radeon cards, Yippie! So, I downloaded XOrg sources, patched in the GATOs code and with some dependency trouble compiled XOrg. A reboot later and I had tv-out with Xv video.
Finally, I was getting somewhere, so on to capture card. Hauppauge is a company that warms linux fans’ hearts. While not developing linux drivers themselves, they have actively worked with the IVTV project to do it. Because of that, this was the simplest part of my build. The IVTV drivers compiled relatively trouble free, modprobed in the card and I was capturing TV.
Getting near the end, It was time to install MythTV. Originally, I attempted to use the apt sources to install mythtvand mythplugins. I had a lot of trouble, though, with conflicting dependancies on QT3 libraries, so, I decided to compile myself. After hunting through the myth documentation and satisfying a tons of dependancies I was able to compile and install MythTV, MythPlugins and MythThemes, the big 3 packages.
And, now, here I stand. Myth is working well and the picture/recording quality rivals our TiVo. I also have myth playing my MP3s, showing pics of my son, and playing video files downloaded off the web (nothing illegal, just immoral).
My next step, will be to install LIRC and get a remote working. I’m hoping to use the A-B switch on our TiVo remote and use the B side with Myth. After that, I have to get it wirelessly networked since running cat 5e to the living room is not an option. And then, of course, I finally get to place it in the living room.
LarsenMTL