MythTV and Ubuntu 8.10

From KlavoWiki
Revision as of 04:51, 23 November 2008 by David (Sọ̀rọ̀ | contribs) (→‎Video)
Jump to navigationJump to search

I have decided to start playing with MythTV. I have a Dell Inspiron 530 that I purchased a 750 GB SATA drive for so that I can use that HD when playing with MythTV.

My Configuration

2 GB RAM
NVidia GeForce 8600 GT
750 GB SATA HD
SATA DVD+/-
Dvico Dual Digital 4

NIC

The first problem I encounted was the the computer did not operate on my network. For some reason even though the card was configured for DHCP it never was assigned an IP address. To overcome this problem I did the following.
Edit /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

For some reason my eth0 setting were not listed.

DVB

http://ubuntuforums.org/showthread.php?t=616103

There were issues getting the Dvico Dual Digital 4 card working in Linux systems but Ubuntu 8.10 now has the drivers built in. We still need to download and install firmware though. The file required is xc3208-v27.fw which can be downloaded from here. NOTE: You will need an account on the Ubuntu Forums to download the file. I also copied the file to my WEB server here just so it was easy to access.

firmware

wget http://www.testforme.com/download/misc/xc3028-v27.fw.tar.bz2
tar jxvf xc3028-v27.fw.tar.bz2
cp xc3028-v27.fw /lib/firmware/

firmware requirement

sudo -i 
apt-get update
apt-get install install mercurial build-essential linux-headers-`uname -r`
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make
make install 

remote

dmesg | grep IR

You should see somthing like

input: IR-receiver inside an USB DVB receiver as /class/input/input6

Edit /etc/udev/rules.d/60-symlinks.rules
and add this line at the bottom

KERNEL=="event*",SYSFS{name}=="IR-receiver inside an USB DVB receiver",SYMLINK="input/irremote" 

reboot so /dev/input/irremote is made
after reboot in terminal type

sudo dpkg-reconfigure lirc

scroll down to linux input layer then select it on page 2 for IR transmitter select none on page 3 select /dev/input/irremote

Download lirc2.tar.bz2 from the Ubuntu forums or from here from my WEB site.

wget http://www.testforme.com/download/misc/lirc2.tar.bz2
tar xvjf lircx.tar.bz2
cd lircx
cp -R lirc /etc
mv /etc/lirc/lircrc ~/.mythtv
ln -s ~/.mythtv/lircrc ~/.lircrc
sudo ln -s ~/.mythtv/lircrc /etc
sudo ln -s ~/.mythtv/lircrc /etc/lirc
<pre>

now restart lircd
<pre>
sudo /etc/init.d/lirc restart 

To test

irw 

Video

When I used the standard video drivers I could not get the correct aspect ration and it seemd that the interlacing was not lined up correctly. After installing the Nvidia drivers everything seemd to work well.

Close down all applictions and go to another session F3 as an example.

sudo /etc/init.d/gdm stop
wget http://us.download.nvidia.com/XFree86/Linux-x86/177.82/NVIDIA-Linux-x86-177.82-pkg1.run
sh NVIDIA-Linux-x86-177.82-pkg1.run

NOTE: Look here for the latest driver.