<?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>Memory Leak &#187; MythTV</title>
	<atom:link href="http://www.foobert.com/blog/category/mythtv/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.foobert.com/blog</link>
	<description>That which fades into the ether.</description>
	<lastBuildDate>Sat, 26 Nov 2011 20:49:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>More resources on low-power computing</title>
		<link>http://www.foobert.com/blog/2008/02/17/more-resources-on-low-power-computing/</link>
		<comments>http://www.foobert.com/blog/2008/02/17/more-resources-on-low-power-computing/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 08:17:12 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Geek-Stuff]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[low power]]></category>
		<category><![CDATA[tuner card]]></category>

		<guid isPermaLink="false">http://www.foobert.com/blog/2008/02/17/more-resources-on-low-power-computing/</guid>
		<description><![CDATA[<p>The Via Epia mini-ITX boards are some of the lowest power around. Epiacenter.com has a power simulator  that&#8217;s good for comparing the differences in boards.</p>
<p>Although, I&#8217;ve noticed that the VB7001G board I&#8217;m using has inconsistent results on the calculator &#8212; 16.23 watts idle versus 13.92 in &#8220;network mode&#8221;.  Take it for what it&#8217;s worth.</p>
<p>While [...]]]></description>
			<content:encoded><![CDATA[<p>The Via Epia mini-ITX boards are some of the lowest power around. <a href="http://www.epiacenter.com/powersim/powersim_v2/epiasimulator_v2.htm" target="_blank">Epiacenter.com has a power simulator</a>  that&#8217;s good for comparing the differences in boards.</p>
<p>Although, I&#8217;ve noticed that the VB7001G board I&#8217;m using has inconsistent results on the calculator &#8212; 16.23 watts <em>idle</em> versus 13.92 in &#8220;network mode&#8221;.  Take it for what it&#8217;s worth.</p>
<p>While I&#8217;m at it &#8212; first booted the Via VB7001G this evening. The sole purpose of this is for use as my main mail/web server as well as the mythtv backend. With a good power supply and a laptop HD for the primary (non-video) storage, I hope to have a box that idles at &lt;30 watts. Then the power hog P4 system connected to the TV would only be booted as needed.</p>
<p>Using an el&#8217;cheepo power supply and an old Maxtor HDD pulled from the shelf, it&#8217;s currently idling along at 46 W.  Not a bad start. I think there&#8217;s easily enough room for improvement to achieve the goal. Silent PC Review got their <a href="http://www.silentpcreview.com/article609-page4.html" target="_blank">EN12000 board down to 17W</a> at idle &#8212; mind you, they had a 5 W head start on me using a low-power variant of the C7 CPU  (not to mention 20% slower, and ~300% more expensive).</p>
<p>Here&#8217;s a good <a href="HTS721010G9AT00" target="_blank">review of popular 2.5&#8243; notebook hard drives</a>.</p>
<p><strong>Update:</strong> With a <a href="http://www.mini-box.com/picoPSU-90" target="_blank">90W Pico Power supply</a>  + the tuner card and 1.25 TB of disk on-line (2 disks, one 250MB laptop, and one 3.5&#8243; 1.0 TB Western Digital Caviar Green Power drives), the box is <em><u>idling at a grand total of 25 watts (AC wall power)</u>!</em>  Mission Accomplished.</p>
<p>There&#8217;s still some room to tweak that down a bit. The 1TB drive does not need to be spun-up full time. That should drop the idle power down a few extra watts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foobert.com/blog/2008/02/17/more-resources-on-low-power-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thinking &#8230;</title>
		<link>http://www.foobert.com/blog/2008/01/30/thinking/</link>
		<comments>http://www.foobert.com/blog/2008/01/30/thinking/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 02:31:48 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Geek-Stuff]]></category>
		<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://www.foobert.com/blog/2008/01/30/thinking/</guid>
		<description><![CDATA[<p>If I get the bug to build a new MythBox.  The Asus M2A-VM motherboard coupled with the 45 Watt AMD Athlon X2 BE2350 would make a nice low-power combo. This report shows total system power of 59 W idle, and 87 W max.  Not shabby considering the 2.8Ghz P4 system serving this very web [...]]]></description>
			<content:encoded><![CDATA[<p>If I get the bug to build a new MythBox.  The <a href="http://www.digit-life.com/articles2/mainboard/asus-m2a-vm-690g.html" target="_blank">Asus M2A-VM motherboard</a> coupled with the <a href="http://techreport.com/articles.x/12616/15" target="_blank">45 Watt AMD Athlon X2 BE2350</a> would make a nice low-power combo. This <a href="http://techreport.com/articles.x/12616/13" target="_blank">report</a> shows total system power of 59 W idle, and 87 W max.  Not shabby considering the 2.8Ghz P4 system serving this very web page is cooking at 100W idle and 160 W when it&#8217;s cranking.</p>
<p>At 40 watts difference, 24&#215;7 totals to 28.8KWH a month &#8212; cutting at most $6.33 from my power bill (assuming it&#8217;s all coming off the $0.22/KWH rate tier &#8212; which I rarely hit).</p>
<p>Tough to justify the $75 mobo, + $85 cpu + $70 memory.</p>
<p><strong>Update: </strong><a href="http://www.silentpcreview.com/article778-page4.html">Silent PC review got 35W</a> from their test system at idle using a notebook HD. That&#8217;s starting to look encouraging&#8230;</p>
<p><strong>Update 2:</strong> Argh &#8212; mobo has an ATI graphics chip.  <a href="http://www.mythtv.org/wiki/index.php/AtiProprietaryDriver#Introduction" target="_blank">Most likely will not run mythtv</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foobert.com/blog/2008/01/30/thinking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MythTV unresponsive/lags with remote</title>
		<link>http://www.foobert.com/blog/2008/01/24/mythtv-unresponsivelags-with-remote/</link>
		<comments>http://www.foobert.com/blog/2008/01/24/mythtv-unresponsivelags-with-remote/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 00:13:03 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Geek-Stuff]]></category>
		<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://www.foobert.com/blog/2008/01/24/mythtv-unresponsivelags-with-remote/</guid>
		<description><![CDATA[<p>Currently chasing this nagging issue: MythTV responds almost instantly when using the keyboard, but it lags (at best) when pressing a button on the remote. And it&#8217;s more than a lag, it actually seams to queue several button presses and then respond to each command all at once. Incidentally, this was never a problem prior to [...]]]></description>
			<content:encoded><![CDATA[<p>Currently chasing this nagging issue: MythTV responds almost instantly when using the keyboard, but it lags (at best) when pressing a button on the remote. And it&#8217;s more than a lag, it actually seams to queue several button presses and then respond to each command all at once. Incidentally, this was never a problem prior to installing the <a href="http://www.foobert.com/blog/2008/01/15/pchdtv-5500-tuner-card-setup/">PCHDTV 5500</a> capture card.</p>
<p>Running &#8216;irw&#8217; before starting mythfrontend reveals that the raw output from lirc discretely captures each and every button press without any visible lag. However, after starting X, the remote becomes unresponsice. No solution (yet). Just links with some clues:</p>
<p><a href="http://readlist.com/lists/mythtv.org/mythtv-users/14/73735.html" target="_blank">mythfrontend does no react on every remote/lirc &#8216;click&#8217;</a></p>
<p>MythTV mailing list thread: <a href="http://www.gossamer-threads.com/lists/mythtv/users/290290?search_string=remote%2%200lag;#290" target="_blank">Where does the remote lag come from</a>?<br />
<a href="http://forums.whirlpool.net.au/forum-replies.cfm?t=566843&amp;p=3" target="_blank"></a></p>
<p>Most likely not the problem &#8212; since irw shows lirc working fine, but interesting none-the-less: <a href="http://forums.whirlpool.net.au/forum-replies.cfm?t=566843&amp;p=3" target="_blank">Winfast DTV1000 Remote  DVB Tuner Card</a> &#8212; (towards the bottom &#8212; adjust kernel interrupt rate &#8216;HZ&#8217; to 1000Hz).</p>
<p>And here&#8217;s an interesting <a href="https://bugs.launchpad.net/linux/+bug/67399">one</a> &#8212; indeed, ir_common is getting loaded by cx88xx (pchdtv5500 card).</p>
<p><strong>Update: </strong>Christoph (lirc developer) indicates:</p>
<blockquote><p>Debugging will be required for the capture card driver. Someone is<br />
disabling interrupts too long. You should remove the driver for the<br />
capture card to isolate the one that causes the problem.
</p></blockquote>
<p><strong>Final Solution Update:</strong> (prompted by Jack&#8217;s comment)</p>
<p>Believe it or not, it turns out the problem was infrared noise/interference generated by my plasma TV.  The reason it worked using irw was because the screen was black and not generating much IR.  Coincidentally, I added the tuner card at about the same time I  got the plasma TV &#8212; so, my capture card cause-effect assumption was all wrong!</p>
<p>The solution was to wrap the IR receiver with several layers of cellophane, which acts as a filter for the near-visible spectrum IR.  Google the following words for other references:</p>
<blockquote><p>plasma IR remote interference filter</p></blockquote>
<p><a href="http://www.engadget.com/2006/09/26/tivo-series3-plasma-tv-big-problems/">This</a> article recommends 6-8 layers of &#8220;Glad Press-n-seal&#8221; for the filter.</p>
<p>I didn&#8217;t believe this could be the problem till I threw a blanket over the TV and worked the remote while peaking behind the blanket &#8212; it worked perfectly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foobert.com/blog/2008/01/24/mythtv-unresponsivelags-with-remote/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>pchdtv 5500 tuner card setup</title>
		<link>http://www.foobert.com/blog/2008/01/15/pchdtv-5500-tuner-card-setup/</link>
		<comments>http://www.foobert.com/blog/2008/01/15/pchdtv-5500-tuner-card-setup/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 18:15:19 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Geek-Stuff]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[tuner card]]></category>

		<guid isPermaLink="false">http://www.foobert.com/blog/2008/01/15/pchdtv-5500-tuner-card-setup/</guid>
		<description><![CDATA[<p>The pcHDTV 5500 tv tuner capture card allows Linux users the ability to record television broadcasts using an antenna or from cable. Using MythTV the setup is fairly straight forward, at least, it should have been&#8230;</p>
<p>Once it is installed, the first thing is to get the listing service setup. Seams simple enough with not-for-profit Schedules Direct [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://pchdtv.com" target="_blank">pcHDTV 5500</a> tv tuner capture card allows Linux users the ability to record television broadcasts using an antenna or from cable. Using MythTV the setup is fairly straight forward, at least, it should have been&#8230;</p>
<p>Once it is installed, the first thing is to get the listing service setup. Seams simple enough with not-for-profit <a href="http://www.schedulesdirect.org/" target="_blank">Schedules Direct</a> service (now that the zap2it freebie is gone). Signed up for an account and gave the info to myth. Upon trying to run &#8216;mythfilldatabase&#8217;, all I got were a bunch of &#8220;500 server error&#8221; responses from  the Schedules Direct server. This less than helpful message was the result of not providing a &#8220;lineup&#8221;, which identifies exactly what listings you want it to deliver. For instance, I want all of the local broadcasts that I can pick up with an antenna in San Jose. Once that was resolved the capture card was able to complete a station scan and it was up and running.</p>
<p>However, the remote was now dead. <a href="http://www.lirc.org/" target="_blank">LIRC</a> had been previously setup and working fine using a home brew serial port infrared receiver on COM1. Debugging with &#8216;irw&#8217; showed that all appeared correct &#8212; LIRC was happily accepting devices and running fine. But, firing up &#8216;irw&#8217; gave no output when mashing buttons on the remote.</p>
<p>After much hair pulling, I finally yanked the 5500 tuner card out and, wouldn&#8217;t you know: LIRC worked just as it always had. As I suspected, the tuner card was conflicting with COM1. To prove my suspicion, I put the tuner card into a different PCI slot an everything worked perfectly.<br />
I&#8217;m no expert on IRQ conflicts, but I think that just might be what it was.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foobert.com/blog/2008/01/15/pchdtv-5500-tuner-card-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LIRC Serial</title>
		<link>http://www.foobert.com/blog/2006/11/27/lirc-serial/</link>
		<comments>http://www.foobert.com/blog/2006/11/27/lirc-serial/#comments</comments>
		<pubDate>Mon, 27 Nov 2006 09:59:23 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Geek-Stuff]]></category>
		<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://www.foobert.com/blog/2006/11/27/lirc-serial/</guid>
		<description><![CDATA[<p>It seams that everytime I install a new version of Fedora, I always have to fidget with LIRC to get the remote to work again.  At one point I was making a symbolic link from /dev/lirc -&#62; /dev/lircd (if I recall correctly) or some other sillyness in modprobe.conf to fix symptoms similar*[1] to this from [...]]]></description>
			<content:encoded><![CDATA[<p>It seams that everytime I install a new version of Fedora, I always have to fidget with LIRC to get the remote to work again.  At one point I was making a symbolic link from /dev/lirc -&gt; /dev/lircd (if I recall correctly) or some other sillyness in modprobe.conf to fix symptoms similar*[1] to this from /var/log/messages:</p>
<blockquote><p>lircd-0.8.1-CVS[3637]: accepted new client on /dev/lircd<br />
lircd-0.8.1-CVS[3637]: could not get file information for /dev/lirc0<br />
lircd-0.8.1-CVS[3637]: default_init(): No such file or directory<br />
lircd-0.8.1-CVS[3637]: caught signal</p></blockquote>
<p>*[1] I say &#8220;similar&#8221; because this was the message resulting from not loading the kernel modules &#8212; &#8220;modprobe lirc_serial&#8221;. But, as I recall, it gives similar symptoms when /dev/lirc* isn&#8217;t happy.<br />
So, once and for all, I&#8217;m going to document what works for me. I&#8217;m using a <a href="http://www.lirc.org/receivers.html" target="_blank">homebrew infared receiver</a> connected to COM1 serial port. This setup has worked perfectly with FC3 and FC6 (skipped 4 and 5).<br />
Relevant section of /etc/modprobe.conf. Note that the final line &#8216;install lirc &#8230;&#8217; is wrapped (one line only)</p>
<blockquote><p># Lirc stuff<br />
alias char-major-61 lirc_serial<br />
options lirc_serial irq=4 io=0x3f8<br />
install lirc_serial /bin/setserial /dev/ttyS0 uart none; /sbin/modprobe &#8211;ignore-install lirc_serial</p></blockquote>
<p>Here&#8217;s the real fix for all the /dev/lirc* unhappiness I&#8217;d get after starting lirc, only to watch it die as soon as something tried to use it (like irw). Add the following option to /etc/sysconfig/lircd :</p>
<blockquote><p># Options to lircd<br />
LIRCD_OPTIONS=&#8221;-d /dev/lirc0&#8243;</p></blockquote>
<p>Since I&#8217;m using LIRC to control MythTV, here&#8217;s the /etc/lircd.conf for a Yamaha RAV352 Remote control (standard remote that shipped with RX-V2500 receiver) with the default &#8220;DVR/VCR2&#8243; remote function active. This will probably work for many other Yamaha remotes:</p>
<blockquote><p>begin remote</p>
<p>name  yamaha_rav352_drv<br />
bits           21<br />
flags RC6|CONST_LENGTH<br />
eps            30<br />
aeps          100</p>
<p>header       2718   842<br />
one           481   406<br />
zero          481   406<br />
gap          108872<br />
toggle_bit      0</p>
<p>rc6_mask    0&#215;10000</p>
<p>begin codes<br />
POWER                    0x0ECFF3<br />
POWER                    0x0FCFF3<br />
REW                      0x0ECFD6<br />
REW                      0x0FCFD6<br />
FFWD                     0x0ECFD7<br />
FFWD                     0x0FCFD7<br />
PREV_CHAPTER             0x0ECFDE<br />
PREV_CHAPTER             0x0FCFDE<br />
NEXT_CHAPTER             0x0ECFDF<br />
NEXT_CHAPTER             0x0FCFDF<br />
REC                      0x0ECFC8<br />
REC                      0x0FCFC8<br />
STOP                     0x0ECFCE<br />
STOP                     0x0FCFCE<br />
PAUSE                    0x0ECFCF<br />
PAUSE                    0x0FCFCF<br />
PLAY                     0x0ECFD3<br />
PLAY                     0x0FCFD3<br />
CURSOR-UP                0x0ECFA7<br />
CURSOR-UP                0x0FCFA7<br />
CURSOR-DOWN              0x0ECFA6<br />
CURSOR-DOWN              0x0FCFA6<br />
CURSOR-LEFT              0x0ECFA5<br />
CURSOR-LEFT              0x0FCFA5<br />
CURSOR-RIGHT             0x0ECFA4<br />
CURSOR-RIGHT             0x0FCFA4<br />
ENTER                    0x0ECFA3<br />
ENTER                    0x0FCFA3<br />
TITLE                    0x0ECF37<br />
TITLE                    0x0FCF37<br />
MENU                     0x0ECFAB<br />
MENU                     0x0FCFAB<br />
RETURN                   0x0ECF7C<br />
RETURN                   0x0FCF7C<br />
DISPLAY                  0x0ECFF0<br />
DISPLAY                  0x0FCFF0<br />
AUDIO                    0x0FCFB1<br />
AUDIO                    0x0ECFB1<br />
1                        0x0ECFFE<br />
1                        0x0FCFFE<br />
2                        0x0ECFFD<br />
2                        0x0FCFFD<br />
3                        0x0ECFFC<br />
3                        0x0FCFFC<br />
4                        0x0ECFFB<br />
4                        0x0FCFFB<br />
5                        0x0ECFFA<br />
5                        0x0FCFFA<br />
6                        0x0ECFF9<br />
6                        0x0FCFF9<br />
7                        0x0ECFF8<br />
7                        0x0FCFF8<br />
8                        0x0ECFF7<br />
8                        0x0FCFF7<br />
9                        0x0ECFF6<br />
9                        0x0FCFF6<br />
0                        0x0ECFFF<br />
0                        0x0FCFFF<br />
end codes</p>
<p>end remote</p></blockquote>
<p>Note that every button has 2 codes so the device can recognize a single button push from an extended button push. If you find that you have to push the remote button twice to get it to function, you are missing the second encoding set. And that&#8217;s it for configuration. Once it&#8217;s configured, just:</p>
<blockquote><p># modprobe lirc_serial</p>
<p># service lircd start</p>
<p># /usr/bin/irw</p></blockquote>
<p>If irw runs, grab the remote and mash some buttons and it should print out messages.  If irw dies immediately, there&#8217;s some other problem, and it&#8217;s time to investigate /var/log/messages to find out why.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foobert.com/blog/2006/11/27/lirc-serial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blue border around mplayer videos</title>
		<link>http://www.foobert.com/blog/2006/09/02/blue-border-around-mplayer-videos/</link>
		<comments>http://www.foobert.com/blog/2006/09/02/blue-border-around-mplayer-videos/#comments</comments>
		<pubDate>Sat, 02 Sep 2006 09:59:04 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://www.foobert.com/blog/2006/09/02/blue-border-around-mplayer-videos/</guid>
		<description><![CDATA[<p>I&#8217;ve been using MythTV for quite some time now as simple way to integrate music and video playback from a home theater PC.  It&#8217;s a fine package that interfaces with a single remote to operate the entire entertainment center.</p>
<p>But, like most things linux based, it seams that there&#8217;s always some tweak needed to make things [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.mythtv.org/">MythTV</a> for quite some time now as simple way to integrate music and video playback from a home theater PC.  It&#8217;s a fine package that interfaces with a single remote to operate the entire entertainment center.</p>
<p>But, like most things linux based, it seams that there&#8217;s always some tweak needed to make things ideal. The astute reader may have noticed this post has already been given it&#8217;s own category &#8212; yes, expect more to come about MythTV.  The first post for Myth is hardly worth mentioning, but since I just now had to go find the answer to this <em>again</em>, well, that&#8217;s grounds for posting here!! So, without further ado:</p>
<p>For whatever reason, mplayer always puts a blue border (line) around the upper and left edge of the video during playback. This annoyance can be  simply removed by placing:</p>
<blockquote><p>xvattr -a XV_COLORKEY -v 0</p></blockquote>
<p>into the .kde/Autostart/myth-load.sh script that was borrowed from Jarod Wilson&#8217;s fantastic <a href="http://www.wilsonet.com/mythtv/">MythTV Setup</a> guide.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foobert.com/blog/2006/09/02/blue-border-around-mplayer-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

