Home > Hardware, Linux > Perfect Ubuntu Jaunty on the Asus eeePC 1005HA (and 1008HA)

Perfect Ubuntu Jaunty on the Asus eeePC 1005HA (and 1008HA)

The 1005HA is one of the brand new Asus eeePC netbooks, and it is a great little machine — aside from the fact that it comes with Windows XP or a dumbed-down customised Xandros (allegedly — as time goes on, Asus seem to be selling out to Microsoft).

As the 1005HA is pretty new, it has a few odd hardware quirks that won’t be fully supported out of the box until the next release of Ubuntu.

Here I run through what I did to end up with a 100% working install — including all Fn hotkeys. The good news is that it is very easy!

My perfect Ubuntu setup on the 1005HA

My perfect Ubuntu setup on the 1005HA

If you followed these instructions before, and now want to upgrade to Karmic, see my notes here.

Step 1: Installing Ubuntu

Start off with Ubuntu Netbook Remix. It is designed for netbooks and comes with a customised kernel. Even if you don’t like the special netbook interface, it can be easily reverted to the default Ubuntu look with a single click.

Download it here
, and follow the simple instructions here to create an installer on a USB stick.

Power on your netbook, and repeatedly tap F2 to bring up the BIOS configuration.

Under “Boot settings”, disable “Boot Booster”, 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.

When the machine reboots, hit “Esc” repeatedly to being up the boot menu. Choose the USB key, and away you go.

I wouldn’t bother with the “live preview”, and jump straight into the install.

The Ubuntu install process is straightforward.

Partitioning during install

Partition the disk however you like.

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.

I set /home, /boot and / to format as ext4, and found performance to be great.

Don’t forget to create a swap partition of around 2x the amount of RAM if you want hibernation to work!

The EFI partition is for the Asus Boot Booster feature. It needs to be 8MB — 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.

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 “EFI”, 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.

Wired networking

After install, the first thing you’ll notice is that ethernet and wireless networking aren’t working. Fortunately, they’re easy to fix.

On a computer with working networking, download this file:

atheros-wired-driver-1005ha-linux

Open the zip file (double-click it), and extract it to the location of your choice. Then, in a terminal, navigate (’cd’) to the ’src’ directory of the unpacked files, and type:

make
sudo make install
sudo insmod atl1e.ko

If you receive an error after the first line, and you’re not running Ubuntu Jaunty UNR, ensure you have the linux headers package installed for your kernel — you’ll need to find and download the appropriate .deb and install it. Information is here.

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 sudo rmmod atl1e.ko).

You now have ethernet network — so plug yourself in to a network cable and set up wireless…

Wireless networking

This is easy — you just need to install the driver back-ported from the next Ubuntu release.

First, enable the backports repository: Administration > Software Sources > Updates and enable “Unsupported Updates (jaunty-backports)”.

Then, open Synaptic Package Manager, find the package linux-backports-modules-jaunty, and install it.

Getting rid of the Netbook Remix interface

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 > Switch Desktop Mode.

Gnome panels can take up too much space on a netbook screen — you can set them to auto-hide by right-clicking them and choosing Properties. To speed up the auto-hide behaviour, fire up gconf-editor, and navigate to apps > panel > toplevels, and reduce hide_delay and unhde_delay for each panel.

Super Hybrid Engine, Installing an eeePC tray utility, and getting all hotkeys to work

An eeePC tray utility is useful in order to utilise Asus’ so-called “Super Hybrid Engine”, 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’s integrated peripherals with a click or two, or using the hotkeys.

After a bit of trial and error, I found that the best tool for the job is “eeepc-tray”. It can be installed from a repository, which means that it will be automatically kept up to date.

Follow these simple instructions to add the statux.org repository.

When done, fire up Synaptic Package Manager, and find and install the packages eeepc-tray and eeepc-laptop-dkms. When done, reboot.

Now, all your hotkeys, apart from Fn+Space, Fn+F3, and the top-left touchpad enable/disable buttons,will be working.

Finishing off: Final hotkeys

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.

Create a new plain text file, with the following content:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.product" string="SynPS/2 Synaptics TouchPad">
<merge key="input.x11_options.SHMConfig" type="string">True</merge>
<merge key="input.x11_driver" type="string">synaptics</merge>
</match>
</device>
<device>
<match key="info.linux.driver" string="psmouse">
<merge key="input.x11_options.SHMConfig" type="string">True</merge>
</match>
</device>
</deviceinfo>

