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.

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

  1. Thanks a bunch! I’m a relative newcomer and my eeebuntu went down and when I reinstalled it there was no internet! I appreciate your help!

  2. This is a great guide although I installed UNR 9.10 instead of Jaunty. I liked how you shared your partition table as I always get confused by this.

    On a fresh install of UNR 9.10, I can’t seem to find how to switch from Netbook Remix to standard Ubuntu desktop. There’s no Preferences > Switch Desktop Mode.

    But I’m content with it for the moment. Thanks for this great guide.

  3. I wanted to “stress-test” the new OS X installation to see how it handles against a real Mac, so I installed the complete Logic Pro package (8 DVD’s). It actually works, only giving me a “warning” at boot because the resolution is lower than the required 1024×768.

    See the screenshot at http://files.minihost.nl/image/show/F7ftIXgCOR/picture-6.png and take a loot at the processor usage gauge in the lower-right. It actually splits, showing two processors. :-D

  4. Pingback: Ubuntu Netbook Remix en Eee PC 1101ha | tail -f | sysadmin

  5. Foremost, let me commend your uncloudedness on this subject. I am not an expert on this subject, but after studying your article, my understanding has developed well. Please allow me to take hold of your rss feed to remain in touch with any forthcoming updates. Fabulous job and will extend it on to supporters and my web site readers.

  6. You are the man! I bought my daughter a 1005HA for her birthday, and the first thing I wanted to do was blow away the pre-installed Windoze 7 and install eeeBuntu. I’m fairly well versed in Linux and Ubuntu, but the tips you provided were way beyond what my knowledge would have allowed me to figure out. Her machine is working like a charm! The statux repos appear to be offline, but I was able to get the headers and image debs from the Ubuntu repos.

    Thanks again!

  7. Pingback: Installing Ubuntu Karmic on eeePC 1005HA | Life and Science

  8. This article is actually the best on this noteworthy topic. I absolutely feel the same way with your viewpoints and will eagerly look forward to your next updates. Saying thanks will not just be sufficient, for the fantastic clarity in your writing. I will immediately grab your rss feed to stay in the loop of any updates. Admirable work and good luck in your website promotion!

  9. About Squeeze (testing) Debian version, on eeepc 1005ha-h:
    I have installed eeepc-tray (1.0.17), eeepc-acpi-utilities (1.1.48), eeepc-acpi-scripts (1.1.6).

    - I do not have Fn-F10, Fn-F11, Fn-F12, I mean sound, running !
    - I do not have the “Enable Camera” icon on my eeepc-tray. Just missing. However, for instance, on linux-mint OS, all is fine.
    - I do not have Fn-Space functionality, nor Fn-F2 for wireless status !!!

    Note: Fn-F1, Fn-F5, Fn-F6, Fn-F7 are fine.

    Thank you if you could help me

  10. Does anyone have any experience installing either Kubuntu or PC Linux in ASUS 1005HA? I like the KDE better…

    Thanks

  11. i did this but was unable to reenable boot booster as i know longer see it in the BIOS options. i did switch a partition to EFI and when i run fdisk -l it does list one as EFI as the type

    any ideas?

  12. Great tutorial!! I did everything and everything worked except the boot booster function. I made the partition for it and labelled it but the option does not appear in the BIOS menu. I need some help in that.

  13. Pingback: Perfect Ubuntu Jaunty on the Asus eeePC 1005HA (and 1008HA) « kravca.mu/blog

  14. Dude thanks for your instructions. Your article very helpful. I have only one question .I’ve installed the latest release of Ubuntu netbook remix on my asus 1005ha netbook and i can’t get rid of the Interface cause there is not any option that can switch between classic desktop and Ubuntu remix desktop. Any suggestions?

    Greetings from Greece

  15. I kind of love the Asus Eee PC because it is very small and very light. I have an Acer Laptop and it is really a big burden on my small shoulders :

  16. Pingback: How to install Ubuntu 10.04 Lucid Lynx on an Asus EeePC 1005HA Netbook « matt inouye

  17. I would like to use EEEbuntu, but ONLY if I can install a version that WORKS, “right out of the box”, without having to tinker with it. I am NOT a geek or techie, have no interest in becoming one, and don’t want to have to mess with my OS.

  18. 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.

  19. 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?

  20. 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.

  21. 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

  22. ASUS stands out as the company that initiated this whole entire netbook fad where the idea is to have compact laptops under 12 in . that are equipped with fundamental specifications but nonetheless capable of doing basic tasks including browsing on the web, transmitting and receiving e-mail, as well as operating office applications. They cost much less as compared to other midrange laptops sized TWO inches larger, are lightweght and also have above average battery life as a result of being more basic. Multitasking is oftentimes pretty restricted as a result of all round sluggishness, especially if they may be using later versions of Windows. Faster hardware was utilized in the Asus 1201N but the effect was that the life of the battery was reduced. The Asus EEE PC 1215N is the successor hoping to combine overall performance in addition to value together with better portability…

    Most recently released piece of writing from our website
    <.http://www.caramoanpackage.com/

  23. I would like to thank You for this article and please allow me to have the opportunity to show my satisfaction with HostGator web hosting. They offer professional and instant support and they also offering many HostGator discount coupons.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>