<?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>popey.com blog &#187; Boxee</title>
	<atom:link href="http://popey.com/blog/tag/boxee/feed/" rel="self" type="application/rss+xml" />
	<link>http://popey.com/blog</link>
	<description>DON&#039;T YOU KNOW WHO I AM!!</description>
	<lastBuildDate>Tue, 27 Jul 2010 09:41:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Acer Aspire Revo, Ubuntu, Boxee and Remote Control</title>
		<link>http://popey.com/blog/2009/08/06/acer-aspire-revo-ubuntu-boxee-and-remote-control/</link>
		<comments>http://popey.com/blog/2009/08/06/acer-aspire-revo-ubuntu-boxee-and-remote-control/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 12:22:44 +0000</pubDate>
		<dc:creator>popey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Boxee]]></category>

		<guid isPermaLink="false">http://popey.com/blog/?p=221</guid>
		<description><![CDATA[On the latest episode of the podcast I briefly mentioned that I&#8217;d recently bought an Acer Aspire Revo to use as an Ubuntu based media player. Well, I&#8217;ve installed Ubuntu and Boxee on it, and it plays back all kinds of video including 720p and 1080p HD video via the HDMI port. The box is [...]]]></description>
			<content:encoded><![CDATA[<p>On the <a href="http://podcast.ubuntu-uk.org/2009/08/05/s02e10-day-of-reckoning/">latest episode</a> of the <a href="http://podcast.ubuntu-uk.org/">podcast</a> I briefly mentioned that I&#8217;d recently bought an Acer Aspire Revo to use as an Ubuntu based media player. Well, I&#8217;ve installed Ubuntu and Boxee on it, and it plays back all kinds of video including 720p and 1080p HD video via the HDMI port. The box is silent enough for it to be in the bedroom and not disturb sleep at all. I had to put my ear right up to it to hear anything, it&#8217;s as good as silent. It can be found for about £150 here in the UK, which is (in my opinion) an awesome price for this bit of kit.</p>
<p><img class="alignnone size-thumbnail wp-image-225" title="Acer Aspire Revo" src="http://popey.com/blog/wp-content/uploads/2009/08/ORD-ACE-REVO-150x150.jpg" alt="Acer Aspire Revo" width="150" height="150" /></p>
<p>Here&#8217;s its vitals:-</p>
<ul>
<li><a href="http://popey.com/~alan/revo/cpuinfo">Intel Atom 230 1.6GHz CPU</a> &#8211; Single core, but <a href="http://en.wikipedia.org/wiki/Hyper-threading">HT</a></li>
<li><a href="http://popey.com/~alan/revo/meminfo">1GiB of shared memory</a></li>
<li><a href="http://popey.com/~alan/revo/lshwdisk">160GB (149GiB) 2.5&#8243; Hitachi Disk</a></li>
<li><a href="http://popey.com/~alan/revo/lshwvideo">nVidia ION Video Card</a></li>
<li><a href="http://popey.com/~alan/revo/lshwnet">Ethernet and WiFi</a></li>
<li>VGA &amp; HDMI ports</li>
<li>6 USB ports</li>
<li>Multi-Memory-Card reader</li>
</ul>
<p>Notably missing is bluetooth which I needed for my remote control, but not too much of an issue as bluetooth dongles are <a href="http://www.dealextreme.com/details.dx/sku.11866">super cheap</a> and the box has enough USB ports to go round.</p>
<p>I wanted to use this device as a kind of &#8220;set top box&#8221; to play back video. The options for software included <a href="http://boxee.tv">Boxee</a>, <a href="http://mythbuntu.org">Mythbuntu</a> and <a href="http://xbmc.org/">XBMC</a> and certainly not <a href="http://www.microsoft.com/windowsxp/mediacenter/default.mspx">Windows Media Centre</a> as some <a href="http://www.hantslug.org.uk/lurker/message/20090802.223246.fb4270a8.en.html">crackpot</a> on the <a href="http://hants.lug.org.uk/">Hampshire LUG</a> mailing list suggested.</p>
<p>Below are some notes about how I installed Ubuntu 9.10 (Karmic) on the device and got the Sony Playstation 3 remote control working. I chose Ubuntu 9.10 because I knew the video driver for the nVidia ION card was available in the repository, and I feel confident with it.</p>
<p><strong>Note:</strong> At the time of writing, Ubuntu 9.10 is in Alpha stage, that means it breaks. Anyone who tells you it doesn&#8217;t is a liar <img src='http://popey.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  It broke the day I was trying to install, but luckily the people in #ubuntu+1 irc channel helped me get it working again.</p>
<p>So far I have installed Boxee on top of Ubuntu and have found it great for my needs. Not sure if I&#8217;ll install XBMC because Boxee seems to cover my needs. Also unsure whether or not I&#8217;ll install MythTV on it either as I currently have no major requirement for recording TV and playing back in another room. Maybe later I will, who knows.</p>
<h2>Installing Ubuntu</h2>
<p>Download Ubuntu Karmic Alpha 3 Desktop ISO image from http://cdimage.ubuntu.com/releases/karmic/alpha-3/</p>
<p>On my Ubuntu desktop, used USB startup disk creator to make a bootable USB stick containing alpha 3.</p>
<p><img src="http://popey.com/blog/wp-content/uploads/2009/08/usb-creator-269x300.png" alt="USB Creator" title="USB Creator" width="269" height="300" class="alignnone size-medium wp-image-227" /></p>
<p>I had a problem that the Karmic Alpha 3 image boots to a text logon prompt, not a GUI. It seems that the open source nv driver that shipped on Alpha 3 image doesn&#8217;t support the NVidia ION chipset inside the Revo. Here&#8217;s what I did to get to the graphical logon screen and then proceed with the install:-</p>
<p>Login with username &#8216;ubuntu&#8217; and no password</p>
<p>Attach the Revo to the wired network</p>
<p>Check I have an ip address with the &#8216;ifconfig&#8217; command</p>
<p>Update the list of packages</p>
<pre>sudo apt-get update</pre>
<p>Install the nVidia proprietary driver version 185 (in the 180 package confusingly)</p>
<pre>sudo apt-get install nvidia-glx-180</pre>
<p>Grab a known working xorg.conf:-</p>
<pre>wget http://popey.com/~alan/revo/xorg.conf</pre>
<p>Put the xorg.conf into place:-</p>
<pre>sudo cp ./xorg.conf /etc/X11</pre>
<p>Restart the graphical environment:-</p>
<pre>sudo /etc/init.d/gdm start</pre>
<p>Ubuntu desktop starts up at this point, so now we can run the graphical install routine as normal. I created a user which logs in automatically to the desktop because it&#8217;s a set to box, I don&#8217;t want any logon prompts. At the end, reboot and remove the USB stick. Unfortunately I got the text based logon screen again, so did the following to fix it:-</p>
<p>Logon using the account details I created during the install.</p>
<pre>sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install dkms
sudo apt-get install nvidia-glx-180 --reinstall</pre>
<p>That should permanently fix it. Not sure why DKMS was missing from the Alpha 3 CD.</p>
<p>That&#8217;s it for the Ubuntu install, not too painful at all. The only extra packages I then installed were ones I tend to put on most desktops:-</p>
<p>$ sudo apt-get install ubuntu-restricted-extras openssh-server pavucontrol mplayer vlc ffmpeg libavcodec-unstripped-52 libavfilter-unstripped-0 libavdevice-unstripped-52 libavformat-unstripped-52</p>
<p>I used pavucontrol to switch audio output from the headphone jack &#8216;Output Analog Stereo&#8217; to the HDMI port &#8216;Output Digital Stereo (HDMI), which worked with no messing. I note that some people have had issues with audio over HDMI on Ubuntu 9.04, but the good news is it just works out of the box in 9.10.</p>
<p><img src="http://popey.com/blog/wp-content/uploads/2009/08/Screenshot-Volume-Control-300x240.png" alt="Screenshot-Volume Control" title="Screenshot-Volume Control" width="300" height="240" class="alignnone size-medium wp-image-231" /></p>
<p>I then tested video playback using mplayer and VLC. It worked fine, but as those packages in the repo don&#8217;t have <a href="http://en.wikipedia.org/wiki/VDPAU">VDPAU</a> support, I wasn&#8217;t able to play back 720p or 1080p at a reasonable pace. However this isn&#8217;t an issue because I then moved on to install Boxee which I know does support it.</p>
<p>Another issue I noted was a large amount of <a href="http://en.wikipedia.org/wiki/Overscan">overscan</a> so the panels top and bottom were off the edge of the screen. This made choosing panel icons tricky at times! Using ALT+F1 I opened the Applications menu, and could navigate pretty much everywhere I needed to from there.</p>
<h2>Boxee</h2>
<p>I&#8217;ve had a <a href="http://boxee.tv">Boxee</a> account for a while, and tried it out on a few computers. It&#8217;s never really struck me as useful because I can usually playback video via standard desktop tools. However for a set-top box it makes more sense to me to have an easy to use user interface to locally stored and web delivered video. That and it supporting VDPAU out of the box made it an attractive choice for the Revo.</p>
<p>Boxee have a repository for their application, so it was simply a case of going to System -&gt; Administration -&gt; Software Sources -&gt; Third-Party Software -&gt; Add, and pasting this in:-</p>
<pre>deb http://apt.boxee.tv jaunty main</pre>
<p><strong>Note:</strong> I am running Ubuntu 9.10 (Karmic) and that repo is for Ubuntu 9.04 (Jaunty), so I was expecting failure.</p>
<p>Indeed, trying to install the boxee package failed because it was looking for a package called liblzo1 which isn&#8217;t available in Karmic. liblzo2-2 is available in 9.10 but that didn&#8217;t work, so I cheated a bit and grabbed <a href="http://packages.ubuntu.com/jaunty/i386/liblzo1/download">liblzo1</a> from 9.04 and installed that. Boxee then proceeded to install just fine.</p>
<p>Once Boxee is installed there is an item on the Sound &amp; Video menu to start it.</p>
<p>I enabled hardware acceleration in the Boxee GUI which effectively enables VDPAU. The only other setting to tweak was to configure overscan compensation so that the full picture appears within the TV screen viewing area. Both are very easy to set in Boxee.</p>
<p><img src="http://popey.com/blog/wp-content/uploads/2009/08/screenshot004-300x168.jpg" alt="screenshot004" title="screenshot004" width="300" height="168" class="alignnone size-medium wp-image-242" /></p>
<p><img src="http://popey.com/blog/wp-content/uploads/2009/08/screenshot005-300x168.jpg" alt="screenshot005" title="screenshot005" width="300" height="168" class="alignnone size-medium wp-image-243" /></p>
<p><img src="http://popey.com/blog/wp-content/uploads/2009/08/screenshot0061-300x168.jpg" alt="screenshot006" title="screenshot006" width="300" height="168" class="alignnone size-medium wp-image-244" /></p>
<h2>Playstation 3 Bluetooth Remote</h2>
<p>On advice from <a href="http://blog.daviey.com/">Daviey</a>, my fellow <a href="http://podcast.ubuntu-uk.org/">podcaster</a> and <a href="http://mythbuntu.org/">Mythbuntu</a> developer, I bought a playstation 3 remote. These are not infra-red but bluetooth devices, so I dug out my bluetooth dongle and plugged that into the back of the Revo.</p>
<p><img src="http://popey.com/blog/wp-content/uploads/2009/08/31LDx0mayZL._SS400_-300x300.jpg" alt="31LDx0mayZL._SS400_" title="31LDx0mayZL._SS400_" width="300" height="300" class="alignnone size-medium wp-image-232" /></p>
<p>To get the remote working you first need to associate it with Ubuntu, which is best done with the blueman applet which isn&#8217;t installed by default.</p>
<pre>sudo apt-get install blueman</pre>
<p>I also noted that the &#8216;uinput&#8217; kernel module isn&#8217;t loaded by default. So I edited /etc/modules and added the line in.</p>
<pre>sudo nano /etc/modules</pre>
<p>This is all we need to add:-</p>
<pre>uinput</pre>
<p>Further we need a udev rule:-</p>
<pre>sudo nano /etc/udev/rules.d/40-permissions.rules</pre>
<p>Add this line.</p>
<pre>KERNEL=="uinput", MODE="0666"</pre>
<p>Next I loaded the module manually to save me having to reboot.</p>
<pre>sudo modprobe uinput</pre>
<p>Now I open the bluetooth applet by running:-</p>
<pre>blueman-applet</pre>
<p>Right click the new bluetooth applet, choose &#8220;Setup New Device&#8221;. On the Sony remote press and hold &#8216;Ente&#8217;r &amp; &#8216;Start&#8217; for 5 seconds, click &#8216;Next&#8217; in the wizard.</p>
<p>The remote should show up on the list of discovered devices (along with any phones and computers nearby). Click on the remote then click next. On the next screen choose &#8216;not pairing&#8217; then click &#8216;Next&#8217;. On the next screen choose &#8216;input service&#8217; then click &#8216;Next&#8217;.This pairs the remote and the Ubuntu install. Next we need to set the device as trusted.</p>
<p>Right click the blueman applet icon and choose &#8216;Devices..&#8217;. The &#8216;BD Remote Control&#8217; should be listed. Highlight it then press the yellow &#8216;Trust&#8217; icon, and a  yellow star will now appear in the corner of the logo for that device indicating it&#8217;s now trusted. Next we need to configure lirc which isn&#8217;t installed by default:-</p>
<pre>sudo apt-get install lirc</pre>
<p>We need to discover which device the BD Remote Control appears as, which we can obtain from /proc/bus/input/devices.</p>
<pre>$ cat /proc/bus/input/devices

[snip]

I: Bus=0005 Vendor=054c Product=0306 Version=0000
N: Name="PS3 Remote Controller"
P: Phys=
S: Sysfs=/devices/virtual/input/input8
U: Uniq=
H: Handlers=kbd event8
B: EV=3
B: KEY=80000000 0 700000 1083c100 8c00ea 0 6bc00000 1 0 8000 1102 c0000801 801680 0 0 10000ffe</pre>
<p>Note the &#8216;Handlers&#8217; for the PS3 Remote Controller. We need to configure the with that device name by editing the config:-</p>
<pre>sudo nano /etc/lirc/hardware.conf</pre>
<p>Add these lines (changing &#8216;event8&#8242; if appropriate):-</p>
<pre>REMOTE="ps3"
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/event8"</pre>
<p>Finally we restart lirc.</p>
<pre>sudo /etc/init.d/lirc restart</pre>
<p>That&#8217;s it. I can now &#8216;type&#8217; into Ubuntu using the buttons on the remote. The arrows map to the cursor keys, the Enter button maps to the Enter key on the keyboard. It&#8217;s all good. Time to start up Boxee and watch some videos!</p>
<p><img src="http://popey.com/blog/wp-content/uploads/2009/08/screenshot002-300x168.jpg" alt="screenshot002" title="screenshot002" width="300" height="168" class="alignnone size-medium wp-image-237" /></p>
<p><img src="http://popey.com/blog/wp-content/uploads/2009/08/screenshot001-300x168.jpg" alt="screenshot001" title="screenshot001" width="300" height="168" class="alignnone size-medium wp-image-238" /></p>
<p><img src="http://popey.com/blog/wp-content/uploads/2009/08/screenshot000-300x168.jpg" alt="screenshot000" title="screenshot000" width="300" height="168" class="alignnone size-medium wp-image-239" /></p>
<p><img src="http://popey.com/blog/wp-content/uploads/2009/08/screenshot003-300x168.jpg" alt="screenshot003" title="screenshot003" width="300" height="168" class="alignnone size-medium wp-image-240" /></p>
<p>Yay!</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F&amp;title=Acer+Aspire+Revo%2C+Ubuntu%2C+Boxee+and+Remote+Control" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F&amp;title=Acer+Aspire+Revo%2C+Ubuntu%2C+Boxee+and+Remote+Control" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F&amp;title=Acer+Aspire+Revo%2C+Ubuntu%2C+Boxee+and+Remote+Control" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F&amp;headline=Acer+Aspire+Revo%2C+Ubuntu%2C+Boxee+and+Remote+Control" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Acer+Aspire+Revo%2C+Ubuntu%2C+Boxee+and+Remote+Control&amp;url=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Acer+Aspire+Revo%2C+Ubuntu%2C+Boxee+and+Remote+Control&amp;u=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Acer+Aspire+Revo%2C+Ubuntu%2C+Boxee+and+Remote+Control&amp;url=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Acer+Aspire+Revo%2C+Ubuntu%2C+Boxee+and+Remote+Control&amp;url=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Acer+Aspire+Revo%2C+Ubuntu%2C+Boxee+and+Remote+Control&amp;url=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F&amp;title=Acer+Aspire+Revo%2C+Ubuntu%2C+Boxee+and+Remote+Control&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fpopey.com%2Fblog%2F2009%2F08%2F06%2Facer-aspire-revo-ubuntu-boxee-and-remote-control%2F" ><img class="lightsocial_img" src="http://popey.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://popey.com/blog/2009/08/06/acer-aspire-revo-ubuntu-boxee-and-remote-control/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
		</item>
	</channel>
</rss>
