Saturday, August 1, 2009

Acer Aspire Revo - the perfect high definition XBMC media center.

I'm a big fan of home media streaming. Storing all of your photos, music, and video files on a single server, and then accessing these from your PCs and TVs around the house makes a lot of sense to me. For many years now, I've run such a system at home, with a single large central server, and a number of clients of different kinds. My two favourites are my Logitech Squeezebox which is the perfect on-line music player, and a modified old XBOX running the XBMC media center.

If you are unfamiliar with XBMC, it provides a slick interface to connect to your TV, through which you can access all kinds of media stored on network hard disks. I tend to use mine fo viewing photos on my TV, and accessing centrally recorded TV programmes from my MYTHTV viewer. Anyway, whilst an XBOX + XBMC works well, it cannot play high definition content, not to mention the fact it looks a bit ugly, and the fan makes a lot of noise whilst running. So, when I saw Acer had recently released a tiny, cheap desktop (or 'Nettop') PC called the Aspire Revo, this looked like the perfect upgrade for my XBMC system.

I won't go into detail about the Revo's spec here - many other sites have that well covered already. I purchased mine from eBuyer in the UK - the linux version, with 1Gb RAM and 160Gb hard-drive, for the bargain price of £160 including free delivery. I then set to installing this with XBMC, which in the most part was very simple, but I did struggle to get the WLAN working. Therefore, I thought it might be useful to note my installation procedure here, in case anyone else can benefit from the experience.

Before we talk software, here are a couple of shots of the physical installation using the supplied mounting kit. Neat huh?


Right, now for how I went about installing this. Proceed as follows:

  • Physically install the Revo - connect HDMI, power, keyboard, and in my case, a Windows MCE remote control USB IR adapter.
  • Switch on the power, and hit DEL to get to the BIOS settings. Disable Revoboot as this is not required.
  • Next, download XBMC Live custom build including the latest NVIDIA ION drivers following the instructions in item 3 of this post.
  • I burned the ISO to a CD ROM, then plugged-in my USB CD drive to the Revo, inserted the CD, and rebooted.
  • Hit F12 to get the Revo boot menu. Select the CD ROM and proceed.
  • Follow the instructions to install XBMC Live to the hard disk - pretty straight forward. Then reboot.
  • After about 20 seconds of boot time, I was greeted with the familiar XBMC welcome screen. Remote control working right out of the box. Before configuring XBMC itself, some system-level tasks are required first.
  • Since the WLAN does not work out of the box, I first install SSH from the command line by hitting CTRL+ALT+F2, logging in as XBMC user, and then typing: sudo apt-get install ssh
  • If you like, you can continue to use this command line to complete the set-up, but I found the text was cropped by my Sony TV, so instead I plugged-in a network cable into my router, and SSH'd from my main desktop PC using PuTTY.
  • Next, I performed a system update with sudo apt-get update and sudo apt-get upgrade. I then rebooted after this.
  • Next, SSH back into the box and install more essential packages for the WLAN to work: sudo apt-get install ntp wpasupplicant wireless-tools. I included NTP so the Revo can keep accurate time.
  • After another reboot, time to set-up the WLAN. My home network uses a hidden SSID which, to this day, I have not managed to get the Revo to connect to. Having now unhidden my SSID it works, so I still need to figure out how to get the Revo to connect to an unhidden network. Not urgent though. Additonally, I have WPA / WPA2 security enabled. First thing to do is sudo vi /etc/network/interfaces and make your file look just like mine:


# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

#iface eth0 inet static
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1

auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant

  • Next, you need to configure wpa_supplicant. Two pieces of information you need are: a) your SSID, and b) your WLAN password. In my example below, I will use your_essid and your_ascii_key to replace my actual values used. A good reference for this part can be found here. First thing then is to get your HEX password by using the following command:

wpa_passphrase your_essid your_ascii_key

  • Which will give you, as an example, this output in a terminal:


network={
ssid="test"
#psk="12345678"
psk=fe727aa8b64ac9b3f54c72432da14faed933ea511ecab1 5bbc6c52e7522f709a
}

Next, copy this, and then sudo vi /etc/wpa_supplicant.conf and make the file look like this:


ctrl_interface=/var/run/wpa_supplicant
ap_scan=1


network={
ssid="your_essid"
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
#psk="your_ascii_key"
psk=fe727aa8b64ac9b3f54c72432da14faed933ea511ecab1 5bbc6c52e7522f709a
}

  • Save this file and you are ready to test the connection. If all has gone well, running the following command will confirm you can connect via WLAN now: sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dwext -dd
  • Hit CTRL-C to quit wpa_supplicant. You can now manually bring up the connection with sudo ifup wlan0, or just reboot.

