<?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>edwi.nl/og &#187; vm</title>
	<atom:link href="http://edwi.nl/og/tag/vm/feed/" rel="self" type="application/rss+xml" />
	<link>http://edwi.nl/og</link>
	<description>Edwin Woudt's weblog</description>
	<lastBuildDate>Sat, 18 Apr 2009 00:15:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MCE Remote on a Mac &#8211; or: I want more buttons!</title>
		<link>http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-or-i-want-more-buttons/</link>
		<comments>http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-or-i-want-more-buttons/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 16:30:12 +0000</pubDate>
		<dc:creator>edwin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[lirc]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mce remote]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[vlc]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://edwi.nl/og/?p=182</guid>
		<description><![CDATA[This is a series on using an MCE Remote Control with a Mac.
While programs like Remote Buddy and Mira allow you to get much more from your apple remote, there is one drawback: it has only 6 buttons. This may work well for many people, and for applications specifically designed for it, but I just [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-93 alignleft" style="border: 1px solid #dddddd; margin-bottom: 12px; margin-right: 20px;" title="mac-mce-120x120" src="http://edwi.nl/og/uploads/2009/04/mac-mce-120x120.png" alt="MCE Remote on a Mac" width="120" height="120" />This is a series on using an <a href="http://www.mythtv.org/wiki/MCE_Remote">MCE Remote Control</a> with a Mac.</p>
<p>While programs like <a href="http://www.iospirit.com/">Remote Buddy</a> and <a href="http://twistedmelon.com/mira/">Mira</a> allow you to get much more from your apple remote, there is one drawback: it has only 6 buttons. This may work well for many people, and for applications specifically designed for it, but I just like to have much more control. As a recent switcher from a Windows desktop/media pc and FreeBSD/Unix server to a one-Mac-Mini-fits-all setup, I had one of those MCE remotes lying around, so that&#8217;s the one I wanted to use.</p>
<p>However, an intensive search on google and all sorts of forums did not help: as far as I know, the thing just isn&#8217;t supported. Using Remote Buddy or Mira I can use the eHome receiver delivered with my MCE Remote, but only with an Apple Remote and not the MCE Remote itself. Even looking at the Linux community did not help: while a port of the <a href="http://www.lirc.org">LIRC</a> software is available in <a href="http://www.macports.org/">MacPorts</a> it does not have any hardware support, but can only connect to a remote host. Having some good experience with running Windows and Linux as a virtual machine in <a href="http://www.parallels.com/">Parallels Desktop</a> I came to the following &#8220;solution&#8221; for my problem:</p>
<ul>
<li>Take a small Linux distribution, and run it as a VM</li>
<li>Install LIRC and the needed linux kernel modules in this VM</li>
<li>Connect my USB eHome IR receiver to LIRC in this VM</li>
<li>Also install LIRC on the Mac natively and connect it to LIRC in the Linux VM</li>
<li>Convert the button presses on the Remote Control to keypresses on my Mac using a combination of LIRC software and AppleScript</li>
</ul>
<p>It took quite a bit of digging, but in the end I got everything working and I am now controlling my <a href="http://www.videolan.org/vlc/">VLC media player</a> using an MCE remote control.</p>
<p>A few words of warning: this tutorial is not for people who:</p>
<ul>
<li>Expect ready to use software with a graphical installer, neat configuration screens etc. All of this is basically a clever workaround, and it works well for me, but if the only thing you want is a way to reconfigure some buttons from your Apple remote, then Remote Buddy or Mira is the way to go.</li>
<li>Are afraid of using the Terminal. You do not need to be a UNIX guru to follow the steps in this tutorial, but if you do not know what the Terminal is within Mac OS X, you better look through some <a href="http://www.google.com/search?q=mac%20terminal">basic toturials</a> first.</li>
</ul>
<p>If you still want to proceed, read the following three articles for the nitty gritty instructions:<br />
- <a href="http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/">Step 1: installing Finnix as a Parallels VM</a><br />
- <a href="http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-2-installing-lirc-in-the-finnix-vm/">Step 2: installing LIRC in the Finnix VM</a><br />
- <a href="http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-3-configuring-lirc-in-os-x/">Step 3: configuring LIRC in OS X</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-or-i-want-more-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MCE Remote on a Mac &#8211; Step 1: installing Finnix as a Parallels VM</title>
		<link>http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/</link>
		<comments>http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 16:01:32 +0000</pubDate>
		<dc:creator>edwin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[finnix]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mce remote]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[parallels]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://edwi.nl/og/?p=16</guid>
		<description><![CDATA[This is part 1 in a series on using an MCE Remote Control with a Mac. See the:
- Main article
- Step 2: installing LIRC in the Finnix VM
- Step 3: configuring LIRC in OS X
Installation instructions
This part is about installing the Finnix Linux distribution so that it runs in a virtual machine (VM) on your [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-93 alignleft" style="border: 1px solid #dddddd; margin-bottom: 12px; margin-right: 20px;" title="mac-mce-120x120" src="http://edwi.nl/og/uploads/2009/04/mac-mce-120x120.png" alt="MCE Remote on a Mac" width="120" height="120" />This is part 1 in a series on using an MCE Remote Control with a Mac. See the:<br />
- <a href="http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-or-i-want-more-buttons/">Main article</a><br />
- <a href="http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-2-installing-lirc-in-the-finnix-vm/">Step 2: installing LIRC in the Finnix VM</a><br />
- <a href="http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-3-configuring-lirc-in-os-x/">Step 3: configuring LIRC in OS X</a></p>
<h3>Installation instructions</h3>
<p>This part is about installing the <a href="http://www.finnix.org/">Finnix</a> Linux distribution so that it runs in a virtual machine (VM) on your Mac. This instruction assumes you have a copy of <a href="http://www.parallels.com/">Parallels Desktop for Mac 4.0</a> installed (it should work fine with their 14 day evaluation version). Potentially a similar procedure can also be applied with <a href="http://www.vmware.com/products/fusion/">VMware Fusion</a>, or (if you want a free solution) with <a href="http://www.virtualbox.org/">VirtualBox</a>, but I have not tried it. Let me know if you succeed!</p>
<p>Now here are the instructions. Install Finnix in Parallels Desktop using the following 12 steps:</p>
<ol>
<li>Open the &#8220;File&#8221; menu for Parallels Desktop and choose the &#8220;New Virtual Machine&#8230;&#8221; option. A wizard will appear. Click &#8220;Continue&#8221; in the first screen.</li>
<li>Select the .iso image file you downloaded from the <a href="http://www.finnix.org/">Finnix</a> site.</li>
<li>Parallels cannot auto-detect the operating system type. Finnix is a Debian derivative, so let&#8217;s enter that.</li>
<li>Choose a &#8220;Custom&#8221; virtual machine type.</li>
<li>Leave the number of CPU&#8217;s to 1. Set the memory requirement to 512 MB, if it&#8217;s not already set to that value. Later on we&#8217;ll decrease this value much further (48 MB is enough), but for lirc installation a big ramdisk is needed.</li>
<li>We&#8217;ll need a new image for the hard disk.</li>
<li>A mere 1 gigabyte should be enough. Using the &#8220;Expanding disk&#8221; option saves even more space.</li>
<li>Use &#8220;Share Networking&#8221;. Later on networking can be confined to &#8220;Host-Only Networking&#8221;, but for now we need the connectivity to install software.</li>
<li>We do not want the VM to drain too much resources, so we optimize the performance for the Mac</li>
<li>Use any name you like. I use &#8220;Finnix IR&#8221;.</li>
<li>Click &#8220;Start&#8221; to boot the Finnix Live CD.</li>
<li>Choose the first line (x86) instead of the default (AMD64). You could boot in AMD64 mode just fine, but there are some problems with the lirc kernel modules in 64 bit mode.</li>
</ol>
<p>After a little while you&#8217;ll be presented with a booted up Finnix. Congratulations!</p>
<p>Read on for the screenshots and for installation on the virtual hard disk.<br />
<span id="more-16"></span></p>
<h3>Installing on the virtual hard disk</h3>
<p>First, let&#8217;s create a partition the disk and format the partition with the linux (ext2) filesystem.<br />
<code># sfdisk /dev/hda &lt;&lt; EOF<br />
&gt; 0,,L<br />
&gt; EOF<br />
# mke2fs /dev/hda1</code><br />
This instructs Finnix to create one big partition on the 1GB disk of the &#8216;L&#8217; (=Linux) type and then create an Ext2 filesystem on it.</p>
<p>Next step: mount the disk and copy the files from the virtual cd to the hard drive.<br />
<code># mount /dev/hda1<br />
# cp -R /cdrom/* /mnt/hda1</code></p>
<p>Finally we need to install a grub boot menu so that it can actually boot into Linux:<br />
<code># mkdir -o /mnt/hda1/boot/grub<br />
# cat > /mnt/hda1/boot/grub/menu.lst << EOF<br />
> timeout         5<br />
> title           Finnix<br />
> root            (hd0,0)<br />
> kernel          /isolinux/linux root=/dev/hda1 quiet<br />
> initrd          /isolinux/minirt<br />
> EOF<br />
# /usr/sbin/grub-install --root-directory=/mnt/hda1 /dev/hda</code></p>
<p>Now that&#8217;s all done, you could reboot from the local hard disk.</p>
<h3>Screenshots</h3>

<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_01/' title='parallels_finnix_20090406_01'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_01-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_01" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_02/' title='parallels_finnix_20090406_02'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_02-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_02" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_03/' title='parallels_finnix_20090406_03'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_03-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_03" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_04/' title='parallels_finnix_20090406_04'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_04-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_04" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_05/' title='parallels_finnix_20090406_05'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_05-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_05" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_06/' title='parallels_finnix_20090406_06'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_06-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_06" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_07/' title='parallels_finnix_20090406_07'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_07-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_07" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_08/' title='parallels_finnix_20090406_08'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_08-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_08" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_09/' title='parallels_finnix_20090406_09'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_09-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_09" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_10/' title='parallels_finnix_20090406_10'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_10-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_10" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_11/' title='parallels_finnix_20090406_11'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_11-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_11" /></a>
<a href='http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/parallels_finnix_20090406_12/' title='parallels_finnix_20090406_12'><img width="150" height="150" src="http://edwi.nl/og/uploads/2009/04/parallels_finnix_20090406_12-150x150.png" class="attachment-thumbnail" alt="" title="parallels_finnix_20090406_12" /></a>

]]></content:encoded>
			<wfw:commentRss>http://edwi.nl/og/2009/04/08/mce-remote-on-a-mac-step-1-installing-finnix-as-a-parallels-vm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
