<?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>Just Another Dave &#187; MythTV</title>
	<atom:link href="http://justanotherdave.ca/category/geek/linux/mythtv/feed" rel="self" type="application/rss+xml" />
	<link>http://justanotherdave.ca</link>
	<description>ninjITsu and Alchemy</description>
	<lastBuildDate>Thu, 09 Sep 2010 04:27:31 +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>The Mythbox just got hotted up</title>
		<link>http://justanotherdave.ca/2007/11/05/the-mythbox-just-got-hotted-up</link>
		<comments>http://justanotherdave.ca/2007/11/05/the-mythbox-just-got-hotted-up#comments</comments>
		<pubDate>Mon, 05 Nov 2007 17:01:52 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://justanotherdave.ca/2007/11/05/the-mythbox-just-got-hotted-up</guid>
		<description><![CDATA[I&#8217;ve spent most of the afternoon revamping the mythbox here. I removed myth-backend from neo and installed it on architect, as well as mysql-server to back myth-backend. I&#8217;ve installed and configured LIRC and created a .lircrc for the Packard Bell remote and receiver I bought years ago on ebay. I&#8217;ve installed splashy on the machine [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent most of the afternoon revamping the mythbox here. I removed myth-backend from neo and installed it on architect, as well as mysql-server to back myth-backend.  I&#8217;ve installed and configured LIRC and created a .lircrc for the Packard Bell remote and receiver I bought years ago on ebay.</p>
<p>I&#8217;ve installed splashy on the machine for a more pretty boot sequence and set X up to auto-spawn on ttyS7 for the mythtv user and automagically runs irxevent and mythfronted via .xinitrc.</p>
<p>For most people, they will read to hear and take away that my mythbox is now sexier. For the insane few that care to know what exactly I did, that&#8217;s after the jump.<span id="more-113"></span></p>
<h4>Moving mythtv-backend</h4>
<p>This should have been a simple</p>
<pre>apt-get install mythtv-backend</pre>
<p>and we&#8217;d be off to the races.  This did indeed depend on mysql-server which installed mysql-server-5.0 which prompted me to supply a root password for the mysql user, which I did.  Then when dpkg went to configure mythtv-database it prompted me for the same password and then promptly failed to install the package.  After many minutes of frustration being told that the password is invalid, run</p>
<pre>dpkg-reconfigure mythtv-database</pre>
<p>I realised what was going on.  I was reconfigureing mythtv-database, sure.  But that package relies on mythtv-common to set what hostname it uses for the database server!  So a quick</p>
<pre>dpkg-reconfigure mythtv-common</pre>
<p>and we were off to the races.</p>
<h4>Installing and configuring lirc</h4>
<pre>apt-get install lirc lirc-modules-source</pre>
<p>gets us started.  After that I had to compile the module I needed. This is where we love module-assistant.</p>
<pre>m-a a-i lirc-modules</pre>
<p>compiled and installed the necessary modules for lirc.  I then attempted to modprobe lirc_serial but that failed initially. It would seem setserial was holding the device open or some such.  If I issued</p>
<pre>setserial /dev/ttyS0 uart none</pre>
<p>then I could modprobe lirc_serial successfully. However, that didn&#8217;t last between reboots. I created /etc/serial.conf with the following in it</p>
<pre>/dev/ttyS0 uart none</pre>
<p>This prevented setserial from taking over the serial port on boot.  I then added lirc_serial to /etc/modules, however lircd still failed to come up on boot. Turns out that lircs init script was running before setserial.  One option would have been to try to change that, however lirc has an line option in /etc/lirc/hardware.conf.</p>
<pre># If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be</pre>
<pre># automatically used instead</pre>
<pre>DEVICE=""</pre>
<pre>MODULES="lirc_serial"</pre>
<p>I added lirc_serial to the modules line and lircd modprobes the module when started.  Easy as pie.</p>
<h4>~/.lircrc</h4>
<p>It took a bit of wrangling to get a working .lircrc going. Part of the problem is I didn&#8217;t bother to look up what the keynames that irxevent would pass&#8230; so I spent a bunch of time googleing looking at other configs which was a little unnecessary. The only hangup I ran into was passing the wrong key names. As the file is updated, I&#8217;ll put fresh copies <a href="http://justanotherdave.ca/dotfiles/lircrc">here</a>.</p>
<h4>X AutoLogin</h4>
<p>I followed the autologin setup <a href="http://www.mythtv.org/wiki/index.php/Frontend_Auto_Login#Option_2">here</a>. I used <a href="http://justanotherdave.ca/dotfiles/xinitrc">this</a> for my xinitrc. Pretty straightforward and no fuss there.</p>
<h4>Splashy</h4>
<p>Installed splashy and rebuilt initramfs.</p>
<pre>apt-get install splashy splashy-themes</pre>
<pre class="code">update-initramfs -u -t -k `uname -r`</pre>
<p>I followed the original documentation I found for splashy that instructed me to append the following to the kernel line in menu.lst</p>
<pre>vga=791 splash</pre>
<p>However, the video card in my Asus Pundit didn&#8217;t really like that much.  I did find  in the splashy wiki on the tips and tricks page that another option was:</p>
<pre>vga=0x314 splash</pre>
<p>This did the trick. In a few hours figuring out the above, I&#8217;ve got the mythbox to boot pretty, auto-launch mythfrontend and take the remote I have as an input. Not bad for a saturday afternoons work.</p>
]]></content:encoded>
			<wfw:commentRss>http://justanotherdave.ca/2007/11/05/the-mythbox-just-got-hotted-up/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Things I&#8217;ve broken recently</title>
		<link>http://justanotherdave.ca/2006/09/30/things-ive-broken-recently</link>
		<comments>http://justanotherdave.ca/2006/09/30/things-ive-broken-recently#comments</comments>
		<pubDate>Sat, 30 Sep 2006 22:19:33 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[2005 Golf TDI]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://justanotherdave.ca/?p=39</guid>
		<description><![CDATA[Accelerated 3D driver for my workstation so the display is really sluggish right now Driver for the capture card for MythTV Sliced open the outer casing of the cable that connects the iPod adapter to the headunit in my car My back, as of this morning Perhaps tomorrow I can spend some time fixing these [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Accelerated 3D driver for my workstation so the display is really sluggish right now</li>
<li>Driver for the capture card for MythTV</li>
<li>Sliced open the outer casing of the cable that connects the iPod adapter to the headunit in my car</li>
<li>My back, as of this morning</li>
</ul>
<p>Perhaps tomorrow I can spend some time fixing these things.</p>
]]></content:encoded>
			<wfw:commentRss>http://justanotherdave.ca/2006/09/30/things-ive-broken-recently/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
