<?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>John Wells &#187; Hardware</title>
	<atom:link href="http://www.jfwhome.com/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jfwhome.com</link>
	<description>Knowledge Management and Social Web App Guru</description>
	<lastBuildDate>Mon, 04 Jan 2016 17:26:35 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9</generator>
	<item>
		<title>Raspberry Pi-powered waterproof Plex media centre</title>
		<link>http://www.jfwhome.com/2014/05/01/raspberry-pi-powered-waterproof-plex-media-centre/</link>
		<comments>http://www.jfwhome.com/2014/05/01/raspberry-pi-powered-waterproof-plex-media-centre/#comments</comments>
		<pubDate>Thu, 01 May 2014 03:13:08 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=306</guid>
		<description><![CDATA[How to build an on-wall media centre from scratch&#8230; This is a small project I did for my better half &#8212; I noticed she always had the iPad on full volume when having a shower. As she is busy studying for her masters, that&#8217;s about the only time she has to &#8220;watch&#8221; TV. I thought&#8230;]]></description>
				<content:encoded><![CDATA[<p>How to build an on-wall media centre from scratch&#8230;</p>
<div id="attachment_317" style="width: 470px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2014/05/IMG_20140521_105913.jpg"><img class="size-large wp-image-317" src="http://www.jfwhome.com/wp-content/uploads/2014/05/IMG_20140521_105913-767x1024.jpg" alt="Because what else are you going to do in the shower?" width="460" height="614" /></a><p class="wp-caption-text">Because what else are you going to do in the shower?</p></div>
<p><span id="more-306"></span></p>
<p>This is a small project I did for my better half &#8212; I noticed she always had the iPad on full volume when having a shower. As she is busy studying for her masters, that&#8217;s about the only time she has to &#8220;watch&#8221; TV.</p>
<p>I thought I&#8217;d make it easier for her by putting a waterproof screen on the wall. My first thought was a waterproof tablet, like the Sony Xperia. However, that would be (a) no fun; (b) expensive; and (c) touchscreens don&#8217;t work at all when wet. So I decided to build my own.</p>
<p>For software, I used <a href="http://www.rasplex.com">RasPlex</a>. It fits in well as we have a number of Plex devices in the house already, and it also provides an Airplay sink. So my wife can just send whatever she&#8217;s watching on her iPad to the screen on the wall. And the entire thing can be controlled from any mobile device with Plex.</p>
<p>This isn&#8217;t a set of instructions or even a build log &#8212; like most things, the build was more trial and error than meticulous planning. It&#8217;s not difficult if you decide to build your own. That said, I was asked by a couple of people to post details, so here goes&#8230;</p>
<p>I ordered nearly all my parts from Taobao (China&#8217;s eBay).</p>
<ul>
<li>Raspberry Pi Model B (easy, so no link&#8230;)</li>
<li><a href="http://item.taobao.com/item.htm?&amp;id=37590931001">10.1&#8243; 1280&#215;800 LCD panel and HDMI-&gt;LVDS controller board</a> (there are many to choose from here. The panel is about 2mm thick. Get the controller and screen as a pair, or they might not be compatible. Be careful &#8212; most cheap screens are sub-HD 1024&#215;768.).</li>
<li>An <a href="item.taobao.com/item.htm?id=19977342674">HDMI analog audio extractor</a> (Analog audio from the RPi is poor. This little box is powered from USB and solves the problem. I removed it from its housing and used the bare board.)</li>
<li>Some sort of sound output. I&#8217;m using waterproof in-ceiling speakers with integrated amplifiers.</li>
<li>A Wi-Fi dongle. (I used a fairly large Atheros-chip Wireless-N dongle that I knew worked well with Linux. Lots of wireless dongles are reputed to work with the Raspberry Pi, but not all work well &#8212; you may need to try a few).</li>
<li>A <a href="https://www.modmypi.com/pi-modules-upis-advanced">&#8220;UPiS Advanced&#8221; Uninterruptible Power Supply</a></li>
<li>A power supply. I bought this locally &#8212; A 120V/230VAC -&gt; 12V 5A DC power supply. It needs to be able to handle the combined power draw of the screen and all peripherals, so bigger is better.</li>
<li>Two ABS project boxes &#8212; <a href="http://item.taobao.com/item.htm?id=38399842186">one for the screen</a>, and one waterproof one for the power supply. Get some waterproof wire grommets for the PSU box.</li>
<li>A sheet of 1mm-thick quartz glass (any glass will do &#8212; I chose quartz for its clarity. The thinner and clearer the better the image will be).</li>
<li><a href="http://item.taobao.com/item.htm?id=18174896500">A couple of tiny HDMI cables</a> (I made them smaller still by hacking away insulation. And destroyed two in the process &#8212; so get more than you need)..</li>
</ul>
<p>All of these were from Taobao, with the exception of the UPiS, which I ordered from modmypi.com.</p>
<p>The entire thing is powered from the 12V 5A PSU. This is housed in the waterproof project box and hidden in the ceiling. It can be turned on and off using a spare light switch.</p>
<p>The 12V output from the PSU then feeds through (via waterproof grommets) to the screen &#8212; specifically, the LCD module (which requires 12V) and the UPis (which converts 12V to 5V for the rest of the hardware).</p>
<p>I use the UPiS to coordinate graceful shutdown when the light switch is flicked off. It detects the loss of power, but can provide backup power to the Raspberry Pi. Once the power loss is detected, it signals to the Raspbery Pi to shut down. Without this, file corruption could potentially be a problem after thousands of cycles of powering off without shutting down gracefully.</p>
<p>I wrote a <a href="http://www.jfwhome.com/2014/05/26/communicating-with-the-upis-ups-from-rasplex/">small Python script</a> so that the RasPi could query the UPis every few seconds to determine if the power had been cut.</p>
<p>One detail worth noting is that I had to remove the composite and USB ports on the RPi in order to get it to fit. I then directly soldered in wires for my USB devices. This saved a lot of space.</p>
<div id="attachment_315" style="width: 470px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2014/05/IMG_20140521_110052.jpg"><img class="size-large wp-image-315" src="http://www.jfwhome.com/wp-content/uploads/2014/05/IMG_20140521_110052-1024x767.jpg" alt="The (almost) finished product" width="460" height="344" /></a><p class="wp-caption-text">The (almost) finished product</p></div>
<p>Obviously this is pretty light on details, but I figure that no two builds are likely to be the same here. I tried to make use of what I already had lying around. In the picture above, the RaspPi is in the top left with the UPis on top of it. To the right you can see the UPiS battery. Below this is the LVDS converter board. On the bottom left is the HDMI audio extractor, and on the bottom right is the Wi-Fi dongle.</p>
<p>After plugging in everything and testing, most of the work involved carving up the project box and waterproofing it. To fit everything in, I made standoffs out of <a href="http://www.instructables.com/id/How-To-Make-Your-Own-Sugru-Substitute/">&#8220;Oogoo&#8221;</a> (A silicone / cornflower mix, in my case coloured with blue acrylic paint), but you could also 3D-print them. The inner portion of the project box was already waterproof. Obviously once I had cut out the hole for the screen, this was no longer the case, but I managed to seal it around the front (behind the glass and screen) with a large Oogoo gasket and some 3M mastik tape. This presses the front of the glass to the inside of the ABS box, with a bead of silicone to fill the gaps and make it waterproof.</p>
<p>I chopped the box down thinner, filled gaps, and finished it with some acrylic spray paint and clear coat. And some cutesy stick-on lettering. And, tadaaa&#8230;</p>
<div id="attachment_316" style="width: 470px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2014/05/PICT_20140520_204439.jpg"><img class="size-large wp-image-316" src="http://www.jfwhome.com/wp-content/uploads/2014/05/PICT_20140520_204439-1024x768.jpg" alt="Ready to watch. Ignore the cutesy name!" width="460" height="345" /></a><p class="wp-caption-text">Ready to watch. Ignore the cutesy name!</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2014/05/01/raspberry-pi-powered-waterproof-plex-media-centre/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How to replace the eeePC 1005HA CMOS backup battery</title>
		<link>http://www.jfwhome.com/2012/11/27/how-to-replace-the-eeepc-1005ha-cmos-backup-battery/</link>
		<comments>http://www.jfwhome.com/2012/11/27/how-to-replace-the-eeepc-1005ha-cmos-backup-battery/#comments</comments>
		<pubDate>Mon, 26 Nov 2012 16:32:57 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[1005HA]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[eeePC]]></category>
		<category><![CDATA[fixing]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[soldering]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=201</guid>
		<description><![CDATA[The eeePC 1005 is still a nice little netbook. Despite owning an iPad and them apparently being all the craze, I still prefer being productive on my eeePC. However if you&#8217;ve got one, its likely getting a bit long in the tooth by now. Getting BIOS setting errors on each boot up of your eeePC?&#8230;]]></description>
				<content:encoded><![CDATA[<p>The eeePC 1005 is still a nice little netbook. Despite owning an iPad and them apparently being all the craze, I still prefer being productive on my eeePC. </p>
<p>However if you&#8217;ve got one, its likely getting a bit long in the tooth by now. </p>
<p>Getting BIOS setting errors on each boot up of your eeePC? If it&#8217;s asking you to reload setup defaults by pressing F2 every time you turn it on, it&#8217;s probably time to replace the CMOS backup battery. </p>
<p>With a hefty disclaimer of me not being responsible for anything you do or don&#8217;t do&#8230; here&#8217;s how:</p>
<p>First buy a replacement battery. It is an ML 1220 3V rechargeable button battery. eBay or Amazon will be your best bets. If you can get one with metal contacts pre-soldered to the battery, it will make your life easier. Don&#8217;t get a CR1220 &#8212; those are non-rechargeable. </p>
<p>When ready, it&#8217;s time to open up the eeePC.</p>
<p>1. Unplug the eeePC and remove the main battery. </p>
<p>2. Turn the netbook upside down and remove the four Philips screws, one in each corner. Unscrew the memory flap on the bottom to find a fifth screw inside. Unscrew that too. </p>
<div id="attachment_203" style="width: 300px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-093803.jpg"><img src="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-093803-300x225.jpg" alt="" title="Unscrew the five screws" width="300" height="225" class="size-medium wp-image-203" /></a><p class="wp-caption-text">Unscrew the five screws</p></div>
<p><span id="more-201"></span></p>
<p>3. Turn the netbook right-side up and flip open the screen. You need to separate the keyboard from the body. It is held on with small plastic clips along the top side. Use a small plastic spudger tool or (gently) use a small flat-head screwdriver and slide it along the top gap between the keyboard and the body. There are about five clips. </p>
<p>5. Once the clips are released, the keyboard will slide upward. It is still connected near the bottom by a ribbon cable. Gently use a small flat-head screwdriver to flip open the black latch holding the cable to the mainboard, release the cable and remove the keyboard. </p>
<div id="attachment_205" style="width: 300px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-094546.jpg"><img src="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-094546-300x225.jpg" alt="" title="Unclip the keyboard ribbon cable" width="300" height="225" class="size-medium wp-image-205" /></a><p class="wp-caption-text">Unclip the keyboard ribbon cable</p></div>
<p>6. Now it&#8217;s time to begin removing the top shell of the netbook. Remove the five screws you can see. One is underneath the &#8220;Warranty void if broken or removed&#8221; sticker. There&#8217;s no way your eeePC is still in warranty. (If it were, you should know you can easily buy tamper-resistant &#8220;Warranty void if broken&#8221; stickers on eBay). Once the screws are removed, gently release the touchpad ribbon cable before going any further. Again, a small flat-head screwdriver prying on each side of the black clip will release it. </p>
<div id="attachment_206" style="width: 300px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-095135.jpg"><img src="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-095135-300x225.jpg" alt="" title="Unclip the touchpad ribbon cable " width="300" height="225" class="size-medium wp-image-206" /></a><p class="wp-caption-text">Unclip the touchpad ribbon cable</p></div>
<p>7. Release the top shell by sliding your plastic tool or a small flat-head screwdriver between the two shell halves along the front. Again there are 5 or 6 clips. You only need to go along the front&#8230; The entire top half will separate once the clips are released. It will come away since the touchpad cable is disconnected. </p>
<p>8. The battery is on the lower left-hand corner of the mainboard, probably peeping out from behind a wireless module that is taped to the top of the board, just below the big fan. The battery is wrapped in dark green heatshrink plastic, and clips to the mainboard using a white connector.</p>
<div id="attachment_211" style="width: 225px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-095859.jpg"><img src="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-095859-225x300.jpg" alt="" title="The eeePC is finally open. The backup battery is hiding on the lower left." width="225" height="300" class="size-medium wp-image-211" /></a><p class="wp-caption-text">The eeePC is finally open. The backup battery is hiding on the lower left of the netbook (top of this photo, to the left of the fan).</p></div>
<p>9. Carefully unstick the wireless module and move it out of the way. Then use small needle-nosed pliers to carefully unplug the white plastic plug connecting the battery. You can cut away the green heatshrink material to expose the battery underneath. If you test the voltage across the battery, you should see significantly less than 3V. Mine was down to under 1V.</p>
<div id="attachment_208" style="width: 225px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-095915.jpg"><img src="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-095915-225x300.jpg" alt="" title="The battery with heatshrink" width="225" height="300" class="size-medium wp-image-208" /></a><p class="wp-caption-text">The CMOS backup battery with heatshrink</p></div>
<div id="attachment_210" style="width: 225px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-0959311.jpg"><img src="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-0959311-225x300.jpg" alt="" title="The battery exposed" width="225" height="300" class="size-medium wp-image-210" /></a><p class="wp-caption-text">The CMOS backup battery exposed</p></div>
<p>10. Snip off the black and red wires as close to the battery as possible, and strip and carefully solder them onto the terminal clips of your new battery. </p>
<p>Bear in mind that soldering to lithium batteries isn&#8217;t the safest of things you will ever do. Lithium batteries aren&#8217;t all that friendly, and can catch fire or explode very violently. If your battery doesn&#8217;t have terminals pre-welded to it, if you are cack-handed or only have a cheap non-temperature controlled iron, skip soldering and just use electrical tape. Just be sure to clean the battery thorough and fasten the wire well enough to ensure it won&#8217;t move and potentially short out the battery, causing another potentially amusing fire at a later date. </p>
<p>If there are no terminals, solder the wires onto small pieces of broken paperclip coils wound into mini single-turn springs, place these springs on each side of the battery, ensuring they don&#8217;t touch or short out the battery, and tape around the battery tightly. The compression should make a good connection. </p>
<p>If yours does have terminals, then go ahead and solder, but use the &#8220;heatsink trick&#8221;: To sink heat away from the battery when soldering, use needle-nosed pliers to grasp the battery terminal between where you are soldering and the battery. As the metal of the pliers acts as a much larger heat reservoir than the battery, a lot of the heat will travel into the pliers rather than into the battery. Also, solder quickly, wear eye protection, keep your head back and flammable materials away, and use an aforementioned decent temperature-controlled soldering iron. If you, or any part of you or your property, family, friends or pets does decide to go on fire or otherwise get hurt as a result of this article: tough luck, I warned you I would take no responsibility <img src="http://www.jfwhome.com/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley" /> </p>
<p>Make sure you solder or tape the right way round: Red to the + terminal and black to the -.</p>
<div id="attachment_222" style="width: 225px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2012/12/20121206-080334.jpg"><img src="http://www.jfwhome.com/wp-content/uploads/2012/12/20121206-080334-225x300.jpg" alt="The new battery, before soldering" title="The new battery, before soldering" width="225" height="300" class="size-medium wp-image-222" /></a><p class="wp-caption-text">The new battery, before soldering</p></div>
<div id="attachment_223" style="width: 225px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2012/12/20121206-080401.jpg"><img src="http://www.jfwhome.com/wp-content/uploads/2012/12/20121206-080401-225x300.jpg" alt="After soldering" title="After soldering" width="225" height="300" class="size-medium wp-image-223" /></a><p class="wp-caption-text">After soldering</p></div>
<p>11. Once soldered or taped, use electrical tape to wrap the battery and terminals, so that no metal parts are exposed. Make sure there is no way the two terminals can ever touch themselves or anything else. </p>
<p>Then clip it back to the mainboard (make sure you clip it the right way round &#8212; don&#8217;t force it in the wrong way. Mine had a pen mark on the top to show which way was &#8220;up&#8221;) stick back the wireless module, and reassemble the netbook in reverse order. Be careful when re-seating the ribbon cables &#8212; wiggle them left and right to seat them as far as possible before re-engaging the clips with your other hand.</p>
<p>Tadaaa&#8230; Done. Extra points if you have an anonymous screw left over after putting it back together.</p>
<div id="attachment_216" style="width: 300px" class="wp-caption aligncenter"><a href="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-102400.jpg"><img src="http://www.jfwhome.com/wp-content/uploads/2012/11/20121127-102400-300x225.jpg" alt="" title="All small white things are good" width="300" height="225" class="size-medium wp-image-216" /></a><p class="wp-caption-text">All small white things are good</p></div>
<p>You should now no longer have to reload BIOS defaults on every boot. The CMOS backup battery should be good for another three to five years.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2012/11/27/how-to-replace-the-eeepc-1005ha-cmos-backup-battery/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Ubuntu (Lucid) on Gigabyte x58a-ud3r</title>
		<link>http://www.jfwhome.com/2010/08/09/ubuntu-lucid-on-gigabyte-x58a-ud3r/</link>
		<comments>http://www.jfwhome.com/2010/08/09/ubuntu-lucid-on-gigabyte-x58a-ud3r/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 13:54:53 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=134</guid>
		<description><![CDATA[I just upgraded my main desktop PC, running Ubuntu 10.04 (&#8220;Lucid Lynx&#8221;). After an 8-year hiatus, I&#8217;m back on Intel, with a nice new Core i7 930 and a Gigabyte x58a-ud3r. There&#8217;s not a great deal to write about compatibility, as everything &#8220;just worked&#8221; out of the box. The upgrade went well &#8212; one of&#8230;]]></description>
				<content:encoded><![CDATA[<p>I just upgraded my main desktop PC, running Ubuntu 10.04 (&#8220;Lucid Lynx&#8221;). After an 8-year hiatus, I&#8217;m back on Intel, with a nice new Core i7 930 and a Gigabyte x58a-ud3r.</p>
<p>There&#8217;s not a great deal to write about compatibility, as everything &#8220;just worked&#8221; out of the box.</p>
<p>The upgrade went well &#8212; one of the great things about Linux is how well it takes to a complete brain transplant. No HAL trouble or &#8220;repair install&#8221; nonsense that you get on Windows.</p>
<p>Here are the things I had to do after the upgrade to get a 100% perfect system&#8230;</p>
<p><span id="more-134"></span></p>
<p><strong>Digital surround</strong><br />
I use a digital coax conneciton to my AV receiver. This worked right out of the box, with the digital stereo option chosen in volume control -> Sound Preferences -> hardware. However, I was only getting stereo rather than 5-channel sound. To fix this, open: /etc/modprobe.d/alsa-base and add:<br />
<code>options snd-hda-intel model=6stack-dig</code> to the end, then restart.</p>
<p><strong>Suspend/Resume</strong></p>
<p>With S3 (Suspend to RAM/STR) enabled in BIOS, I still couldn&#8217;t get the system to sleep properly. As it turns out, the problem is due to the USB3 driver. I fixed this with a script that unloaded and reloaded the driver on suspend/resume. <a href="http://ubuntuforums.org/showpost.php?p=9475037&#038;postcount=18">Follow these instructions on the Ubuntu Forums</a> for creating this script.</p>
<p>With this change it seems I can pretty much suspend and resume all day, without any ill effects.</p>
<p>The icing on the cake was resuming from suspend with my USB keyboard. By default no USB devices will wake the system &#8212; you have to use the power button. To fix this, you first need to find out which bus your USB device is running on. Type <code>lsusb</code>, find your device, and note the bus number.</p>
<p>If, for example, your USB keyboard is running on Bus 5, then you&#8217;d use the following command to enable resume:</p>
<p><code>echo "USB5" > /proc/acpi/wakeup</code></p>
<p>Add that command to your /etc/rc.local file, before the final &#8220;exit 0;&#8221;, then log out and in again.</p>
<p>Other than updating my /etc/network/interfaces with a new ethX device (since I use manually-configured static networking), that&#8217;s pretty much all I had to do to complete the brain transplant.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2010/08/09/ubuntu-lucid-on-gigabyte-x58a-ud3r/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading from Ubuntu Jaunty (9.04) to Karmic (9.10) on the eeePC 1005HA (and 1008HA)</title>
		<link>http://www.jfwhome.com/2009/11/11/upgrading-from-ubuntu-jaunty-904-to-karmic-910-on-the-eeepc-1005ha-and-1008ha/</link>
		<comments>http://www.jfwhome.com/2009/11/11/upgrading-from-ubuntu-jaunty-904-to-karmic-910-on-the-eeepc-1005ha-and-1008ha/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 15:06:02 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=68</guid>
		<description><![CDATA[If you followed my guide on getting Ubuntu 9.04 to run nicely on the eeePC 1005HA, and have or are considering upgrading to Karmic, these few notes will help you. If you do a fresh install of Karmic, everything will work just fine out of the box on the 1005HA. However, a fresh install is&#8230;]]></description>
				<content:encoded><![CDATA[<p>If you followed <a href="http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/">my guide</a> on getting Ubuntu 9.04 to run nicely on the eeePC 1005HA, and have or are considering upgrading to Karmic, these few notes will help you.</p>
<div id="attachment_69" style="width: 150px" class="wp-caption alignnone"><a href="http://www.jfwhome.com/2009/11/11/upgrading-from-ubuntu-jaunty-904-to-karmic-910-on-the-eeepc-1005ha-and-1008ha/screenshot-2/" rel="attachment wp-att-69"><img src="http://www.jfwhome.com/wp-content/uploads/2009/11/screenshot-150x150.png" alt="A karmic Koala in a seashell" title="Karmic netbook screenshot" width="150" height="150" class="size-thumbnail wp-image-69" /></a><p class="wp-caption-text">A karmic Koala in a seashell</p></div>
<p><span id="more-68"></span></p>
<p>If you do a fresh install of Karmic, everything will work just fine out of the box on the 1005HA. However, a fresh install is complete overkill. As always with Ubuntu &#8212; and with most Linux distributions in general &#8212; upgrading is easy. Few clicks in the package manager, and away you go.</p>
<p>However, if you followed <a href="http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/">my guide</a> to installing Jaunty, you&#8217;ll have a few old packages kicking around that will cause a few idiosyncrasies. Immediately after the upgrade, I found that wireless was less reliable, particularly after suspend/resume. Also, I found that suspend was not reliable.</p>
<p>The solution is easy: you need to remove some of the things you installed.</p>
<p>You can remove these using Synaptic, or by doing <code>apt-get remove &lt;packagename1&gt; &lt;packagename2&gt; &lt;packagename3&gt; ....</code>.</p>
<p>Remove the following:</p>
<ul>
<li>Any backports you have installed, in particular <em>linux-backports-modules-jaunty</em>, but that is just a metapackage &#8212; check that no <em>linux-backports*</em> are installed. You won&#8217;t need any of the new karmic backports either.</li>
<li> <em>eeepc-tray</em> and <em>eeepc-laptop-dkms</em> or <em>netbook-dkms</em>.</li>
</ul>
<p>After doing this, restart and make sure all your packages are up to date (use update manager or do <code>sudo apt-get update &#038;&#038; sudo apt-get upgrade</code>.</p>
<p>Then, as the last step, you need to remove all the unneeded packages that were pulled in as dependencies previously. Easy &#8212; in a terminal, just type <code>sudo apt-get autoremove</code>. It&#8217;ll ask you to confirm, and you should see packages such as <em>dkms</em> being removed.</p>
<p>Finally, restart, and you should be all set <img src="http://www.jfwhome.com/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2009/11/11/upgrading-from-ubuntu-jaunty-904-to-karmic-910-on-the-eeepc-1005ha-and-1008ha/feed/</wfw:commentRss>
		<slash:comments>62</slash:comments>
		</item>
		<item>
		<title>Perfect Ubuntu Jaunty on the Asus eeePC 1005HA (and 1008HA)</title>
		<link>http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/</link>
		<comments>http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 17:26:08 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[1005HA]]></category>
		<category><![CDATA[eeePC]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=19</guid>
		<description><![CDATA[The 1005HA is one of the brand new Asus eeePC netbooks, and it is a great little machine &#8212; aside from the fact that it comes with Windows XP or a dumbed-down customised Xandros (allegedly &#8212; as time goes on, Asus seem to be selling out to Microsoft). As the 1005HA is pretty new, it&#8230;]]></description>
				<content:encoded><![CDATA[<p>The 1005HA is one of the brand new Asus eeePC netbooks, and it is a great little machine &#8212; aside from the fact that it comes with Windows XP or a dumbed-down customised Xandros (allegedly &#8212; as time goes on, Asus seem to be selling out to Microsoft).</p>
<p>As the 1005HA is pretty new, it has a few odd hardware quirks that won&#8217;t be fully supported out of the box until the next release of Ubuntu.</p>
<p>Here I run through what I did to end up with a 100% working install &#8212; including all Fn hotkeys. The good news is that it is very easy!</p>
<div id="attachment_25" style="width: 150px" class="wp-caption alignnone"><a rel="attachment wp-att-25" href="http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/desktop/"><img class="size-thumbnail wp-image-25" title="My perfect Ubuntu setup on the 1005HA" src="http://www.jfwhome.com/wp-content/uploads/2009/08/desktop-150x150.png" alt="My perfect Ubuntu setup on the 1005HA" width="150" height="150" /></a><p class="wp-caption-text">My perfect Ubuntu setup on the 1005HA</p></div>
<p><span id="more-19"></span></p>
<blockquote style="border: 1px solid #fff;"><p>If you followed these instructions before, and now want to upgrade to Karmic, see my notes <a href="http://www.jfwhome.com/2009/11/11/upgrading-from-ubuntu-jaunty-904-to-karmic-910-on-the-eeepc-1005ha-and-1008ha/">here</a>.</p></blockquote>
<p><strong>Step 1: Installing Ubuntu</strong></p>
<p>Start off with Ubuntu Netbook Remix. It is designed for netbooks and comes with a customised kernel. Even if you don&#8217;t like the special netbook interface, it can be easily reverted to the default Ubuntu look with a single click.<br />
<a href="http://www.ubuntu.com/GetUbuntu/download-netbook"><br />
Download it here</a>, and <a href="https://help.ubuntu.com/community/Installation/FromImgFiles">follow the simple instructions here</a> to create an installer on a USB stick.</p>
<p>Power on your netbook, and repeatedly tap F2 to bring up the BIOS configuration.</p>
<p>Under &#8220;Boot settings&#8221;, disable &#8220;Boot Booster&#8221;, and hit F10 to save settings. We do this so that we can specify our USB installer as the boot device, and can re-enable it later.</p>
<p>When the machine reboots, hit &#8220;Esc&#8221; repeatedly to being up the boot menu. Choose the USB key, and away you go.</p>
<p>I wouldn&#8217;t bother with the &#8220;live preview&#8221;, and jump straight into the install.</p>
<p>The Ubuntu install process is straightforward.</p>
<p><strong>Partitioning during install</strong></p>
<p>Partition the disk however you like.</p>
<p>I created separate partitions for / (20gb), /boot (1gb), swap (4gb), bootbooster efi partition (16MB), and /home (the remainder), but how you do it is really up to you. I favour the above partitioning scheme to serve me really well over the years.</p>
<p>I set /home, /boot and / to format as ext4, and found performance to be great.</p>
<p>Don&#8217;t forget to create a swap partition of around 2x the amount of RAM if you want hibernation to work!</p>
<p>The EFI partition is for the Asus Boot Booster feature. It needs to be 8MB &#8212; I made it 16 just to be sure. At boot time, BIOS information is cached in this little partition so that the power-on self test can be bypassed. It speeds up the boot process by several seconds, which I think is great.</p>
<p>You can leave the EFI that comes pre-created. However, I wanted to blow away all partitions and start from scratch with my own partitioning scheme, so I recreated it. It must be a primary partition. It must be labelled as type &#8220;EFI&#8221;, which I was not able to do using the installer. See below for instructions on how to set it after the install is completed. Leave this partition unformatted.</p>
<p><strong>Wired networking</strong></p>
<p>After install, the first thing you&#8217;ll notice is that ethernet and wireless networking aren&#8217;t working. Fortunately, they&#8217;re easy to fix.</p>
<p>On a computer with working networking, download this file:</p>
<p><a href='http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/atheros-wired-driver-1005ha-linux/' rel='attachment wp-att-38'>atheros-wired-driver-1005ha-linux</a></p>
<p>Open the zip file (double-click it), and extract it to the location of your choice. Then, in a terminal, navigate (&#8216;cd&#8217;) to the &#8216;src&#8217; directory of the unpacked files, and type:<br />
<code><br />
make<br />
sudo make install<br />
sudo insmod atl1e.ko<br />
</code></p>
<p>If you receive an error after the first line, and you&#8217;re not running Ubuntu Jaunty UNR, ensure you have the linux headers package installed for your kernel &#8212; you&#8217;ll need to find and download the appropriate .deb and install it. Information is <a href="http://ubuntuforums.org/showpost.php?p=7690745&#038;postcount=8">here</a>.</p>
<p>Until Ubuntu Karmic is released, every time you do a kernel update, you will need to re-run the last two steps (preceded by a <code>sudo rmmod atl1e.ko</code>).</p>
<p>You now have ethernet network &#8212; so plug yourself in to a network cable and set up wireless&#8230;</p>
<p><strong>Wireless networking</strong></p>
<p>This is easy &#8212; you just need to install the driver back-ported from the next Ubuntu release. </p>
<p>First, enable the backports repository: Administration > Software Sources > Updates and enable &#8220;Unsupported Updates (jaunty-backports)&#8221;.</p>
<p>Then, open Synaptic Package Manager, find the package <code>linux-backports-modules-jaunty</code>, and install it.</p>
<p><strong>Getting rid of the Netbook Remix interface</strong></p>
<p>While the netbook remix interface is innovative, I prefer having a desktop and a normal panel with window switcher. To kill the netbook interface, Just go to Preferences &gt; Switch Desktop Mode.</p>
<p>Gnome panels can take up too much space on a netbook screen &#8212; you can set them to auto-hide by right-clicking them and choosing Properties. To speed up the auto-hide behaviour, fire up <code>gconf-editor</code>, and navigate to apps &gt; panel &gt; toplevels, and reduce <code>hide_delay</code> and <code>unhde_delay</code> for each panel.</p>
<p><strong>Super Hybrid Engine, Installing an eeePC tray utility, and getting all hotkeys to work</strong></p>
<p>An eeePC tray utility is useful in order to utilise Asus&#8217; so-called &#8220;Super Hybrid Engine&#8221;, which is really just marketing lingo for adjusting processor speed for different power:performance profiles. It also enables you to switch on/off all the eeePC&#8217;s integrated peripherals with a click or two, or using the hotkeys.</p>
<p>After a bit of trial and error, I found that the best tool for the job is &#8220;eeepc-tray&#8221;. It can be installed from a repository, which means that it will be automatically kept up to date.</p>
<p>Follow <a href="http://www.statux.org/content?page=repo">these simple instructions</a> to add the statux.org repository.</p>
<p>When done, fire up Synaptic Package Manager, and find and install the packages eeepc-tray and eeepc-laptop-dkms. When done, reboot.</p>
<p>Now, all your hotkeys, apart from Fn+Space, Fn+F3, and the top-left touchpad enable/disable buttons,will be working.</p>
<p><strong>Finishing off: Final hotkeys</strong></p>
<p>First off, we need to make the touchpad addressable by other applications. The safest way to do that is through a rather cumbersome SHMConfig policy XML file.</p>
<p>Create a new plain text file, with the following content:<br />
<code><br />
&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;deviceinfo version="0.2"&gt;<br />
&lt;device&gt;<br />
&lt;match key="info.product" string="SynPS/2 Synaptics TouchPad"&gt;<br />
&lt;merge key="input.x11_options.SHMConfig" type="string"&gt;True&lt;/merge&gt;<br />
&lt;merge key="input.x11_driver" type="string"&gt;synaptics&lt;/merge&gt;<br />
&lt;/match&gt;<br />
&lt;/device&gt;<br />
&lt;device&gt;<br />
&lt;match key="info.linux.driver" string="psmouse"&gt;<br />
&lt;merge key="input.x11_options.SHMConfig" type="string"&gt;True&lt;/merge&gt;<br />
&lt;/match&gt;<br />
&lt;/device&gt;<br />
&lt;/deviceinfo&gt;<br />
</code><br />
and save it as <code>/etc/hal/fdi/policy/shmconfig.fdi</code>.</p>
<p>Then reboot, or restart X (right-alt &#8211; SysRq &#8211; k), and the touhpad will now be addressable. When you type, it will briefly disable to prevent accidental mousing.</p>
<p>All we need to do now is enable the outstanding hotkeys. Right-click the eeepc-tray icon, click &#8220;Edit Configuration&#8221;, and paste the following in the empty file:<br />
<code><br />
#Touchpad control<br />
KEY_TOUCHPAD="00000037"<br />
# Fn + space<br />
KEY_FSB="00000039"<br />
</code></p>
<p>And there you go&#8230; all working!</p>
<p><strong>Sound and microphone</strong></p>
<p>The sound works perfectly out of the box. However, the microphone input is set to the microphone jack, rather than the internal mic by default. To change it, open Volume Control, hit Preferences, and enable all the Mic and Input Source options. Then, set the input source to &#8220;Int Mic&#8221; under the Options tab.</p>
<p>In skype, set your Sound In device to be HDA Intel (hw:Intel, 0). (Sound Out and Ringing should be set to &#8216;pulse&#8217;)</p>
<p><strong>Setting the EFI partition for boot booster</strong></p>
<p>As mentioned above in the partitioning section, for boot booster to work if you removed the default Asus EFI partition during install, you&#8217;ll need to set your new 8MB primary partition as type &#8220;EFI&#8221;. Doing that is simple:</p>
<p>open a terminal, and type <code>sudo fdisk -l</code> to list your partitions. Look for the little Boot Booster partition you set aside. My EFI partition was on device /dev/sda3.</p>
<p>Then, to set the appropriate partition as &#8220;EFI&#8221;, type <code>sudo sfdisk --change-id /dev/sda 3 ef</code>, replacing &#8220;3&#8243; with the device name you found in the previous step (e.g. &#8220;2&#8243; for /dev/sda2).</p>
<p>Just be sure you do it to the right partition &#8212; back up your data first if you&#8217;re unsure!</p>
<p>When you reboot, hit F2, and re-enable boot booster in the BIOS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/feed/</wfw:commentRss>
		<slash:comments>236</slash:comments>
		</item>
	</channel>
</rss>
