Install Ubuntu 8.10 (Intrepid Ibex)

Note Kernel 2.6.27-11 breaks the wired ethernet interface. Bug 313866 has been verified: https://bugs.launchpad.net/ubuntu/+bug/313866 Add to the information to help. Revert to an earlier kernel to fix the wired interface for now. Kernel 2.6.27-13 fixes this break, though it's still in the -proposed repository: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/326891 .

Note Reports have been made that after returning from suspend WiFi quits working as does Gnome-Power Manager. If you are having a problem with either of these, please start a discussion and looks for fixes. [Seems to be fixed by workaround, see below]

Note Upgrading to BIOS v. 3309 from Acer's website fixes visibility issues with the card reader.

Install Ubuntu

As the Acer Aspire One doesn't have a CD drive you must install with an USB drive or an external CD-ROM drive.

Shut down your Aspire One and insert the external USB CD-ROM or the USB stick that we just used. Turn it on and tap F12 to bring up the boot menu.

With a CD-ROM, choose the USB CD-ROM option. With the bootable USB stick created, choose the USB HDD option. This will boot you to the USB CD-ROM/LiveUSB stick, and allow you to install Ubuntu. Install it like normal if you have the hard disk Aspire One. If you have the SDD Aspire One, for good performance and to increase the life of the SSD use a non-journaled filesystem like EXT2.

Installation (file copy) will take a LONG time (hour +). If you are not currently connected to the internet on a wired connection, you may get an error about setting up a mirror. You can safely ignore that error - it's non-fatal.

Fully functional:

  • Suspend / Resume [ works out of box ]
  • Video (with desktop effects)[ works out of box ]
  • Wireless Networking [ ath_pci loads by default instead of ath5k, but the fix is easy (see below)]
  • wifi power saving [ works out of box ]
  • Wired Networking [ works out of box (broken in kernel 2.6.27-11, see note above)]
  • Webcam [ works out of box ]
  • USB [ works out of box ]
  • Silent Fan [ fan works, silent?? needs scripts ]
  • Audio [ semi-working (output only), internal mic DOES NOT WORK on 2.6.27*; mic can be fixed by updating alsa; audio output over speakers broken since kernel 2.6.27.7; ]
  • Card Reader power saving [ not tested ]

Partial Function:

  • wifi kill switch [ working, but no notification ]
  • Card Readers, BIOS 3109 [ Work out of the box, but write errors after suspend and on SDHC cards]
  • Card Readers, BIOS 3305 [ Pre 2.6.27.7: Only right card reader works after setpci described above; see below for SDHC support]
  • Card Readers, BIOS 3305 [ 2.6.27.7: Both card readers work again after setpci described above; see below for SDHC support; The insertion of cards is automatically detected.]
  • Remark 1: Support for SDHC cards can be enabled with BIOS 3305 and 3309 for kernel 2.6.27 and 2.6.28 via a module parameter. Add "options sdhci debug_quirks=1" (without double quotes) as seperate line to a new file in directory "/etc/modprobe.d" so that the "sdhci" kernel module loads with this module parameter.
  • Remark 2: The kernel module "pciehp" is necessary with BIOS 3309 for kernel 2.6.27 and 2.6.28 to enable automatic card detection in the right card reader. Add "options pciehp pciehp_force=1" (without double quotes) as seperate line to a new file in directory "/etc/modprobe.d". The "setpci" command is no longer required with these BIOS and kernel versions.
  • Conclusion: The card readers are fully supported with BIOS 3309 and kernel >=2.6.27. Two module parameters are required therefore.

Not Functional:

  • Hibernate on A110L [ Seems to work for for some if there is a swap partition that is big enough so we can suspend to it. Test carefully before using!. ]

