MythTV and Ubuntu 8.10: Difference between revisions
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... |
|||
(12 intermediate revisions by the same user not shown) | |||
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 | = My Configuration = | ||
<pre> | <pre> | ||
2 GB RAM | 2 GB RAM | ||
NVIDIA 256 MB GeForce 8600 GT | |||
Samsung 750G 7200RPM 32MB Cache SATA II | |||
PLDS DVD+-RW HD-16A6S Dual Layer SATA DVD | |||
Realtek ALC888 HD Audio | |||
Dvico Dual Digital 4 | Dvico Dual Digital 4 | ||
</pre> | </pre> | ||
The first problem I | = NIC = | ||
The first problem I en-counted 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. I found that if I rebooted my computer twice it seemed to permanently fix the problem. If it does not you can overcome this problem by.<br> | |||
Edit '''/etc/network/interfaces''' | Edit '''/etc/network/interfaces''' | ||
<pre> | <pre> | ||
Line 18: | Line 20: | ||
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> | ||
= Video = | |||
When Ubuntu first loads I got a message about using a proprietary driver. I selected to active the latest version of the driver. When I used the standard video drivers I could not get the correct aspect ration and it seemed that the interlacing was not lined up correctly. After installing the NVIDIA drivers everything seemed to work well.<br><br> | |||
If you did not load the drivers when prompted you can do so here.<br> | |||
Close down all applications and go to another session F3 as an example. | |||
<pre> | |||
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 | |||
</pre> | |||
'''NOTE:''' Look [http://www.nvidia.com/object/unix.html here] for the latest driver. | |||
= 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 | |||
sudo cp xc3028-v27.fw /lib/firmware/ | |||
</pre> | |||
== firmware requirement == | |||
<pre> | |||
sudo -i | |||
apt-get update | |||
apt-get 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 something like | |||
<pre> | |||
input: IR-receiver inside an USB DVB receiver as /class/input/input6 | |||
</pre> | |||
or | |||
<pre> | |||
input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1e.0/0000:02:00.2/usb11/11-1/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 apt-get install lirc | |||
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 lirc2.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> | |||
= Installing MythTV = | |||
<pre> | |||
sudo apt-get install mythtv | |||
</pre> | |||
== Configuring MythTV == | |||
<pre> | |||
mythtv-setup | |||
</pre> | |||
[[Category : MythTV]] | [[Category : MythTV]] |
Latest revision as of 12:07, 26 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 256 MB GeForce 8600 GT Samsung 750G 7200RPM 32MB Cache SATA II PLDS DVD+-RW HD-16A6S Dual Layer SATA DVD Realtek ALC888 HD Audio Dvico Dual Digital 4
NIC
The first problem I en-counted 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. I found that if I rebooted my computer twice it seemed to permanently fix the problem. If it does not you can overcome this problem by.
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.
Video
When Ubuntu first loads I got a message about using a proprietary driver. I selected to active the latest version of the driver. When I used the standard video drivers I could not get the correct aspect ration and it seemed that the interlacing was not lined up correctly. After installing the NVIDIA drivers everything seemed to work well.
If you did not load the drivers when prompted you can do so here.
Close down all applications 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.
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 sudo cp xc3028-v27.fw /lib/firmware/
firmware requirement
sudo -i apt-get update apt-get 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 something like
input: IR-receiver inside an USB DVB receiver as /class/input/input6
or
input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1e.0/0000:02:00.2/usb11/11-1/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 apt-get install lirc 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 lirc2.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
now restart lircd
sudo /etc/init.d/lirc restart
To test
irw
Installing MythTV
sudo apt-get install mythtv
Configuring MythTV
mythtv-setup