<?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"
	>

<channel>
	<title>Fourth Law</title>
	<atom:link href="http://www.fourthlaw.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fourthlaw.com</link>
	<description>serious wastes of time</description>
	<pubDate>Wed, 20 Aug 2008 15:03:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>MythTV Frontend Article Published on Linux.com</title>
		<link>http://www.fourthlaw.com/2008/08/20/mythtv-frontend-article-published-on-linuxcom/</link>
		<comments>http://www.fourthlaw.com/2008/08/20/mythtv-frontend-article-published-on-linuxcom/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 15:03:58 +0000</pubDate>
		<dc:creator>Tanstaafl</dc:creator>
		
		<category><![CDATA[Home Media]]></category>

		<category><![CDATA[Writing]]></category>

		<category><![CDATA[freelance]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[linux.com]]></category>

		<category><![CDATA[MythTv]]></category>

		<guid isPermaLink="false">http://www.fourthlaw.com/?p=159</guid>
		<description><![CDATA[
Here is a link to my article on Linux.com.  It is my first effort, and while it turned out pretty well, I think I&#8217;ll do some things different next time.  And there will be a next time.  
http://www.linux.com/feature/144179
Give it a read and let me know what  you think!
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=linux.jpg" title="linux"><img src="http://www.fourthlaw.com/wp-content/photos/linux.jpg" class="centered" alt="linux" width="450" height="230" /></a></p>
<p style="text-align: left;">Here is a link to my article on Linux.com.  It is my first effort, and while it turned out pretty well, I think I&#8217;ll do some things different next time.  And there will be a next time. <img src='http://www.fourthlaw.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a title="Linux.com" href="http://www.linux.com/feature/144179" target="_blank">http://www.linux.com/feature/144179</a></p>
<p style="text-align: left;">Give it a read and let me know what  you think!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fourthlaw.com/2008/08/20/mythtv-frontend-article-published-on-linuxcom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Keep the Joint Running Podcast</title>
		<link>http://www.fourthlaw.com/2008/07/31/keep-the-joint-running-podcast/</link>
		<comments>http://www.fourthlaw.com/2008/07/31/keep-the-joint-running-podcast/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 13:40:44 +0000</pubDate>
		<dc:creator>Tanstaafl</dc:creator>
		
		<category><![CDATA[Audio]]></category>

		<category><![CDATA[bob lewis]]></category>

		<category><![CDATA[is survivor]]></category>

		<category><![CDATA[issurvivor.com]]></category>

		<category><![CDATA[it]]></category>

		<category><![CDATA[managment]]></category>

		<category><![CDATA[podcast]]></category>

		<guid isPermaLink="false">http://www.fourthlaw.com/?p=150</guid>
		<description><![CDATA[
Allow me to take a break from our regularly scheduled blogging to present the &#8220;Keep the Joint Running Podcast&#8221; from Bob Lewis of IS Survivor Publishing with yours truly.
It is available by searching the iTunes store or directly via RSS with this link:
http://www.avmypodcast.com/file/KJR/273.xml
We&#8217;ve been working on this cast now for several months, and&#8211;quite frankly&#8211;I&#8217;m pleased [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=kjr.jpg" title="kjr"><img src="http://www.fourthlaw.com/wp-content/photos/kjr.jpg" class="centered" alt="kjr" width="236" height="230" /></a></p>
<p style="text-align: left;">Allow me to take a break from our regularly scheduled blogging to present the &#8220;Keep the Joint Running Podcast&#8221; from Bob Lewis of <a title="ISSurvivor.com" href="http://www.issurvivor.com" target="_blank">IS Survivor Publishing</a> with yours truly.</p>
<p style="text-align: left;">It is available by searching the iTunes store or directly via RSS with this link:</p>
<p style="text-align: center;"><a title="Keep the Joint Running Podcast" href="http://www.avmypodcast.com/file/KJR/273.xml" target="_blank">http://www.avmypodcast.com/file/KJR/273.xml</a></p>
<p style="text-align: left;">We&#8217;ve been working on this cast now for several months, and&#8211;quite frankly&#8211;I&#8217;m pleased with the results.  It appears weekly and basically covers the same text as Bob&#8217;s weekly column of the same name.  So tell all of your friends.  They simply cannot survive a moment longer without listening to this podcast! <img src='http://www.fourthlaw.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: left;">Seriously, give it a shot&#8211;the subjects are concise, topical, and helpful.  If you are in Information Technology at all, I think you&#8217;ll enjoy the podcast.</p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.fourthlaw.com/2008/07/31/keep-the-joint-running-podcast/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Smart Home Media Project - Xebian</title>
		<link>http://www.fourthlaw.com/2008/07/28/smart-home-media-project-xebian/</link>
		<comments>http://www.fourthlaw.com/2008/07/28/smart-home-media-project-xebian/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 16:04:41 +0000</pubDate>
		<dc:creator>Tanstaafl</dc:creator>
		
		<category><![CDATA[Home Media]]></category>

		<category><![CDATA[frontend]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[media center]]></category>

		<category><![CDATA[MythTv]]></category>

		<category><![CDATA[xbmc]]></category>

		<category><![CDATA[XBox]]></category>

		<category><![CDATA[Xebian]]></category>

		<guid isPermaLink="false">http://www.fourthlaw.com/?p=141</guid>
		<description><![CDATA[
It&#8217;s been a little too long since my last post&#8211;apologies.  Here&#8217;s what I&#8217;ve found out since:

The pre-built Xebian/Myth distro seems to have trouble finding my backend server.  Which is strange, as they are both on the same 100MB network segment.  It complains about no UPnP sources.
Apparently no one can watch live TV on the XBMCMythTV [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=xebian.jpg" title="xebian"><img src="http://www.fourthlaw.com/wp-content/photos/xebian.jpg" class="centered" alt="xebian" width="448" height="336" /></a></p>
<p>It&#8217;s been a little too long since my last post&#8211;apologies.  Here&#8217;s what I&#8217;ve found out since:</p>
<ol>
<li>The pre-built Xebian/Myth distro seems to have trouble finding my backend server.  Which is strange, as they are both on the same 100MB network segment.  It complains about no UPnP sources.</li>
<li>Apparently no one can watch live TV on the XBMCMythTV script&#8230;I am giving up.  This will apparently be folded into the next major release of XBMC&#8211;the script developers are working directly with the XBMC team.</li>
<li>The 1.3 release of PFSense will include support for OpenDNS via their DNS-O-Matic site.  This has nothing to do with XBMC&#8230;just thought it was cool.  All firewalls should be doing this!</li>
</ol>
<p>My PFSense firewall might be dropping all the UPnP packets from the network segment&#8211;they are sorta like broadcast datagrams, so it would make sense that they would hit the segment gateway interface.  I found a switch to turn UPnP support on&#8230;we&#8217;ll see if that works.  And then I can see if Xebian will suffice for me.</p>
<p>If not, I will set the Xbox back to booting to XBMC and setup the shortcuts for the the MythTV script.  It works pretty well for watching recorded shows.  Actually, <em>really</em> well.  And&#8230;I guess just wait for the next version of XBMC to come out.  My biggest fear is that the XBMC project will die out as time goes on and that these features will never be successfully implemented.</p>
<p>If it seems like I neglected to cover the install of Xebian, well, mainly it&#8217;s so simple it doesn&#8217;t really warrant the space.  Download it, uncompress it, and ftp it up to the Xbox&#8217;s E: drive.  After I did that, I just switched back to the EvolutionX dashboard (by renaming the files via FTP).  Now, I can just use the EvoX dash to browse to the Xebian launcher.  Works fine for testing purposes.  If I get it all working and like it, I&#8217;ll swap out the EvoX loader with the one from Xebian permanently.</p>
<p>I think I need to build an actual HTPC next, but I&#8217;m torn.  Should I upgrade the backend server (mem, hdd, and additional tuners) first?  I&#8217;m leaning toward the HTPC even in spite of the expense.  Since hooking up more tuners would require the relocation of the cable box in the bedroom, I&#8217;ll need the HTPC to already <em>be</em> there.</p>
<p>In my research I&#8217;ve discovered that VMWare does not have an accelerated video driver for a Windows host OS.  So, I can&#8217;t install Vista on the HTPC and use the Mythbuntu frontend in a VM.  Even the peppiest boxes can&#8217;t seem to get the framerate high enough for streaming video.  (I&#8217;ll probably give it a shot, anyway, just to make sure.)</p>
<p>In other words, I&#8217;ll be dual booting the machine unless Wine gets much easier to configure in the near future.  Part of my goal is to be able to play old(ish) adventure games on this machine.  All of the Tex Murphys, Mysts, Journeyman Projects, GUI Zorks, etc.  This may be more effort than I want to expend on Wine.</p>
<p>Also, this HTPC machine will sorta serve as a testbed for our homeschooling PCs.  We are (probably) switching to a DVD-based curriculum to make things go smoother now that the baby is a factor.</p>
<p>See you, Space Cowboy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fourthlaw.com/2008/07/28/smart-home-media-project-xebian/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MySQL Authentication Woes - MythTVDB and XBMC</title>
		<link>http://www.fourthlaw.com/2008/07/14/mysql-authentication-woes-mythtvdb-and-xbmc/</link>
		<comments>http://www.fourthlaw.com/2008/07/14/mysql-authentication-woes-mythtvdb-and-xbmc/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 16:12:05 +0000</pubDate>
		<dc:creator>Tanstaafl</dc:creator>
		
		<category><![CDATA[Home Media]]></category>

		<category><![CDATA[Authentication]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Mythbuntu]]></category>

		<category><![CDATA[MythTv]]></category>

		<category><![CDATA[SA]]></category>

		<category><![CDATA[Samba]]></category>

		<category><![CDATA[SMB]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.fourthlaw.com/?p=139</guid>
		<description><![CDATA[
Well, this little issue hit me with a brief feeling of deja-vu.  It is the exact same trouble that I faced trying to get Nessus security scanner frontend to write data to a MySQL database.  I don&#8217;t know when exactly it changed, but new versions of MySQL writes passwords in a hashed table (and perhaps [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=logo_mysql_sun.gif" title="logo mysql sun"><img src="http://www.fourthlaw.com/wp-content/photos/logo_mysql_sun.gif" class="centered" alt="logo mysql sun" width="205" height="68" /></a></p>
<p>Well, this little issue hit me with a brief feeling of deja-vu.  It is the exact same trouble that I faced trying to get Nessus security scanner frontend to write data to a MySQL database.  I don&#8217;t know when exactly it changed, but new versions of MySQL writes passwords in a hashed table (and perhaps a new location, too) so that older apps trying to connect simply cannot read (or find) the password to authenticate the transaction.  In other words, the biggest issue I was having with the XBMCMythTV script was this authentication issue.</p>
<p>And that was only <em>after</em> finding the sneaky place that Mythbuntu recorded the actual password in the first place!  The setup never asked me to assign one&#8211;it just popped a random password on the MySQL mythtv account.</p>
<p>Yeah&#8230;just open up etc/mythtv/mysql.txt and there it is&#8230;<em>obviously</em>.</p>
<p>Anyway, once I had the actual password (<em>psst&#8211;it wasn&#8217;t &#8220;mythtv&#8221; like all the docs said</em>) I thought I was good to go.  No wonder the XBMCMythTV script couldn&#8217;t connect, right?</p>
<p>WRONG!</p>
<p>Even with the proper password, the connection test would still time out.  That was when I remembered this little gem.  I had to setup the account &#8220;mythtv&#8221; to use the old password style inside MySQL.  So, I opened up a terminal on the backend server and did this:</p>
<p><code>$ mysql -u root -p<br />
mysql&gt; UPDATE mysql.user SET password=OLD_PASSWORD('XXXXXXXXXX') WHERE user='mythtv'<br />
mysql&gt; flush privileges;<br />
mysql&gt; quit</code></p>
<p>Naturally, I replaced the XXXXXXXXXX business with the real password.  Gee, suddenly XBMC could connect.  Amazing.  Now about those Samba shares&#8230;</p>
<p>Since I had added that other hard drive, I remapped all the file locations.  No big deal, I just added them as shares in the Network GUI of Mythbuntu.  Doing so was far easier than I thought it would be.  Simply a matter of matching up the where the files were shared and where XMBCMythTV <em>thought</em> they would be.</p>
<p>After all of this was completed, I could watch recorded shows on the Xbox.  However, it is pretty slow&#8230;and feels&#8230;well&#8230;confining.  The picture quality is great&#8211;probably due to the PVR-350.  It&#8217;s just that the MythTV part of the interface is really clunky.  I know that the next version of XBMC supposedly is bringing all of the MythTV script functionality into the package officially, but I&#8217;m not sure I&#8217;m ready to wait for it.</p>
<p>As it stands, I&#8217;m not sure that this can pass muster with my wife.</p>
<p>I still cannot watch Live TV on the Xbox.  This is a huge issue and falls way short of full DVR functionality&#8211;pausing, skipping, and rewinding live television.  I&#8217;ll jump into troubleshooting this ASAP.  Being gone for a week at Family Camp slowed my progress a bit on this project.</p>
<p>Another minor issue is the lack of volume controls on the Xbox DVD remote.  I already knew about this one&#8211;and it&#8217;s nothing that a good learning universal remote won&#8217;t fix.</p>
<p>I would really hate to scrap all of the Xbox work and move onto install Xebian on the hardware with a full-blown MythTV frontend.  For one thing, I am given to understand that it is a touch slow.  For another, I don&#8217;t want to accept defeat. <img src='http://www.fourthlaw.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>We&#8217;ll see how it turns out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fourthlaw.com/2008/07/14/mysql-authentication-woes-mythtvdb-and-xbmc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Smart Home Media Project - Phase II - Hack That Xbox</title>
		<link>http://www.fourthlaw.com/2008/07/02/smart-home-media-project-phase-ii-hack-that-xbox/</link>
		<comments>http://www.fourthlaw.com/2008/07/02/smart-home-media-project-phase-ii-hack-that-xbox/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 21:19:01 +0000</pubDate>
		<dc:creator>Tanstaafl</dc:creator>
		
		<category><![CDATA[Home Media]]></category>

		<category><![CDATA[action replay]]></category>

		<category><![CDATA[evox]]></category>

		<category><![CDATA[frontend]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[media center]]></category>

		<category><![CDATA[myth]]></category>

		<category><![CDATA[MythTv]]></category>

		<category><![CDATA[usb]]></category>

		<category><![CDATA[xbmc]]></category>

		<category><![CDATA[XBox]]></category>

		<category><![CDATA[xbox media center]]></category>

		<guid isPermaLink="false">http://www.fourthlaw.com/?p=138</guid>
		<description><![CDATA[Yes, I will now be referring to these efforts as the Joseph Baxter&#8217;s Smart Home Media Project &#8482;.  There&#8217;s no way I&#8217;ll be able to resist coming up with some sort of logo for that, I&#8217;m sure.  

So, now to the part that, quite frankly, spooked me a little.  Yeah, the Myth stuff was [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I will now be referring to these efforts as the Joseph Baxter&#8217;s Smart Home Media Project &#8482;.  There&#8217;s no way I&#8217;ll be able to resist coming up with some sort of logo for that, I&#8217;m sure. <img src='http://www.fourthlaw.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=xbmc.png" title="xbmc"><img src="http://www.fourthlaw.com/wp-content/photos/xbmc.png" class="centered" alt="xbmc" width="256" height="171" /></a></p>
<p>So, now to the part that, quite frankly, spooked me a little.  Yeah, the Myth stuff was fairly hard, and my Linux knowledge is somewhat lacking, but it was just computer stuff.  Nothing really too far outside of my comfort level.  But <em>this</em> - hacking an xbox?  That&#8217;s something only DJ Micro can do!</p>
<p>Well&#8230;it turned out to be far easier than I thought.</p>
<p>The hardest part is actually getting all of the ingredients together.  The hack itself only took 10 or 12 minutes.  So, here&#8217;s the list to follow my (borrowed) method.</p>
<p>Hardware:</p>
<ul>
<li>Original Xbox</li>
<li>M/F USB Extension Cable (that you don&#8217;t want anymore)</li>
<li>Xbox controller dongle (that you don&#8217;t want anymore)</li>
<li>Xbox DVD Remote Kit ($6.00 used on ebay)</li>
<li>Any USB memory key / thumbdrive (preferably 512MB or more)</li>
</ul>
<p>Software</p>
<ul>
<li>Original (not a copy) Splinter Cell Game</li>
<li>Action Replay Software</li>
<li><a title="7zip" href="http://www.7-zip.org/download.html" target="_blank">7Zip Compression Software (freeware)</a></li>
<li><a title="Filezilla" href="http://filezilla-project.org/download.php" target="_blank">Filezilla FTP Client (freeware)</a></li>
<li><a title="USBView" href="http://www.redcl0ud.com/files/USBView.cab" target="_blank">USBView (freeware)</a></li>
<li><a title="mIRC" href="http://www.mirc.com/get.html" target="_blank">mIRC Chat Client (shareware)</a></li>
<li>Softmod Installer (Splintercell Exploit)</li>
<li>XBMC from T3CH</li>
</ul>
<h3>Step One</h3>
<p>The first thing I did was get a cat5 cable behind the TV cabinent.  This may seem like an obvious step to someone who uses an Xbox or 360 to play games on Xbox Live - but I don&#8217;t.  Nor do I care to do so, that&#8217;s why I&#8217;m hacking it.  <em></em></p>
<p style="padding-left: 30px;"><em>Please Note:  If you hack your Xbox you will probably be banned from Xbox Live!</em></p>
<p>The next step was to solder up a USB-to-Xbox adapter.  Since I rec&#8217;d 4 wired controllers with the used Xbox, I sacrificed one of the off-brand ones to this step.  I cut the cable a few inches beyond the actual Xbox connector.  I also took a USB extention cable and cut off the female end.  <a title="XBox Controller on PC" href="http://www.fury-tech.com/en/Guides/Xbox-Controller-PC-Conversion-Mod" target="_blank">This is essentially the walk thru posted here</a>&#8211;but with a different goal.  (The writer of that article wanted to play PC games with an Xbox controller.)</p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=xbox_01_wires.jpg" title="xbox 01 wires"><img src="http://www.fourthlaw.com/wp-content/photos/xbox_01_wires.jpg" class="centered" alt="xbox 01 wires" width="400" height="300" /></a></p>
<p>Actually, I guess if you solder up the two remaining pieces, you could still use the Xbox controller&#8230;but who cares? <img src='http://www.fourthlaw.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Throw away the yellow wire and then solder up the remaining ones:  red, black, green and white.  If you don&#8217;t want to solder, just twist them together really well and tape them individually.  Ordinarily I would stagger my solder joints so that they weren&#8217;t in one big wad next to each other&#8230;but this project wasn&#8217;t worth the effort.</p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=xbox_02_wrap.JPG" title="xbox 02 wrap"><img src="http://www.fourthlaw.com/wp-content/photos/xbox_02_wrap.JPG" class="centered" alt="xbox 02 wrap" width="400" height="300" /></a></p>
<p>I individually taped each joint and wrapped as much of the foil and the mesh as possible back around it the cable.  Two or so layers of tape put some rigidity back into the product, to keep from snapping wires next to the solder joints.</p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=xbox_03_finished.JPG" title="xbox 03 finished"><img src="http://www.fourthlaw.com/wp-content/photos/xbox_03_finished.JPG" class="centered" alt="xbox 03 finished" width="400" height="300" /></a></p>
<p>Now a quick test.  Plug a different controller and the new cable into the Xbox with no disk in the drive, insert the USB key, and boot it up.  Under Memory you should be able to drill down to see the memory key in Port 2 or whatever.</p>
<h3>Step Two</h3>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=usbview.jpg" title="usbview"><img src="http://www.fourthlaw.com/wp-content/photos/usbview.jpg" class="centered" alt="usbview" width="448" height="315" /></a></p>
<p>The Action Replay software won&#8217;t just work with any old memory key&#8230;you have to configure it to see the USB key you are providing.  Plug in the USB key and load up USBView.  You need to grab a few hex numbers to put into the Action Replay configuration file.</p>
<p>Once that is done, then you have to load the Action Replay driver on your system and set your USB key to use it rather than the generic Windows driver.</p>
<p>Here is the tutorial that spells out <a title="Action Replay on USB Key" href="http://www.xbox-hq.com/html/xbox-tutorials-194.html" target="_blank">exactly how to do all of this</a>.</p>
<p>Lastly, you can start up Action Replay and work on transferring those exploit files.</p>
<h3>Step Three</h3>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=actionreplay.png" title="actionreplay"><img src="http://www.fourthlaw.com/wp-content/photos/actionreplay.png" class="centered" alt="actionreplay" width="448" height="317" /></a></p>
<p>Follow the <a title="Life Hacker" href="http://lifehacker.com/software/geek-to-live/transform-your-classic-xbox-into-a-killer-media-center-299809.php" target="_blank">guide here to complete the hack</a>.  The hard work is over.  Obviously the difference is that the author paid for an Action Replay kit and I used my mad skillz.</p>
<p>XMBC doesn&#8217;t &#8220;install&#8221; exactly, it really is just a matter of copying files over to the Xbox via FTP.  But, anyway, once that was done I started it up via the Evox menu.  It had a really well done theme that was filled with Xbox controller images&#8230;  Cool, but not what I wanted.  So I went in and configured the simple, tasteful, blue skin.  If I could have figured out how to kill that stupid scroller from the bottom of the default theme, I probably wouldn&#8217;t have bothered.  And my wife likes the blue one better anyway.</p>
<h3>Step Four</h3>
<p>I wanted to load XBMC automatically on boot.  So, I followed option one of <a title="XBMC Dashboard" href="http://xbmc.org/wiki/?title=As_a_Dashboard" target="_blank">this article to make that happen</a>.</p>
<h3>Final Thoughts</h3>
<p>This was remarkably easy to do&#8230;up to this point.  Now I&#8217;ve run into some trouble working with the MythTV Python script, so I&#8217;ll cover all of that in the next posting.  I have the feeling that I&#8217;m about to learn a lot about Samba network shares.</p>
<p>See you, Space Cowboy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fourthlaw.com/2008/07/02/smart-home-media-project-phase-ii-hack-that-xbox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MythTV - Final Wrap Up</title>
		<link>http://www.fourthlaw.com/2008/07/01/mythtv-final-wrap-up/</link>
		<comments>http://www.fourthlaw.com/2008/07/01/mythtv-final-wrap-up/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 16:23:53 +0000</pubDate>
		<dc:creator>Tanstaafl</dc:creator>
		
		<category><![CDATA[Home Media]]></category>

		<category><![CDATA[Firewall]]></category>

		<category><![CDATA[ipod]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mythbuntu]]></category>

		<category><![CDATA[MythTv]]></category>

		<category><![CDATA[PFSense]]></category>

		<category><![CDATA[player]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[ups]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.fourthlaw.com/?p=137</guid>
		<description><![CDATA[I&#8217;m very happy with MythTV up to this point.  It is no where near as fragile as I feared it might be&#8211;in fact, it seems to be quite robust.  A recent power outage knocked its pins out from under it, but by the time I checked, the machine was already back up and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m very happy with MythTV up to this point.  It is no where near as fragile as I feared it might be&#8211;in fact, it seems to be quite robust.  A recent power outage knocked its pins out from under it, but by the time I checked, the machine was already back up and running.  Part of that is the BIOS setting &#8220;Last State on Power Restore,&#8221; but if the software wasn&#8217;t up to the task no hardware setting is going to help.</p>
<p>Which reminds me, I need to get a separate UPS for all of these machines that will form the backbone of my home network.</p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=apc_ups.jpg" title="apc ups"><img src="http://www.fourthlaw.com/wp-content/photos/apc_ups.jpg" class="centered" alt="apc ups" width="350" height="356" /></a></p>
<p>I found this <a title="Buy UPS Online" href="http://www.buyupsonline.com" target="_blank">website</a> for refurbished APC units, that has great prices, but will add shipping charges.  However, for the savings on some of the larger models, those fees would be negligible.  For the 300VA model they only ask $29.00 (very reasonable).  Matter of fact, for the firewall certainly, 300 is all I would ever need.  Or I could get t<a title="EatonUPS" href="http://3btech.net/eapo5135unpo.html" target="_blank">his 350VA Eaton Power model</a> from 3btech, with free shipping&#8230;</p>
<p>I just want to cover the power &#8220;blips,&#8221; not the extremely rare two hour plus outages.</p>
<p>There are two remaining &#8220;issues&#8221; that are probably related.  The first is the channel changing speed on LiveTV, it&#8217;s a bit slow.  The second is the &#8220;Listings&#8221; on the MythWeb page from the same server&#8211;also slow to come up.  I will be adding a much faster and larger hard drive that will probably do a great deal to help this.  Also some fiddling with hdparm will probably help.  This <a title="Slow Channels" href="http://ubuntuforums.org/showthread.php?t=749148" target="_blank">link outlines the basic idea</a>.</p>
<p>Finally, I want to point to two 3rd Party applications that work with MythTV.  The first is <a title="MythTV Player" href="http://www.sudu.dk/mythtvplayer/index.php?page=home" target="_blank">MythTV Player</a>.  This is a Windows client for Myth that can play recordings and live TV.  It works like a champ.  There is no scheduling capability, but then, that&#8217;s what MythWeb is for&#8230;  I&#8217;ll add in the screen shot from the program&#8217;s homepage, because I forgot to grab one of my own. <img src='http://www.fourthlaw.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=mythtvplayer.jpg" title="mythtvplayer"><img src="http://www.fourthlaw.com/wp-content/photos/mythtvplayer.jpg" class="centered" alt="mythtvplayer" width="448" height="266" /></a></p>
<p>The last little thing I&#8217;ll throw out is <a title="Myth2iPod" href="http://www.myth2ipod.com/" target="_blank">Myth2iPod</a>.  I haven&#8217;t tested this one yet, but the idea should be pretty obvious&#8211;synch your recorded programs to your video iPod.  Even if this doesn&#8217;t work&#8211;and I don&#8217;t know why it wouldn&#8217;t&#8211;the idea is out there.  Adding an RSS feed for the videos in iTunes shouldn&#8217;t be too much work.</p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=ipod_myth.png" title="ipod myth"><img src="http://www.fourthlaw.com/wp-content/photos/ipod_myth.png" class="centered" alt="ipod myth" width="93" height="220" /></a></p>
<p>And that&#8217;s about it.  This has been a fantastic learning experience&#8211;and a highly inexpensive one.  I have four &#8220;nice to do&#8221; purchases ahead of me&#8211;none are in the &#8220;have to do&#8221; category.  And all of them together won&#8217;t even add up to $150.00.  They are:</p>
<ol>
<li>Bigger Hard Drive</li>
<li>Moderate UPS</li>
<li>512MB RAM</li>
<li>Additional Tuner Cards</li>
</ol>
<p>On to the Xbox hack!  See you, Space Cowboy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fourthlaw.com/2008/07/01/mythtv-final-wrap-up/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MythTV is UP AND RUNNING!  Changing Channels via Serial Cable</title>
		<link>http://www.fourthlaw.com/2008/06/26/mythtv-is-up-and-running-changing-channels-via-serial-cable/</link>
		<comments>http://www.fourthlaw.com/2008/06/26/mythtv-is-up-and-running-changing-channels-via-serial-cable/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 19:55:24 +0000</pubDate>
		<dc:creator>Tanstaafl</dc:creator>
		
		<category><![CDATA[Home Media]]></category>

		<category><![CDATA[Cable]]></category>

		<category><![CDATA[Digital Cable]]></category>

		<category><![CDATA[MythTv]]></category>

		<category><![CDATA[Serial]]></category>

		<category><![CDATA[ttyS0]]></category>

		<guid isPermaLink="false">http://www.fourthlaw.com/?p=136</guid>
		<description><![CDATA[
It is official - I am a MythTV user.  Well&#8230;let&#8217;s ammend that:  I am in the possession of a fully installed and functional MythTV backend server.  There were two things wrong with the Channel Changer program:

I didn&#8217;t know that the current directory is not in your path.  SO&#8211;just because you are in the same directory [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=mythtv.png" title="mythtv"><img src="http://www.fourthlaw.com/wp-content/photos/mythtv.png" class="centered" alt="mythtv" width="448" height="302" /></a></p>
<p style="text-align: left;">It is official - I am a MythTV user.  Well&#8230;let&#8217;s ammend that:  I am in the possession of a fully installed and functional MythTV backend server.  There were two things wrong with the Channel Changer program:</p>
<ol>
<li>I didn&#8217;t know that the current directory is not in your path.  SO&#8211;just because you are in the same directory as a binary file, it can still be &#8220;unfound.&#8221;  When I typed in /usr/local/bin/channel to define the path explicitly it worked&#8211;I should have tried that.  I probably would have, but I was pressed for time that day.</li>
<li>Once I could get the channel binary to work, then I faced a different issue.  By using the -p switch on the channel changer program, the individual serial ports can be specified.  Here&#8217;s what I got:
<ul>
<li>/dev/ttyS0 - Input / Output Error</li>
<li>/dev/ttyS1 - No communciation</li>
<li>/dev/ttyS2 - Input / Output Error</li>
<li>/dev/ttyS3 - Input / Output Error</li>
</ul>
</li>
</ol>
<p>Great.  What now?  I found several postings on the web talking about the dialout group&#8211;but I checked and my user account was already in that group.  I was pretty sure that the serial cable to the Motorola box was hooked up to COM1 (/dev/ttyS0) so I thought I better do some more investigation.  I found this tidbit:</p>
<p><a title="Linux Questions" href="http://http//www.linuxquestions.org/questions/linux-hardware-18/cat-devttys0-inputoutput-error-397212/" target="_blank">http://www.linuxquestions.org/questions/linux-hardware-18/cat-devttys0-inputoutput-error-397212/</a></p>
<p>Which instructed me more perfectly in the way of the SETSERIAL command.  I ran SETSERIAL -a for each port and got the following info:</p>
<p style="padding-left: 30px;"><code>/dev/ttyS0, Line 0, UART: , Port: 0x03f8, IRQ: 4<br />
Baud_base: 115200, close_delay: 500, divisor: 0<br />
closing_wait: 30000<br />
Flags: spd_normal</code></p>
<p style="padding-left: 30px;"><code>/dev/ttyS1, Line 0, UART: 16550A, Port: 0x02f8, IRQ: 3<br />
Baud_base: 115200, close_delay: 500, divisor: 0<br />
closing_wait: 30000<br />
Flags: spd_normal</code></p>
<p style="padding-left: 30px;"><code>/dev/ttyS2, Line 0, UART: , Port: 0x03e8, IRQ: 4<br />
Baud_base: 115200, close_delay: 500, divisor: 0<br />
closing_wait: 30000<br />
Flags: spd_normal</code></p>
<p style="padding-left: 30px;"><code>/dev/ttyS3, Line 0, UART: , Port: 0x03e8, IRQ: 3<br />
Baud_base: 115200, close_delay: 500, divisor: 0<br />
closing_wait: 30000<br />
Flags: spd_normal</code></p>
<p>Wow.  Do you see what I saw?  Three out of four of my serial ports aren&#8217;t detecting the UART.  I can understand COM3 and COM4 not being there&#8211;they were not setup in the computer&#8217;s BIOS, but COM1 and COM2 should be fine.</p>
<p>A quick shutdown and boot to CMOS configuration proved my memory to be correct&#8211;but obviously there was something wrong.  This motherboard only had one physical serial port (the other one can be added with via a pin header) which I assumed to be set to COM1.  So, I reset it to COM2 (2F8 / IRQ3) and disabled all the rest.</p>
<p>And presto, it works.  I added that line into MythTV and away we go.</p>
<p>Playback on the computer monitor is a bit jerky, but I don&#8217;t think that it will be a problem.  This is an underpowered machine, after all, that is only supposed to be the backend.  Dividing the workload up as planned and letting the frontend machine do the playback should fix any jerkiness in the video.</p>
<p>The tactical plan for this box is to get a 150GB or larger hard drive in this box as soon as possible.  While I&#8217;m doing that, I might as well get a 1GB stick of RAM as there&#8217;s only 256MB in it right now.  (I thought there was more.)  Ideally, if this is all working pretty well over the next month or two I&#8217;ll buy a second PVR card, split the cable, and be able to record basic cable as well as the digital.  This will essentially duplicate the TiVo we used to have&#8211;one basic line and one digital line.</p>
<p>Long-term strategy will be to add a third PVR card and move one of the other cable boxes down to the backend server, fix whatever is wrong with COM1, and be able to do 3 recordings at once (or 2 recordings and one live TV).  As long as they are MPEG hardware-based encoders, this shouldn&#8217;t tax the system too much.</p>
<p>Oh, and I&#8217;ve still got to pay SchedulesDirect my $20.00 for this year&#8230;</p>
<p>Anyway, time to move on to the Xbox MythTV Frontend.  But first, I think I have one more MythTV article in me&#8211;I found two or three really nifty applications for Myth that I wasn&#8217;t expecting.  One is a Windows player for Myth that can watch recordings and livetv (no scheduling, but that&#8217;s what MythTV has a webpage for).  The other main one is a MythTV to iPod appliation that can synch your TV shows up like video podcasts.  I&#8217;ll test them out and post the results.</p>
<p>See you, Space Cowboy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fourthlaw.com/2008/06/26/mythtv-is-up-and-running-changing-channels-via-serial-cable/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MythTV Makes Me Cry - Motorola DCT2xxx Serial Port</title>
		<link>http://www.fourthlaw.com/2008/06/25/mythtv-makes-me-cry-motorola-dct2xxx-serial-port/</link>
		<comments>http://www.fourthlaw.com/2008/06/25/mythtv-makes-me-cry-motorola-dct2xxx-serial-port/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 14:23:52 +0000</pubDate>
		<dc:creator>Tanstaafl</dc:creator>
		
		<category><![CDATA[Home Media]]></category>

		<category><![CDATA[Cable]]></category>

		<category><![CDATA[Cable Box]]></category>

		<category><![CDATA[Digital Cable]]></category>

		<category><![CDATA[Motorola]]></category>

		<category><![CDATA[Motorola DCT2xxx]]></category>

		<category><![CDATA[Mythbuntu]]></category>

		<category><![CDATA[MythTv]]></category>

		<category><![CDATA[onion]]></category>

		<category><![CDATA[Serial]]></category>

		<guid isPermaLink="false">http://www.fourthlaw.com/?p=135</guid>
		<description><![CDATA[It shouldn&#8217;t be this hard.  Unlike peeling an onion, I feel more like I&#8217;m slicing a bushel of them.  &#60;sniff&#62;  Ok, I&#8217;m better now.  I was just feeling a little fragile there for a moment&#8230;

Allow me to make with the status.
First, the Cable box is connected back up, along with a serial cable to COM1.  [...]]]></description>
			<content:encoded><![CDATA[<p>It shouldn&#8217;t be this hard.  Unlike peeling an onion, I feel more like I&#8217;m slicing a bushel of them.  &lt;sniff&gt;  Ok, I&#8217;m better now.  I was just feeling a little fragile there for a moment&#8230;</p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=onion.jpg" title="onion"><img src="http://www.fourthlaw.com/wp-content/photos/onion.jpg" class="centered" alt="onion" width="293" height="320" /></a></p>
<p>Allow me to make with the status.</p>
<p>First, the Cable box is connected back up, along with a serial cable to COM1.  Inside MythTV Backend Setup, I set the input pretune to channel 4 (which is what the cable box requires).  Going just that far, I can start the Myth frontend and watch Live TV, but I have to change the channel manually by pushing the buttons on the front of the cable box.</p>
<p>Ok.</p>
<p>So, obviously I need something to send a signal out COM1 and into the Motorola serial port that tells it to change the channel.  Doesn&#8217;t sound too hard, right?  Sure didn&#8217;t to me&#8211;however, it is seriously hard to track down information on this subject.</p>
<p>I finally found this link:</p>
<p><a title="MythWiki" href="http://http//www.mythtv.org/wiki/index.php/Motorola_DCT-25xx" target="_blank">http://www.mythtv.org/wiki/index.php/Motorola_DCT-25xx</a></p>
<p>However, it seems to be pretty old information&#8211;it certainly didn&#8217;t work flawlessly.  Matter of fact, MAKE returned tons of errors and missing files.</p>
<p>So, went back to the well and fished up this little beauty:</p>
<p><a title="Ubuntu Support" href="https://help.ubuntu.com/community/MythTV_External_Channel_Changer" target="_blank">https://help.ubuntu.com/community/MythTV_External_Channel_Changer</a></p>
<p>However, when I try to test the program, the console returns:  COMMAND NOT FOUND.  I don&#8217;t know what the deal is&#8230;  I&#8217;ll get back to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fourthlaw.com/2008/06/25/mythtv-makes-me-cry-motorola-dct2xxx-serial-port/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MythTV - Storage Groups and Linux Hard Drives</title>
		<link>http://www.fourthlaw.com/2008/06/24/mythtv-storage-groups-and-linux-hard-drives/</link>
		<comments>http://www.fourthlaw.com/2008/06/24/mythtv-storage-groups-and-linux-hard-drives/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 14:50:58 +0000</pubDate>
		<dc:creator>Tanstaafl</dc:creator>
		
		<category><![CDATA[Home Media]]></category>

		<category><![CDATA[command line]]></category>

		<category><![CDATA[hard drive]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mythbuntu]]></category>

		<category><![CDATA[MythTv]]></category>

		<category><![CDATA[storage groups]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.fourthlaw.com/?p=134</guid>
		<description><![CDATA[Last night completed the second to the last step of my Mythbuntu adventure:  Adding in the second hard drive.

Well, this would all be easier if I wasn&#8217;t trying to do it so low rent.  Right now in the Myth box there is only 512MB of RAM and two 40GB Western Digital Hard drives.  After everything [...]]]></description>
			<content:encoded><![CDATA[<p>Last night completed the second to the last step of my Mythbuntu adventure:  Adding in the second hard drive.</p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=hard_drive.jpg" title="hard drive"><img src="http://www.fourthlaw.com/wp-content/photos/hard_drive.jpg" class="centered" alt="hard drive" width="378" height="336" /></a></p>
<p style="text-align: left;">Well, this would all be easier if I wasn&#8217;t trying to do it so low rent.  Right now in the Myth box there is only 512MB of RAM and two 40GB Western Digital Hard drives.  After everything is setup that only gives me about 65-ish GB for video recording.  Not alot, but not great either&#8211;right around 40 hours of recording space.</p>
<p style="text-align: left;">So, I should get a larger hard drive&#8230;</p>
<p style="text-align: left;">Well, when I do, I&#8217;ll have to repeat this same process.  Obviously, first one has to install the hardware and make sure that the BIOS can see it.  If you don&#8217;t have this, you don&#8217;t have anything.  Now to the Linux part:</p>
<ol>
<li>Partition - Setup the drive to hold data.  The main drive is probably /dev/sda, making the OS install to be on /dev/sda1 and the swap partition to be on /dev/sda5 (at least on my box).  The second hard drive will probably be /dev/sdb, and so a third physical hard disk will be /dev/sdc, and etc.  I created one big partition on the new drive.
<ol>
<li>sudo fdisk /dev/sdb</li>
<li>n (new partition)</li>
<li>p (primary partition)</li>
<li>1 (first primary partition)</li>
<li>&lt;enter&gt; (default first cylinder)</li>
<li>&lt;enter&gt; (default last cylinder)</li>
<li>w (write the new partition table to disk)</li>
</ol>
</li>
<li>Format - Prepare the new partition for data.  Nothing big here, but one small caveat.  Since this is not a the boot drive, theres no need for reserve space.  Usually a format reserves 5% space incase the drive fills up&#8211;this helps keep from crashing on full drives.  I set the second drive to 1% reserve.
<ol>
<li>sudo mkfs -t ext3 /dev/sdb1</li>
<li>sudo tune2fs -m 1 /dev/sdb1</li>
</ol>
</li>
<li>Mounting - Add the new space to the filesystem.  Linux sees everything like one big directory tree&#8211;there are no C: and D: drives.  So, to mount this new drive I created a directory called /video on the root and some subdirectories called /video/livetv and /video/media.  And while I was doing it, I made a backup spot for my Myth database.  After the directories are made, I changed the file rights so they could be used by Myth.
<ol>
<li>sudo mkdir /video</li>
<li>sudo mkdir /video/livetv</li>
<li>sudo mkdir /video/media</li>
<li>sudo mkdir /var/dbbackup</li>
<li>chmod a+wrx /video/livetv</li>
<li>chmod a+wrx /video/media</li>
<li>chmod a+wrx /var/dbbackup</li>
</ol>
</li>
<li>FSTAB - Edit the /etc/fstab so that the drive is mounted on bootup.  I don&#8217;t know if you like Vi, but I hate it.  So, I installed GEdit to make my life easier.
<ol>
<li>sudo apt-get install gedit</li>
<li>gksudo gedit /etc/fstab</li>
<li>&lt;add a line&gt;/dev/sdb1   /video/media  ext3    defaults     0     0</li>
<li>Save and Reboot (or sudo mount -a)</li>
</ol>
</li>
<li>Test - Make sure that the new drive is seen (sudo mount -l)</li>
<li>MythTV Storage Groups.  I wanted to help utilize my space as well as possible.  Inside the MythTV Backend Setup, I set:
<ol>
<li>LiveTV to /video/livetv/</li>
<li>Default to /video/media/</li>
<li>DBBackup to /var/dbbackup/</li>
</ol>
</li>
</ol>
<p>My theory is that the Live TV buffering will all happen on the drive with the least amount of space, as well as the dbbackups.  And (hopefully) all of the actual recordings will go to the second hard drive.  We&#8217;ll see how it works out.</p>
<p>It has been running Live TV on The Weather Channel for the last sixteen hours and the capture files are all going to the right spot.  One problem is that my demo subscription to Schedules Direct has ran out&#8211;I&#8217;ll have to pay the twenty dollars before I can go on to the last step&#8211;changing channels on the cable box.</p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=moto_cable.jpg" title="moto cable"><img src="http://www.fourthlaw.com/wp-content/photos/moto_cable.jpg" class="centered" alt="moto cable" width="448" height="129" /></a></p>
<p>Bryan said he doesn&#8217;t remember if he ever got this working a few years ago.  It is probably easier to do, now, with the new releases.  After I accomplish this last step, I will post a quick recap and include some other extremely cool stuff I found that works with MythTV.  Until then.</p>
<p>See you, Space Cowboy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fourthlaw.com/2008/06/24/mythtv-storage-groups-and-linux-hard-drives/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Myth Works!  All the Weather, All the Time</title>
		<link>http://www.fourthlaw.com/2008/06/23/myth-works-all-the-weather-all-the-time/</link>
		<comments>http://www.fourthlaw.com/2008/06/23/myth-works-all-the-weather-all-the-time/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 16:21:10 +0000</pubDate>
		<dc:creator>Tanstaafl</dc:creator>
		
		<category><![CDATA[Home Media]]></category>

		<category><![CDATA[DVR]]></category>

		<category><![CDATA[myth]]></category>

		<category><![CDATA[Mythbuntu]]></category>

		<category><![CDATA[PVR-350]]></category>

		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://www.fourthlaw.com/?p=133</guid>
		<description><![CDATA[
I found it.  And was subsequently able to record over 12 Gigs of The Weather Channel!  Yippie!  (That was just the channel I left it on for testing.)
Ok, here&#8217;s how it went down:  I finally swallowed my pride and dug through the mythtv-backend.log.  Well, actually, I opened up a terminal, switched to Myth, tried to [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=weather_channel_logo.png" title="weather channel logo"><img src="http://www.fourthlaw.com/wp-content/photos/weather_channel_logo.png" class="centered" alt="weather channel logo" width="200" height="182" /></a></p>
<p style="text-align: left;">I found it.  And was subsequently able to record over 12 Gigs of The Weather Channel!  Yippie!  (That was just the channel I left it on for testing.)</p>
<p style="text-align: left;">Ok, here&#8217;s how it went down:  I finally swallowed my pride and dug through the mythtv-backend.log.  Well, actually, I opened up a terminal, switched to Myth, tried to watch Live TV, and then used &#8220;tail /var/log/mythtv/mythtv-backend.log&#8221; to see what just happened.  Much easier than &#8220;digging.&#8221;</p>
<p style="text-align: left;">Anyway, I got the following junk:</p>
<p style="text-align: left; padding-left: 30px;"><code>2008-06-20 12:52:10.501 TVRec(2): Changing from None to  WatchingLiveTV<br />
2008-06-20 12:52:10.531 TVRec(2): HW Tuner:  2-&gt;2<br />
2008-06-20 12:52:10.797 SampleRate: Attempted to add a rate 32000 Hz,  which is not in the list of allowed rates.<br />
2008-06-20 12:52:12.846  AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15  min<br />
2008-06-20 12:52:13.248 NVR(/dev/video0): Won't work with the streaming  interface, falling back<br />
strange error flushing buffer ...<br />
VIDIOCGMBUF::  Invalid argument<br />
2008-06-20 12:52:53.280 TVRec(2): Changing from  WatchingLiveTV to None<br />
2008-06-20 12:52:53.310 Finished recording WGN News at  Noon: channel 1004<br />
2008-06-20 12:54:09.771 Expiring 0 MBytes for 1004 @ Fri  Jun 20 12:00:00 2008 =&gt; WGN News at Noon</code></p>
<p style="text-align: left;">The sample rate thing didn&#8217;t seem too important as I knew where that setting was in the interface&#8211;however, I was strangely drawn to the bit about /dev/video0 (which is the location of my capture card).  So, apparently, it tries to access the card, fails, and drops back to the interface.</p>
<p style="text-align: left;">All of this time I was starting to form a picture that the Hauppauge PVR-350 was more than a little bit different than the average card.  I&#8217;ve seen quite a bit of stuff seeming to indicate why Kaffeine wouldn&#8217;t work for me, because the PVR-350 or the IVTV driver may not be Video4Linux (V4L) compatible.  Now, after searching on the above error, I find this <a title="Support Thread" href="http://ubuntuforums.org/showthread.php?t=664180" target="_blank">thread</a> where the user wilkinnh posted:</p>
<blockquote>
<p style="text-align: left;">the &#8220;Unknown video codec&#8221; is what caught my attention, and i did a quick search and figured out that mythtv had automatically associated my capture card with the V4L (video4linux i believe&#8230;), but it&#8217;s actually an MPEG2 card with built-in hardware MPEG2 compression. so, i redid the mythtvsetup (the backend) and made sure when i selected my capture card that i selected it as MPEG2. once i did that and saved it, everything started working!</p>
</blockquote>
<p style="text-align: left;">Suddenly, it was clear what was wrong!  Even though it said PVR-350 on the Capture Card Setup screen, I was still trying to use a V4L card!  I quickly go back in to setup and&#8230;but&#8230;wait a minute&#8230;what?</p>
<p style="text-align: left;">Where do you <em>change</em> this?  And then I discovered that I was missing some graphical clues that probably would have prevented this from happening in the first place.  The drop-down button was completely missing&#8211;making the dialog look like a static field!  I didn&#8217;t think that &#8220;field&#8221; was changeable&#8211;so I never even tried!!!</p>
<p style="text-align: center;"><a href="http://www.fourthlaw.com/?pp_album=main&pp_image=capture_card_setup.jpg" title="capture card setup"><img src="http://www.fourthlaw.com/wp-content/photos/capture_card_setup.jpg" class="centered" alt="capture card setup" width="600" height="480" /></a></p>
<p style="text-align: left;">This picture is straight from the installation manual&#8211;I circled the part that I don&#8217;t have.  It&#8217;s not off the edge of the screen or anything.  It just isn&#8217;t there.  On my machine, under &#8220;Probed Info&#8221; it reported finding a PVR-350, leading me to believe that everything was hunky-dory.</p>
<p style="text-align: left;">Now I don&#8217;t feel so stupid.</p>
<p style="text-align: left;"><em>Edit:  I forgot to mention that this also happened in KnoppixMyth, so there is something up with the Nvidia video card driver or the MythTV setup in general.  I did not try MythDora in this case, but I suspect the same problem would occur there too.</em></p>
<p style="text-align: left;">Next step is to get my second hard drive in use for storage groups.  Should be easy enough.  After that, I&#8217;ll hook the digital cable box back up and work on changing channels with the serial cable.</p>
<p style="text-align: left;">See you, Space Cowboy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fourthlaw.com/2008/06/23/myth-works-all-the-weather-all-the-time/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