and save it as /etc/hal/fdi/policy/shmconfig.fdi.

Then reboot, or restart X (right-alt - SysRq - k), and the touhpad will now be addressable. When you type, it will briefly disable to prevent accidental mousing.

All we need to do now is enable the outstanding hotkeys. Right-click the eeepc-tray icon, click “Edit Configuration”, and paste the following in the empty file:

#Touchpad control
KEY_TOUCHPAD="00000037"
# Fn + space
KEY_FSB="00000039"

And there you go… all working!

Sound and microphone

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 “Int Mic” under the Options tab.

In skype, set your Sound In device to be HDA Intel (hw:Intel, 0). (Sound Out and Ringing should be set to ‘pulse’)

Setting the EFI partition for boot booster

As mentioned above in the partitioning section, for boot booster to work if you removed the default Asus EFI partition during install, you’ll need to set your new 8MB primary partition as type “EFI”. Doing that is simple:

open a terminal, and type sudo fdisk -l to list your partitions. Look for the little Boot Booster partition you set aside. My EFI partition was on device /dev/sda3.

Then, to set the appropriate partition as “EFI”, type sudo sfdisk --change-id /dev/sda 3 ef, replacing “3″ with the device name you found in the previous step (e.g. “2″ for /dev/sda2).

Just be sure you do it to the right partition — back up your data first if you’re unsure!

When you reboot, hit F2, and re-enable boot booster in the BIOS.

Categories: Hardware, Linux Tags: , , , , ,
  1. January 19th, 2011 at 03:11 | #1

    Extremely good Send, i’ve truly being reading this web page recent times but as we speak all of us took the time to say thanks for any guidance you’re the one using with us.

  2. January 28th, 2011 at 14:15 | #2

    :– I am really thankful to this topic because it really gives up to date information `”-

  3. September 11th, 2011 at 22:36 | #3

    Currently it seems like Drupal is the preferred blogging platform out there right now. (from what I’ve read) Is that what you are using on your blog?

  4. wirthi
    October 29th, 2011 at 03:47 | #4

    eee-pc tray is no longer available on statux.org

    for super hybrid engine i propose jupiter, because eee-pc-control (another alternative) caused problems with the wlan hotkey (disabling was fine, enabling only worked manually via iwconfig).
    just go to this site
    http://www.webupd8.org/2010/07/jupiter-ubuntu-ppa-hardware-and-power.html
    for more information. although it states that ubuntu is not supportet, it worked just fine on my netbook

  5. November 9th, 2011 at 23:03 | #5

    I’ve had the best luck with PinguyOS on these Asus eeePC netbooks. I installed 10.04 on my daughters and had a number of issues. However all of those went away when I installed 11.04 PinguyOS on the machine 6 months later.

  6. drjonk
    February 22nd, 2012 at 20:49 | #6

    Hoping someone can help and I’m us this is something simple. When I try to boot from the USB drive all I get black screen with a flashing dash mark in the top left hand corner of the screen. Thoughts? Is the USB drive not formatted correctly? Is the i386 the right OS version?

    Thanks

    JK

Comment pages
1 2 3 4 19
  1. August 6th, 2009 at 03:00 | #1
  2. August 14th, 2009 at 05:48 | #2
  3. August 14th, 2009 at 06:18 | #3
  4. August 24th, 2009 at 03:02 | #4
  5. August 24th, 2009 at 05:28 | #5
  6. August 26th, 2009 at 10:20 | #6
  7. August 26th, 2009 at 23:08 | #7
  8. August 28th, 2009 at 02:11 | #8
  9. September 7th, 2009 at 02:26 | #9
  10. September 7th, 2009 at 02:37 | #10
  11. September 11th, 2009 at 00:12 | #11
  12. September 12th, 2009 at 16:47 | #12
  13. September 16th, 2009 at 14:54 | #13
  14. September 17th, 2009 at 01:49 | #14
  15. September 17th, 2009 at 02:38 | #15
  16. October 5th, 2009 at 19:28 | #16
  17. October 29th, 2009 at 10:09 | #17
  18. November 11th, 2009 at 23:10 | #18
  19. November 22nd, 2009 at 04:51 | #19
  20. December 8th, 2009 at 06:20 | #20
  21. January 5th, 2010 at 17:05 | #21
  22. April 7th, 2010 at 05:39 | #22
  23. May 2nd, 2010 at 17:04 | #23