Wireless module

  • There has been some confusion as to which wireless driver provides the best performance and reliability. One user reports:

    • madwifi from kernel (ath_pci) - does not attach to hardware.
    • ath5k from intrepid backports (ath5k) - connects to hardware, but experiences disconnects on medium to heavy wireless activity, and can not communicate with some AP's using WPA2 PSK. If the wifi disconnected during an upgrade and subsequent tries to upgrade the system always result in an "E: Sub-process /usr/bin/dpkg exited unexpectedly" you can recover from this using an "sudo rm /var/cache/apt/archives/*"
    • madwifi-hal from http://snapshots.madwifi-project.org/ (ath_pci) - Everything works.

    • Note- AcerOne 751h (11.6") - BbodhiZazen - the madwifi driver from "http://snapshots.madwifi-project.org/" works, but disconnects under even light loads. I suggest you use Ubuntu 9.04.

That user recommends using the most recent snapshot of madwifi-hal from http://snapshots.madwifi-project.org/

wget http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6-current.tar.gz
sudo apt-get install build-essential linux-headers-$(uname -r)
tar -xzf madwifi-hal-0.10.5.6-current.tar.gz
cd madwifi-hal-0.10.5.6*/
make
sudo make install
sudo modprobe ath_pci
  • You may have to append ath_pci to /etc/modules:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
ath_pci
  • This driver should work under all conditions. One user reports testing the driver under heavy load (3MB/s sustained for 2 hours, no hangup), tested for correct suspend/resume functionality, and verified it communicates correctly with WEP, WPA, WPA2, against recent Linksys, Dlink, and Cisco hardware.

    Now you should create a script to restart the interface on awake from suspend mode, as it will otherwise hang. As root, create /etc/pm/sleep.d/00wireless:

#
# Restart WiFi interface after suspension
#

case "$1" in
        resume|thaw)
                /sbin/ip link set wifi0 down
                /sbin/ip link set wifi0 up
        ;;
        *)
        ;;
esac

exit $?

Don't forget to make it executable:

sudo chmod u+x /etc/pm/sleep.d/00wireless

It may be necessary to remove the ath_pci module when suspending, and reinsert on resume. Create a new file in /etc/pm/config.d/ called 01-madwifi or whatever you prefer. Insert the line

SUSPEND_MODULES="ath_pci"

Then create a new file in /etc/pm/sleep.d called 90madwifi or similar, with the following content (this example was copied from an existing file in the directory):

case "$1" in
        hibernate|suspend)
                # Do nothing. ath_pci is already in SUSPEND_MODULES
                ;;
        thaw|resume)
                # Insert the wireless driver into the kernel            
                modprobe ath_pci
                ;;
        *) exit $NA
                ;;
esac

Alternatively, you could have this script modprobe -r ath_pci on suspend instead of using SUSPEND_MODULES.

Wireless LEDs

  • the wireless leds need an entry in /proc
  • with wireless on/off works, but there is no notification in Gui

"To get your wireless led to blink for you based on traffic, put these lines at the end of /etc/sysctl.conf."

dev.wifi0.ledpin=3
dev.wifi0.softled=1

Then either reboot or do sysctl -p

The led on the front will now do the association blink, as well as blink based on wireless traffic.

Audio

# enable sound after suspend on Aspire One LP#249961
options snd-hda-intel model=acer
  • After installation of Intrepid on Aspire One Model NO:ZG5 (chip 82801G, from lspci) audio worked fine, but microphone did not. There were an input device, however gnome-sound-recorder hanged on recording and pacat produced noise, that had no relation to real sounds. Upgrading alsa to 1.0.18a fixed all microphone issues: gnome-sound-recorder started to produce quite a clear record of sounds. External mic has also been tested, results are positive. To upgrade alsa, download alsa-driver-1.0.18a.tar.bz2 (or later, 1.0.18a tested on 19 Jan 2009) from http://alsa-project.org/, unpack the archive, open terminal, cd into the newely-created folder and run the following commands:

    sudo apt-get install build-essential linux-headers-$(uname -r)
    ./configure --with-cards=all
    make
    sudo make install
    These commands will build new alsa drivers and copy them to a proper location. After rebooting, adjust microphone volume, that is set to zero by default and test microphone with gnome-sound-recorder.

