Setting up Acer Aspire One AO751 Sound and Graphics on Ubuntu 9.10
April 20th, 2010 | Netbook | 0 Comments
This week I started configuring my new netbook to my personal liking but it was a lot more time consuming than it should have been.
The first thing I did was update the bios to the latest release. I always like to this asap as the laptop is still in warranty and the new version is likely to fix and potential problem. The bios version shipped was September 09 and I installed the latest which was March 2010.
Once the bios had been flashed from Windows it was time to say goodbye to Windows. I use windows at work and home but also like using Linux for its superb customization and vast amount of free software.
My distribution of choice was Ubuntu 9.10 as I wanted a full version and something which works without too much extra configuration. I would have used the Ubuntu 10.04 beta release but this currently doesn’t support the Intel GMA 500 chipset.
Once installed I immediately noticed a fuzzy sound coming from the netbook even without playing anything. I managed to fix this by updating the ALSA sound drivers using the steps below.
1. Download the ALSA upgrade script (requires forum registration).
2. Open a terminal.
3. Navigate to the directory that you saved the .tar file in.
4. Perform the following commands:
tar xvf AlsaUpgrade-1.0.22.1-2.tar
sudo ./AlsaUpgrade-1.0.22.1-2.sh –d
sudo ./AlsaUpgrade-1.0.22.1-2.sh –c
sudo ./AlsaUpgrade-1.0.22.1-2.sh -i
My next step was to install the GMA500 Chipset so I could get my native resolution of 1366 x 768 (16:9). After some googling I found this guide and decided to just try it. To my suprise it worked first time.
Steps taken from http://ubuntuforums.org/showthread.php?t=1378746
1. Add the following repositories (/etc/apt/source.list) and install the their keys:
deb http://ppa.launchpad.net/lucazade/gma500/ubuntu/ karmic main
deb-src http://ppa.launchpad.net/lucazade/gma500/ubuntu/ karmic main
deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu karmic main
deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu karmic main #X-Updates PPA
deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu karmic main #X-Updates PPA
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 6699F3D9
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys C6598A30
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com AF1CDFA9
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 6AF0E1940624A220
2. Update system:
sudo apt-get -y update
sudo apt-get -y dist-upgrade
3. Install the following packages:
sudo aptitude -y install psb-kernel-headers psb-kernel-source psb-modules xpsb-glx libdrm-poulsbo1 poulsbo-config psb-firmware
4. Download and install the following package:
sudo dpkg -i xserver-xorg-video-psb_0.31.0-0ubuntu1~904um1_i386.deb
5. Add packages 2D and 3D:
sudo aptitude -y install poulsbo-driver-2d poulsbo-driver-3d
6. Create or edit the file /etc/X11/xorg.conf leaving you with the following configuration:
Section “ServerFlags”
Option “DontZap” “False”
EndSection
Section “Device”
Identifier “Configured Video Device”
Option “IgnoreACPI”
Option “AccelMethod” “uxa”
Option “MigrationHeuristic” “greedy”
Option “NoDDC”
Option “DRI” “on”
Option “Tiling” “true” # i8xx users: see note in guide
Driver “psb”
EndSection
Section “DRI”
Mode 0666
EndSection
Section “Monitor”
Identifier “Configured Monitor”
EndSection
Section “Screen” Identifier “Default Screen”
Monitor “Configured Monitor”
Device “Configured Video Device”
EndSection
#Added for mouse pad
Section “InputDevice”
Identifier “Mouse0″
Driver “synaptics”
Option “Protocol” “auto”
Option “Device” “/dev/input/mouse0″
Option “ZAxisMapping” “4 5 6 7″
Option “CorePointer”
Option “HorizEdgeScroll” “1″
EndSection
7. Add “psb” to the file /usr/bin/compiz in the following line:
WHITELIST=”nvidia intel ati radeon radeonhd i810 fglrx”, leaving it as follows: WHITELIST=”psb nvidia intel ati radeon radeonhd i810 fglrx”
8. Install additional packages of compiz if you want to use the extra features:
sudo aptitude -y install compizconfig-settings-manager compiz-fusion-plugins-extra
9. When the player alternated between video modes “window”, “full screen” and again “window”, the videos began to give “jumps”. So I decided to remove the compiz, significantly reducing this problem. Who wants to choose to do the same to run:
sudo apt-get remove compiz-core compiz-wrapper libdecoration0
I have not found this problem when I switched only mode “window” to “full screen”.
10. Add “enable_mtrr_cleanup mtrr_spare_reg_nr=1 mem=1984mb” to call your kernel in the grub2, leaving the parameter GRUB_CMDLINE_LINUX_DEFAULT of file /etc/default/grub as follows:
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash enable_mtrr_cleanup mtrr_spare_reg_nr=1 mem=1984mb”
For earlier version of grub edit file /boot/grub/menu.lst leaving the parameter defoptions as follows:
#defoptions=quiet splash enable_mtrr_cleanup mtrr_spare_reg_nr=1 mem=1984mb
Do not remove # the previous line (not a comment).
11. Validate the previous amendment:
sudo update-grub
Restart the system.
12. References
https://bugs.launchpad.net/ubuntu/+s…el/+bug/370552
https://help.ubuntu.com/community/AspireOne (To Fix Choppy Video Playback With Intel Video)
http://gadgetmix.com/index/new-gma-5…-karmic-koala/
https://help.ubuntu.com/community/AspireOne/AO751h
http://ubuntuforum-br.org/index.php?topic=58947.0 (Grub2)