MythTV and Ubuntu 8.10: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
(New page: 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.<br> My configuration i...)
 
No edit summary
Line 1: Line 1:
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.<br>
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.<br>
My configuration is:
= My Configuration =
<pre>
<pre>
2 GB RAM
2 GB RAM
Line 9: Line 9:
</pre>
</pre>


= 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.<br>
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.<br>
Edit '''/etc/network/interfaces'''
Edit '''/etc/network/interfaces'''
Line 18: Line 19:
iface eth0 inet dhcp
iface eth0 inet dhcp
</pre>
</pre>
For some reason my eth0 setting were not listed.
For some reason my eth0 setting were not listed.<br><br>
 
= DVB =
http://ubuntuforums.org/showthread.php?t=616103<br><br>
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 [http://www.ubuntu-forum.org/attachment.php?s=e0da2fb229c1ba164cd397f1eb49d3a2&attachmentid=82736&d=1219665844 here]. '''NOTE''': You will need an account on the Ubuntu Forums to download the file.  I also copied the file to my WEB server [http://www.testforme.com/download/misc/xc3028-v27.fw.tar.bz2 here] just so it was easy to access.<br><br>
 
== firmware ==
<pre>
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/
</pre>
 
== firmware requirement ==
<pre>
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
</pre>
 
== remote ==
<pre>
dmesg | grep IR
</pre>
 
You should see somthing like
<pre>
input: IR-receiver inside an USB DVB receiver as /class/input/input6
</pre>
 
Edit '''/etc/udev/rules.d/60-symlinks.rules'''<br>
and add this line at the bottom
<pre>
KERNEL=="event*",SYSFS{name}=="IR-receiver inside an USB DVB receiver",SYMLINK="input/irremote"
</pre>
 
reboot so /dev/input/irremote is made<br>
after reboot in terminal type
<pre>
sudo dpkg-reconfigure lirc
</pre>
 
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 [http://ubuntuforums.org/attachment.php?attachmentid=83100&d=1219902910 lirc2.tar.bz2] from the Ubuntu forums or from [http://www.testforme.com/download/misc/lirc2.tar.bz2 here] from my WEB site.
<pre>
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
</pre>
 
To test
<pre>
irw
</pre>


[[Category : MythTV]]
[[Category : MythTV]]

Revision as of 04:40, 23 November 2008

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