And that's it for getting the WLAN working. The final base configuration required to ensure XBMC can play everything correctly is as follows:

  • Go into XBMC's settings, and select the following:
  • VIDEO: Setting > Video > Play:Set Render to - VDPAU
    AUDIO: Settings > system > audio hardware > Audio output (digital) - DigitalAudio output device - plug:hdmi (if you just use hdmi here, your music files will play about 10% faster than they should!)
  • Passthrough output device - hdmi
  • Downmix multichannel audio to stereo - ON

The rest of the XBMC configuration is up to you, but having done the above, you have a solid, fully working system to build on.

First impressions of the Revo are excellent, and it appears to be perfectly suited to the low-cost media centre application here. I hope this information was useful - thanks for reading.

Nick.

Sunday, May 31, 2009

Acer Aspire One + OpenSolaris 2009.6 = a great combination.

It's been rather too long since my last post, so here's another quick MS Windows-alternative related update.

I've been running an excellent Acer Aspire One since January, which I've tried a number of Linux distributions on. I pretty much settled for Ubuntu 9.04 Netbook Remix, but decided last week to try OpenSolaris 2009.06 preview (build 111a). I've always been a fan of OpenSolaris' beautiful Gnome themed desktop, plus the feeling that it's a fully integrated Desktop. However, it's always fallen short, for me at least, on hardware support. Even the most recent official release will not even recognise the network card on my desktop PC - crazy!

Well, a huge amount of work must have gone into the latest builds of OpenSolaris, as, out of the box, everything works perfectly on my Aspire One, and even though I'm running a 'preview' release, the desktop is extremely stable, and very attractive. I'll be installing the official release when it comes out in June, and thoroughly recommend it to anyone wanting an attractive Ubuntu alternative.


Thanks for reading,
Nick


Sunday, March 15, 2009

B&W digital photography

I've been enjoying the BBC's 'Genius of Photography' series currently airing in the UK. Yesterday's covered some fantastic B&W photographs from the mid 20th century, which inspired me to try to get some similar effects from my modern-day Lumix FZ-28.

Previous attempts to achieve pleasing digital B&W shots have been disappointing. Quite often because the technique has been to shoot a conventional colour shot, desaturate it in Photoshop, and then try to add some contrast and grain to achieve the vintage B&W look, without destroying too much detail. Last night I stumbled upon the following article by Tony Karp which gave me some clues as to how to configure my camera to take a good B&W shot directly, with little post-processing required:

http://www.tlc-systems.com/artzen2-0093.htm

I configured my Lumix with settings I believe are close to what Tony was using, and here are my initial results:

http://picasaweb.google.com/mobile.harvey/TwickenhamMarch2009#

OK - not the most exciting subject matter, but I'm very pleased with the contrast and texture of these shots. Certainly the best B&W results I've ever achieved on a digital camera. I'll be taking more in the near future for sure!

Thanks for reading,
Nick.

Saturday, March 7, 2009

Time passes quickly...

...not just since my last Blog, but also since buying my first ever album, back in 1985 (or was it '86?) - Paul Hardcastle's, self-named LP.

I remember this having a huge influence on my at the time - from the revolutionary Synclavier sampling & time stretching (put to amazing effect on the classic track '19'), to the high-tech circuit board front cover. I pretty much wore out the cassette (chrome tape, with Dolby B if I remember rightly!) listening to this over and over again (it was my only album at the time after all)!

25 years, and almost a 1000 CD purchases later this album is still not available to buy on CD - something I've never understood. So, today when I found it for MP3 download at Amazon I couldn't flex my Amex fast enough. OK - ideally I'd like a lossless FLAC format, but listening to the album now as I type this, the quality is good enough, and so much better than the original cassette!

Finally, Paul Hardcastle inspired me to want to become an electronic music producer. Not something I ever did professionally, but I dabbled with various software on my Spectrum (yes, really) Amiga, and later Windows PCs. This week I've decided to build a new mini studio, based around my Vista laptop, an M-Audio Oxygen 8 V2 keyboard, and Cakewalk Sonar Studio 8. The Sonar software is still on its way from Amazon, but the rest is here ready to go. If I can bash out anything good, I might put it online - you have been warned!

Thanks for reading,
Nick.

Tuesday, February 3, 2009

Sorry, I don't speak English.

So, I logged into Facebook this evening and received the following notice:

Hello Nick, do you speak English (UK)?

Help translate Facebook into English (UK) so that it can be used by people all over the world, in all languages.

Hmm, so if the site is not already in English (UK) then what language is it in, and when did I learn it?

Seriously though, this is a great example of how us English folk find ourselves speaking a 'regional' dialect of the language, rather than just plain old English.

Looks like a good year for music!

Fantastic - Spinal Tap to release new material this year. But of course, nothing will ever surpass 'Cups and Cakes'!

Prince Unveils Plan to Release Three LPs Via Lotusflow3r Website at Private Gig

How to launch a new web site in style.

Can't wait for the new albums to be released. Having seen Prince live a few times now, most recently during the 21 nights at the London O2, I'm partucularly enjoying the CD which came with the Randee St Nicholas book. Just buy the book for the CD - it's that good!