Add the following to the end of /etc/modprobe.d/options after installing alsa this way:

options snd-hda-intel model=acer-aspire

Not simply "model=acer"!

This may also require that you recompile your wi-fi drivers, as stated above.

External Video

Some have experienced an intermittent "blank screen" when using an external monitor. This is related to a bug in the xserver-xorg-video-intel driver version <=2.4.1 described here: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/257894

The fix seems to be updating the driver to the 2.5.1 backport from jaunty. See the thread following the bug description for directions on howto fix. The bug also seems to be fixed in Jaunty which uses the 2.6.x intel driver.

Set Correct Font Size

(copied from Debian Acer Aspire One Help) When running under X, the native/optimum resolution is 1024x600 (standard widescreen ratio). The default X11 configuration will give you fonts that are too large for this resolution - You can add the following line to the "Monitor" section of your "/etc/X11/xorg.conf" file:

 DisplaySize  195 113

And add the line:

 Option     "NoDDC"

to the "Device" section.

That sets the resolution to the correct 96 DPI.

Note: This works fine in kubuntu as the fonts were big. ubuntu seems to have better font sizes.

Setup fan control as described above

rc.local may not be executable so
sudo chmod a+x /etc/rc.local
comment out the line /usr/sbin/set-usb-persist 0951 1606 on

Install NetBook Remix

  1. Disable Visual effects

    System-Preferences --> Appearance -> :!VisualEffects=none

  2. Set WorkSpaces to 1x1
    right click Workspaces --> Preferences

  3. add the Repo for netbook-remix

     System --> administration -->SoftwareSources  and add source:

     deb http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main
     deb-src http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main

    Or in a terminal type: gksudo gedit /etc/apt/sources.list

    This will bring up your source list. Add these two lines to the end of your source list:

    deb http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main
    deb-src http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main 

    In a terminal type:

    gpg --keyserver subkeys.pgp.net --recv 3F2A5EE4B796B6FE
    gpg --export --armor 3F2A5EE4B796B6FE | sudo apt-key add -
    sudo apt-get update 
    to update your source lists.
  4. Install the Netbook remix packages

    In a terminal type:

    sudo apt-get install go-home-applet human-netbook-theme maximus netbook-launcher window-picker-applet
    You also need to set maximus and ume-launcher startup programs

    System --> Preferences --> Sessions

    add /usr/bin/netbook-launcher

    add /usr/bin/maximus
    logout/login, or restart if that doesn't work.
    Note: VLC does not play well with maximus. If you are going to use VLC, disable maximus

  5. Maximize your work area

    To maximize your workspace area, you might want to remove the bottom pane, by right clicking the bottom panel and selecting the "Delete this Panel" option.
    logout/login, or restart if that doesn't work

  6. Configure the Top Panel
    To get the most from your top panel you will want to add functions to your top panel. Right click the top panel and select the "Add to the Panel" option. Some suggestions include: GoHomeApplet, WindowPickerApplet, NotificationArea, and VolumeControl.

Upgrade from Hardy Heron (8.04.1) to Intrepid Ibex (8.10)

