JfwHome

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

by admin on Aug.06, 2009, under Linux

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.

:, , , , ,

148 Comments for this entry

  • nick

    Is there anyway to get the wifi drivers off of another computer via usb? All the drivers I’ve found are for a newer kernel. :(

  • Yianni

    Thanks for all the great information. Networking works like a charm for me :)

  • Daniel

    EEE PC 1005HA
    Backports drivers did not work in may case.
    I found a solution at:

    http://otroblogmas.com/instalar-en-ubuntu-los-drivers-para-atheros-ar9285/

    (Spanish)

    http://linuxwireless.org/en/users/Download/stable/#Releases

    (English)

    Thanks for the other tricks.

    Daniel

  • Basil

    Hello,

    unfortunately booting from the thumb-drive does not work for me on 1005HA. I followed the instructions most slavishly - I downloaded UNR, used dd instead of cp to write it to the thumb-drive, disabled the Boot Booster, saved the settings, brought up the boot menu and chose the thumb-drive.

    1) When trying to boot from my thumb-drive, the URN image is ignored, no error message appears, and XP is loaded from the HD.

    2) When trying to boot from a borrowed thumb-drive, the error message “missing operating system” appears and XP is not loaded, but the machine must be manually rebooted.

    3) When trying to boot a Thinkpad from the borrowed thumb-drive, everything works as expected, which means, the image on the thumb-drive is indeed bootable.

    4) When trying to install URN from within XP, the program wubi.exe does not run. When I click on the icon, the cursor becomes busy for a couple of seconds but no window appears. When I try to execute wubi from the command line by issuing
    E:
    wubi (or wubi.exe, or wubi.exe –cdmenu)

    nothing happens. (The –cdmenu flag was found in the autorun file.)

    Any ideas?

    Is it OK to install the normal Ubuntu distribution from a CD image (http://releases.ubuntu.com/9.04/ubuntu-9.04-desktop-i386.iso)?
    Or is UNR indispensable for getting all hardware to work?

    Thanks in advance,
    Basil

  • basil

    Hello again,

    a workaround that worked for me was to use the Eeebuntu Standard Edition, http://www.eeebuntu.org/index.php?page=standard, which is available as an ISO image.

    Regards,
    Basil

  • percy

    u~~~~~maybe should leave a MSN or others to me~
    my:percywrm@hotmail.com

    your beloved percy~~HAHAHAHa

  • theboy

    Great tutorial. I am very grateful that you shared your work. I never would have been able to get things set up with such ease. Thanks.

    I had none of the problems described by some other commenters.

    I suggest initially setting up what will become the bootbooster ef partition as “unused.” It will become used when you change the partition type later.

  • Tom

    It seems that the deb http://www.statux.org/ubuntu jaunty main repository is no longer there! Is their anywhere else I can get these packages?

  • ukay

    Hi there.. sadly seems that eeepc-tray developer gives up:

    http://www.fewt.com/2009/10/i-give-up.html

    So for those who add his repo, they will receive a “403 forbidden” error by updating the list.

  • effequattro

    Great thanks for your precious informations. I’m an absolute beginner in Ubuntu, buyed two days ago an Asus eeePC 1005HA with Windows XP preinstalled, made a dual boot installation but when I started Ubuntu Remix I had the sad surprise that Internet was not running. I followed your suggestion in ‘Wired networking’ and now Internet is going on smoothly! I don’t really know what will happen when I’ll follow you next suggestions! :-)
    Thank you very much again!

  • Garry

    Thanks for posting about getting the wifi to work. Been scouring the web and your page is the first decent one I could find. I went through the first part with no problem but could not find this:
    “Then, open Synaptic Package Manager, find the package linux-backports-modules-jaunty, and install it.”
    Any ideas?

    So, I’m quite new to linux. This is my first exposure so got a lot to learn. Maybe you could help with another issue. When I first loaded the OS onto a USB stick and booted, the MBR got trashed and windows would not boot. Got a GRUB error 22. So just loaded linux and wiped out windows. I would like to have a dual boot machine. The disk that came with the Eeepc does not boot from the USB CDrom. Looking for some help.

    Thanks.

    You rock!

  • melissa

    @Jan - I have the same problem. Battery life is MUCH better in XP than in Ubuntu (others on message boards are reporting the same problem). It seems that Ubuntu just uses way more battery and there is no fix.

    The problem I am having now is that the computer won’t suspend after idle if the lid is closed. It works fine when the lid is open, but not when it is closed. I don’t want it to suspend every time I close the lid (although that function works fine), just when idle for a certain period of time. It just won’t work if the lid is closed. Anyone else?

  • mdihsan

    really helped and motivated me.

    thanks!

    if you get a chance to come to Malaysia, I’ll get you a cup of coffee. :D

    adios

  • jenny

    are you using a special theme? and where did you get the desktop background? looks really good.

  • Ron Litton

    Sorry, not “newbie friendly” enough. I just bought an ASUS Eee, mod. 1005HAB, from Best Buy, loaded with XP. I know NOTHING about any form of Linux, but wanted to try it, so I bought a 2G flash drive with the Eeebuntu Netbook Remix install loaded on it. I installed with little difficulty, but now my 1005HAB can’t find it’s wifi adapter, so I can’t connect to the Internet. You say “you just need to install the driver back-ported from the next Ubuntu release.

    First, enable the backports repository (WHAT’S THAT AND HOW DO I ENABLE IT?): Administration > Software Sources > Updates and enable “Unsupported Updates (jaunty-backports)”.

    Then, open Synaptic Package Manager (WHAT’S THAT AND HOW DO I OPEN IT?), find the package linux-backports-modules-jaunty, and install it (INSTALL IT HOW, AND DOESN’T THIS REQUIRE AN INTERNET CONNECTION?).

    Hey, I appreciate your attempt at a simple process, but it’s NOT SIMPLE ENOUGH for us total know-nothings! With time and trying, I’ll know more, but I’m not there yet, and need it even simpler. Got a simple, step-by-step fix for me, that I can implement either without an Internet connection, or by booting the netbook in XP and downloading files to a flash drive?

    Thanks,
    Ron Litton

  • Tenzing

    Where to find “linux-headers-2.6.28-11-generic”:

    See this link. It tells where and how. I was stuck on this step for a while until I found this link:

    http://insanelabs.com/misc/misc-asus-eee-pc-1005ha-network-adapters-and-ubuntu-jaunty-netbook-remix/

  • Mohammad

    Great tutorial, many thanks it really help get most of the stuff setup for me. again thanks

  • Alex

    Thanks so much, been trying to get the Wifi on my eee pc 1005 all day. tried your fix and all working fine now

  • comment11

    The battery life is better than Windows, just uninstall garbage like ubuntuone & couchdb

  • comment11

    and of course enable laptop-mode-tools (the Debian branch)

  • Xebek

    Thanks a lot for this guide, I was able to install Ubuntu on my 1005HA. One question though, I’ve run into a big problem no one seems to be able to figure out for me. When I leave the netbook alone and it automatically dims the brightness due to being idle, once I wake it up by doing whatever (moving cursor, hitting a button) the brightness will shoot up to 100 percent, and not whatever it was left at.

    This is very annoying as I sometimes have to use it at a dim setting in class, but after it auto dims, it is very annoying to have to manually lower it back down.

    Any fix to this?

  • varanasi

    Thanks for the tutorial. Perfect.

    Two questions . . . Have you tried Karmic yet? (Please, please, please!)

    Second, many people have reported baulky, intermittent wireless connections. Me, too. Seems to be after a suspend. From one of the threads:

    The best way to reproduce the wifi problem is:
    - Boot
    - use your EEE with wifi…. it works.
    - suspend
    - on wake up, sure your wifi is not opera[ting] as well

    Any ideas?

  • Mondotofu

    Shane & Admin:

    To get the linux-headers deb package, you can go to a working Ubuntu desktop and enter the following command:

    sudo apt-get install linux-headers-2.6.28-11-generic

    After the setup finishes, you will find

  • Mondotofu

    Shane & Admin:

    To get the linux-headers deb package, you can go to a working Ubuntu desktop and enter the following command:

    sudo apt-get install linux-headers-2.6.28-11-generic

    After the setup finishes, you will find the deb that you need in the /var/cache/apt/archives directory.

    -rw-r–r– 1 root root 8692696 2009-04-17 00:06 linux-headers-2.6.28-11_2.6.28-11.42_all.deb
    -rw-r–r– 1 root root 667528 2009-04-17 00:07 linux-headers-2.6.28-11-generic_2.6.28-11.42_i386.deb

    Copy both files to the eeepc and place in any directory.

    Run the
    dpkg -i linux-headers-2.6.28-11_2.6.28-11.42_all.deb

    to set up your environment to build the src for the Atheros network card.

    Hope this helps!

  • ravi

    does this work with UNR 9.10?

  • admin

    Ron: It is as newbie friendly as I wanted to make it. I could have pasted commands for you to blindly copy, but wanted people to understand what they are doing. If during the course of that, you had to do a Google search to find out what a package manager is (and how great it is), then I think I’ll be achieving my goal.

    I won’t get down to utter basics - -that’s not what this guide is for. Similarly, if you wrote a guide for Windows, I don’t expect you would tell people how exactly to get to “Control Panel” or what the Start Menu is.

  • soulish

    Hi all, this guide is fantastic and I thank you for putting it up. But I am still having a problem with the touchpad that was mentioned a few pages back in the comments. Namely I can not get the button associated with turning the touchpad off to do that. Instead, when I hit the button it gives me the following message: “Unable to disable touchpad; Ensure xorg.conf is properly configured.” Let me mention here that I have the full install of Ubuntu 8.10 not the netbook remix. And I think I got it like a day before the official release. It seems that in this install, for some reason, the xorg.conf file is not generated by default. So I was able to generate a generic one by running Xorg -configure and then I could modify that file. However, I can find no consensus on the web as to how I need to modify that file and regardless, every method I did try led to nothing different that my current state. BTW, the Super Hybrid Engine works fine with Fn+Spacebar which was defined in the same place as the touchpad button so hopefully it should be able to work. Any help is greatly appreciated. Thanks

  • keith Mitchum

    While attempting to get ethernet working, I typed in

    sudo insmod atlle.ko and got message file does not exist. Any ideas?

  • Adi

    Hi, is there a way to make it dual booting with XP??
    Please share if you know about that, and please details coz I’m absolutely new in ubuntu..

  • admin

    Adi: yes, but I hate dual-booting myself — it is not particularly convenient. I dumped windows altogether 4 years ago and have never looked back. I have Windows 7 in a virtual machine for my wife for the occasional ActiveX-powered website or dodgy Chinese software that she needs to use.

  • Ravi

    Great tutorial, it was like a cake walk all the way during installation.

    Thanks
    Ravi

  • Scott

    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!

  • Eric

    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.

  • Luca

    Thank you so much for this wonderful link. I was very very very helpful!

  • Ruben.cc

    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

  • Mel Dawson

    Thank you. Used your guide to get Mint 7 up to speed on my Eee1005HA.

  • Jaymie Guadiana

    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.

  • JonahB9L

    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!

  • fladd

    Hi there,
    nice blog post.
    I just wanted to link to mine as well, were I talk about installing Karmic on the 1005HA.

    http://blog.fladd.de/2010/01/ubuntu-910-netbook-remix-on-asus-eee-pc.html

    Regards,
    fladd

  • Marcia Roudebush

    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!

  • about debian hotkeys

    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

  • ramon

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

    Thanks

  • parker

    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?

  • RG

    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.

  • Tyler

    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

  • Xenia Meester

    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 :

  • Genesis Alexander

    Another good thing about the Asus Eee pc is that it does not overheat when used over long periods of time. .`

23 Trackbacks / Pingbacks for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Archives

All entries, chronologically...