<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Michaels blog &#187; Media Center</title>
	<atom:link href="http://legart.dk/category/media-center/feed/" rel="self" type="application/rss+xml" />
	<link>http://legart.dk</link>
	<description>Hest design!</description>
	<lastBuildDate>Mon, 18 Apr 2011 08:31:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>DVB-C card for digital TV on my mediacenter</title>
		<link>http://legart.dk/2007/04/01/dvb-c-card-for-digital-tv-on-my-mediacenter/</link>
		<comments>http://legart.dk/2007/04/01/dvb-c-card-for-digital-tv-on-my-mediacenter/#comments</comments>
		<pubDate>Sun, 01 Apr 2007 15:06:32 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Media Center]]></category>

		<guid isPermaLink="false">http://legart.dk/2007/04/01/dvb-c-card-for-digital-tv-on-my-mediacenter/</guid>
		<description><![CDATA[I was not happy with the quality of my analogue TV signal, so i finally decided to buy a DVB-C card to receive digital TV from my provider in Denmark, TDC Kabel TV. To receive the signal you need a DVB-C card. To receive non-free-to-air channels you need a Common Interface (CI) and a CAM [...]]]></description>
			<content:encoded><![CDATA[<p>I was not happy with the quality of my analogue TV signal, so i finally decided to buy a DVB-C card to receive digital TV from my provider in Denmark, TDC Kabel TV.</p>
<p>To receive the signal you need a DVB-C card. To receive non-free-to-air channels you need a Common Interface (CI) and a CAM (Common Access Module) to decode the signal. In the CAM you must insert a decoder card bought from your provider.</p>
<p>I ended up ordering the following at <a href="http://dvbshop.net" target="_blank">dvbshop.net</a>:</p>
<ul>
<li><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><strong>Technotrend Premium C-2300 Hybrid</strong></font></li>
<li><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><strong>Technotrend Premium 3.5&#8243; CI incl. TT-remotecontrol</strong></font></li>
<li><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><strong>Viaccess I/II CAM (V484)</strong></font></li>
</ul>
<p>I have no use for the remote control, but could not find a  CI for the C-2300 card without it.</p>
<p>The card was pretty easy to get working in Linux. When I first booted after inserting the card, the kernel log showed:<br />
<code><br />
[   57.704473] dvb-ttpci: could not load firmware, file not found: dvb-ttpci-01.fw<br />
[   57.704509] dvb-ttpci: usually this should be in /usr/lib/hotplug/firmware or /lib/firmware<br />
[   57.704550] dvb-ttpci: and can be downloaded from http://www.linuxtv.org/download/dvb/firmware/</code></p>
<p><code></code><br />
So i downloaded <code>http://www.linuxtv.org/download/dvb/firmware/dvb-ttpci-01.fw-2622</code> and saved it as <code>/lib/firmware/dvb-ttpci-01.fw</code> and reloaded the driver:<br />
<code><br />
# rmmod dvb-ttpci<br />
# modprobe dvb-ttpci</code><br />
and the card was now detected and initialized just fine:<br />
<code><br />
[  571.805460] saa7146: register extension 'dvb'.<br />
[  571.806038] PCI: Enabling device 0000:05:07.0 (0000 -&gt; 0002)<br />
[  571.806223] saa7146: found saa7146 @ mem ffffc20000070000 (revision 1, irq 3) (0x13c2,0x000a).<br />
[  571.812619] DVB: registering new adapter (Technotrend/Hauppauge WinTV Nexus-CA rev1.X).<br />
[  571.846734] adapter has MAC addr = 00:d0:5c:04:ae:d4<br />
[  572.052113] dvb-ttpci: gpioirq unknown type=0 len=0<br />
[  572.077680] dvb-ttpci: info @ card 0: firm f0240009, rtsl b0250018, vid 71010068, app 80002622<br />
[  572.077683] dvb-ttpci: firmware @ card 0 supports CI link layer interface<br />
[  572.725120] dvb-ttpci: DVB-C analog module @ card 0 detected, initializing MSP3415<br />
[  573.072477] dvb_ttpci: saa7113 not accessible.<br />
[  573.133828] saa7146_vv: saa7146 (0): registered device video2 [v4l2]<br />
[  573.134080] saa7146_vv: saa7146 (0): registered device vbi2 [v4l2]<br />
[  573.134357] DVB: registering frontend 0 (ST STV0297 DVB-C)...<br />
[  573.134549] input: DVB on-card IR receiver as /class/input/input3<br />
[  573.134630] dvb-ttpci: found av7110-0.<br />
[  577.936266] spurious 8259A interrupt: IRQ7.</code></p>
<p>To test and scan for channels I created a file called <code>dk-TDCKabelTV</code> containing the frequences used by TDC Kabel TV in Copenhagen:<br />
<code><br />
C 143000000 6875000 NONE QAM64<br />
C 156000000 6875000 NONE QAM64<br />
C 490000000 6875000 NONE QAM64<br />
C 498000000 6875000 NONE QAM64<br />
C 506000000 6875000 NONE QAM64<br />
C 514000000 6875000 NONE QAM64<br />
C 522000000 6875000 NONE QAM64<br />
C 530000000 6875000 NONE QAM64<br />
C 538000000 6875000 NONE QAM64<br />
C 546000000 6875000 NONE QAM64<br />
C 554000000 6875000 NONE QAM64<br />
C 578000000 6875000 NONE QAM64<br />
C 586000000 6875000 NONE QAM64<br />
C 602000000 6875000 NONE QAM64<br />
C 610000000 6875000 NONE QAM64<br />
C 618000000 6875000 NONE QAM64<br />
C 626000000 6875000 NONE QAM64<br />
C 674000000 6875000 NONE QAM64<br />
</code></p>
<p>I then used <code>scan dk-TDCKabelTV &gt; channels.conf</code> to scan for channels. I later used the generated file when setting up the tuner card in MythTV. I had to delete a lot of channels though. It looks like MythTV cannot handle the radio channels &#8211; and I haven&#8217;t bought access to all 100 channels or so available with TDCs Selector&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://legart.dk/2007/04/01/dvb-c-card-for-digital-tv-on-my-mediacenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hauppauge MediaMVP and MythTV</title>
		<link>http://legart.dk/2006/10/15/hauppauge-mediamvp-and-mythtv/</link>
		<comments>http://legart.dk/2006/10/15/hauppauge-mediamvp-and-mythtv/#comments</comments>
		<pubDate>Sun, 15 Oct 2006 20:11:25 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Media Center]]></category>

		<guid isPermaLink="false">http://legart.dk/2006/10/15/hauppauge-mediamvp-and-mythtv/</guid>
		<description><![CDATA[I was looking for a cheap and easy way to connect my seconday TV to my MythTV media center. The Hauppauge MediaMVP combined with the &#8220;MediaMVP Media Center&#8221; open source application from www.mvpmc.org looked like it supported all my requirements: It is noiseless and small It supports output to SCART It can be hacked to [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for a cheap and easy way to connect my seconday TV to my MythTV media center.</p>
<p>The Hauppauge MediaMVP combined with the &#8220;MediaMVP Media Center&#8221; open source application from <a href="http://legart.dk/www.mvpmc.org">www.mvpmc.org</a> looked like it supported all my requirements:</p>
<ul>
<li>It is noiseless and small</li>
<li>It supports output to SCART</li>
<li>It can be hacked to act as a MythTV frontend.</li>
</ul>
<p>From the HOWTO&#8217;s on the MediaMVP Media Center it also looked like it was very easy to get working. That, however it was not. <img src='http://legart.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I now have a somewhat working setup where I can watch recorded shows, but not really anything else. Which is OK for now.</p>
<p>My problem was that the new versions of the Hauppauge MediaMVP dosn&#8217;t just boot via tftp. Here is what I had to do to make it boot the MediaMVP Media Center software:</p>
<p>On my DHCP server I added the following group:<br />
<code>group {<br />
host mvp { # NOTE: Change the hardware ethernet to the MAC address of your actual MVP<br />
hardware ethernet 00:0d:fe:0b:b3:fc;<br />
fixed-address 192.168.1.3;<br />
}<br />
}</code><br />
This will just assign a static IP to the box. No need to set TFTP server, filename etc here since it will just ignore it anyway.</p>
<p>To boot the application you must be a tftp server on port 16869 (use dpkg-reconfigure atftp to reconfigure atftp to run on this port) and you must run the mvprelay application from the <a href="http://www.rst38.org.uk/mediamvp/mvpserver.html">MVPServer </a>package. For example:<br />
<code>./mvprelay 16881 5906 6337 192.168.1.2</code><br />
In your <em>/tftpboot</em> directory the files must be called dongle.bin, dongle.bin.config and dongle.bin.ver. You cannot set other filenames in the DHCP server configuration or the relay application&#8230;</p>
<p>So far my box only fetches the application and not the config file, so I have to telnet to it, kill the running application and execute the commands from dongle.bin.config&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://legart.dk/2006/10/15/hauppauge-mediamvp-and-mythtv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem with PVR500, ivtv and Linux 2.6.17.3 solved!</title>
		<link>http://legart.dk/2006/07/06/problem-pvr500-ivtv-and-linux-26173-solved/</link>
		<comments>http://legart.dk/2006/07/06/problem-pvr500-ivtv-and-linux-26173-solved/#comments</comments>
		<pubDate>Thu, 06 Jul 2006 15:08:17 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Media Center]]></category>

		<guid isPermaLink="false">http://legart.dk/2006/07/06/problem-pvr500-ivtv-and-linux-26173-solved/</guid>
		<description><![CDATA[After upgrading to Linux 2.6.17.3 and ivtv 0.7.0 my PVR500 card suddenly stopped working. It looked like the driver was loaded, but i could not read any data from /dev/video0. When trying to read data from the device or trying to use ivtv-tune the following was logged by the kernel: [68705.613937] ivtv0: i2c hardware 0x00000001 [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading to Linux 2.6.17.3 and ivtv 0.7.0 my PVR500 card suddenly stopped working. It looked like the driver was loaded, but i could not read any data from <em>/dev/video0</em>.</p>
<p>When trying to read data from the device or trying to use ivtv-tune the following was logged by the kernel:</p>
<pre>[68705.613937] ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c!
[68705.613941] ivtv0: i2c addr 0x44 not found for command 0x4008646f!
[68705.613944] ivtv0: i2c hardware 0x00000020 not found for command 0x4008646d!
[68705.613947] ivtv0: i2c hardware 0x00000001 not found for command 0x4008646d!
[68705.613977] ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c!
[68705.617982] ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c!
[68705.618952] ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c!</pre>
<p>I read a lot of mailinglist posts suggesting that it meant that the card was broken etc&#8230; but finally I also saw the line:</p>
<pre>[68705.887156] ivtv1: Failed to load module cx25840</pre>
<p>and after some investigation found that this driver is no longer included in ivtv &#8211; it is now shipped as part of the Linux kernel. So i enabled the modules cx25840 and wm8775 in the kernel, and now my card works like a charm again.</p>
]]></content:encoded>
			<wfw:commentRss>http://legart.dk/2006/07/06/problem-pvr500-ivtv-and-linux-26173-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DVB-T and Linux</title>
		<link>http://legart.dk/2006/07/06/dvb-t-and-linux/</link>
		<comments>http://legart.dk/2006/07/06/dvb-t-and-linux/#comments</comments>
		<pubDate>Thu, 06 Jul 2006 09:37:47 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Media Center]]></category>

		<guid isPermaLink="false">http://legart.dk/2006/07/06/dvb-t-and-linux/</guid>
		<description><![CDATA[I have a MediaCenter PC running Ubuntu Linux and MythTv. It works very well, and until now my TV input has been through a Hauppauge PVR 500 card. I just added a Hauppauge Nova-T DVB-T card since it is now possible to receive DVB-T signals in Denmark. It was fairly easy to get working once [...]]]></description>
			<content:encoded><![CDATA[<p>I have a MediaCenter PC running Ubuntu Linux and MythTv. It works very well, and until now my TV input has been  through a Hauppauge PVR 500 card.</p>
<p>I just added a Hauppauge Nova-T DVB-T card since it is now possible to receive DVB-T signals in Denmark.</p>
<p>It was fairly easy to get working once I had a good enought antenna.</p>
<p>The driver, cx8800, is included in the Linux kernel. I&#8217;m currently using 2.6.17.3 which gives me working DVB-T, but broke ivtv and my PVR500 card&#8230;.</p>
<p>When the driver was loaded i tested the signal with the <code>scan</code> and <code>tzap</code> applications from the dvb-utils package. On www.digi-tv.dk i found that there is one transponder near Copenhagen and that the frequency is 714000000 hz.</p>
<p>The dvb-utils package comes with definition files for a lot of countries, but not for Denmark. I created one myself containing:<br />
<code># Denmark - Copenhagen<br />
# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy<br />
T 714000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE</code><br />
I saved the file as dk-Copenhagen and used the scan tool to look for channels:<br />
<code>$scan dk-Copenhagen<br />
scanning dk-Copenhagen<br />
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'<br />
initial transponder 714000000 0 2 9 3 1 3 0<br />
&gt;&gt;&gt; tune to:<br />
714000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE<br />
0x0000 0x0065: pmt_pid 0x0000 DigiTV -- DR1 (running)<br />
0x0000 0x0066: pmt_pid 0x0000 DigiTV -- DR2 (running)<br />
0x0000 0x0067: pmt_pid 0x0000 DigiTV -- Tegnsprogstolkning (running)<br />
0x0000 0x00d9: pmt_pid 0x0000 DigiTV -- TV 2 (Lorry) (running)<br />
Network Name 'Kbh. Vest'<br />
dumping lists (4 services)<br />
DR1:714000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:111:121:101<br />
DR2:714000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:211:221:102<br />
Tegnsprogstolkning:714000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:311:0:103<br />
TV 2<br />
(Lorry):714000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:2111:2121:217<br />
Done.</code><br />
Which tells me it&#8217;s working! The output (not the first line) must be saved in a file called <em>$HOME/.tzap/channels.conf</em> and then the signal quality can be checked using the tzap command. E.g.<br />
<code>$ tzap DR1<br />
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'<br />
tuning to 714000000 Hz<br />
video pid 0x006f, audio pid 0x0079<br />
status 01 | signal 0030 | snr 8000 | ber 00003fff | unc 00000000 |<br />
status 1f | signal 0031 | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK<br />
status 1f | signal 0031 | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK</code><br />
If you don&#8217;t get FE_HAS_LOCK you need to adjust the antenna. If you do get locked on to a signal however, you should be able to play an mpeg stream with<br />
<code>dvbstream -o -ps -qam 64 -cr 3_4 111 121 | mplayer -</code><br />
where 111 and 121 are the video and audio pid found as third and second last values on the channels line in channels.conf</p>
]]></content:encoded>
			<wfw:commentRss>http://legart.dk/2006/07/06/dvb-t-and-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