(Originally written by khaeru. Last updated 24 November 2008: Made the wlan work again.

Use:

 $ update-manager -d

after following the first section of this guide. Following the above notes and some trial and error, the following configuration files work.

Note that shell commands preceded by "#" should be run as root (i.e. using sudo); commands preceded by "" should be run as a normal user.

/boot/grub/menu.lst

Changing the default options:

...

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=elevator=noop quiet splash

...

Rather than editing the boot lines directly and risking an unbootable system, run the following to automagically update all boot lines:

# update-grub

/etc/modules

add the following line:

ath5k

Seems not to be necessary for all, this line, but does never harm; snd_hda_intel driver is loaded automatically.

Since the ath5k driver is not installed by default (see below)

  • Enable the backports repositories in /etc/apt/sources.list (remove the # signs in front of them)
  • Install "linux-backports-modules-intrepid" e.G. using synaptics

/etc/modprobe.d/aspireone

Rather than modify the other files in this directory, create a new file just for Aspire One settings. It will be processed along with the rest on boot.

####################################################################
# Module options for the Acer AspireOne
#
# Enable USB card reader
options pciehp pciehp_force=1

Notes

  • ath_hal and ath_pci don't need to be blacklisted if they are disabled if they are disabled using system/administration/hardware drivers

  • 2008-10-20 00:19:20

  • pciehp added per jsgoncalves

  • This file may no longer be needed as of 19 October 2008 -- khaeru 2008-10-20 00:19:20

    • See above note about ath_hal and ath_pci
    • options snd-hda-intel model=toshiba is no longer necessary; sound works

      • recording does not work in a default install as of 26 October 2008 (attempting recording produces nothing but fuzz in output file, no matter alsa volume levels) (dsm-iv-tr)

    • options usbcore autosuspend=1 has been the default in Ubuntu for some time (https://bugs.launchpad.net/ubuntu/+source/powertop/+bug/136549)

/etc/sysctl.d/60-aspireone.conf

The file /etc/sysctl.d/README states, "End-users can use 60-*.conf and above," so we do this instead of fiddling with sysctl.conf itself or calling "sysctl -w" from rc.local:

###################################################################
# Settings for the Acer Aspire One
#
# No swapping whatsoever
vm.swappiness = 0
# As suggested by PowerTOP
vm.dirty_writeback_centisecs = 1500
# Suggested by https://help.ubuntu.com/community/AspireOne
vm.vfs_cache_pressure = 0
vm.dirty_ratio = 20
vm.dirty_background_ratio = 10
vm.laptop_mode = 5

Note: Swappiness may be set to zero for an Aspire One with 1.5 GiB of RAM and no swap partition. You may wish to use another value (e.g. 10 as suggested above).

/etc/rc.local

Here we include only settings that cannot be placed in the above files.

#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# https://help.ubuntu.com/community/AspireOne
# Wireless disable/enable key
/usr/bin/setkeycodes e055 159
/usr/bin/setkeycodes e056 158
# Decrease power usage of USB while idle
[ -x /sys/bus/usb/devices/1-5/power/level ] && echo auto > /sys/bus/usb/devices/1-5/power/level
[ -x /sys/bus/usb/devices/5-5/power/level ] && echo auto > /sys/bus/usb/devices/5-5/power/level
# Disable Wake-On-LAN feature of Ethernet port
ethtool -s eth0 wol d
# As in the rc.last.ctrl of Linpus
echo 1 > /sys/devices/system/cpu/sched_smt_power_savings
# Fan control
/usr/local/bin/acerfand

exit 0

Notes

  • As noted elsewhere, the wireless kill switch on the front of the case works, but there is no visual notification. Search around the Network Manager project and notice references to "rfkill" and "KillSwitch", neither of which is implement in NM yet.

  • The wireless LEDs don't work; the "dev.wifi0" settings aren't included because they only generate errors.
  • ethtool is not installed by default in Intrepid (as of RC1). This will cause rc.local to fail unless it is installed.

/etc/init.d/rc

To improve boot speed, as noted above.

...
CONCURRENCY=shell # https://help.ubuntu.com/community/AspireOne
...

/etc/profile

In Intrepid, the following no longer causes the artifacts mentioned above for Hardy.

...
umask 022

# https://help.ubuntu.com/community/AspireOne
export INTEL_BATCH=1

/etc/X11/xorg.conf

As noted above.

...

Section "Device"
        Identifier      "Configured Video Device"
        # https://help.ubuntu.com/community/AspireOne
        Option          "MonitorLayout" "LVDS,VGA"
        Option          "Clone" "True"
        Option          "AccelMethod" "EXA"
        Option          "MigrationHeuristic" "greedy"
        VideoRam        229376
        Option          "CacheLines" "1980"
EndSection

...

AspireOne/Old/Ubuntu8.10 (last edited 2012-04-26 20:19:30 by lozano-cv)