Revision 11 as of 2010-01-21 04:07:51

Clear message

The AspireOne 751h has a 1366x768 pixel 11.6" screen.

BodhiZazen - Hats off the the UNR team, but be warned, the UNR remix is slow an almost usable on an AspireOne 751h (11.6"). Better to perform a standard install on this hardware.

Enabling 1366x768 Resolution

The below fixes do not work in 9.10 This is a confirmed bug under xorg(ubuntu) https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/426791 xorg(ubuntu). Instead use the work around found at https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo

With this variant (popular because it's available at Costco), the maximum graphics resolution (1366x768) does not work out of the box. To install an updated graphics driver, add the following line at the end of /etc/apt/sources.list:

deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main

then run the following commands in the terminal:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6598A30
sudo apt-get update
sudo apt-get install xserver-xorg-video-psb psb-kernel-source
sudo shutdown -r now

If an update to a later version (such as an upgrade from 2.6.28-11 to 2.6.28-14) breaks the graphics driver on your 751h, continue booting to the desktop (select the Run one time session with low graphics option) then run the following commands in the terminal:

sudo apt-get remove psb-kernel-source
sudo apt-get install psb-kernel-source
sudo shutdown -r now

DO NOT use the --reinstall flag to attempt this fix (it will likely crash your session). Use the remove option first, followed by the install option as shown above.

Post install performance is a bit sluggish and can be fixed with a small edit to /etc/X11/xorg.conf. Open the file for editing (gksu gedit /etc/X11/xorg.conf ) and add these lines (under the "Device" section):

Section "Device"
        Identifier      "Configured Video Device"
#        Option          "IgnoreACPI"    # This option may cause problems with Resume
        Option          "AccelMethod" "exa"
        Option          "MigrationHeuristic" "greedy"
        Option          "NoDDC"
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

Restart X (log off and back in).

Installing the Poulsbo as mentioned above also allows the Function Keys to change the LCD screen brightness.

Fixing Suspend

Poulsbo driver will break suspend. For fixing it, meanwhile hal patch reaches ubuntu you can edit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi and add the following at the end (before the last </match>):

<match key="system.hardware.product" string="AO751h">
   <merge key="power_management.quirk.dpms_on" type="bool">true</merge>
   <merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
   <merge key="power_management.quirk.vbestate_restore" type="bool">true</merge>
 </match>

To have laptop suspend when laptop lid is closed, modify the setting in System-->Preferences-->Power Management.

Fixing Microphone

Get newer version of alsa-driver (version 1.0.22 tested and works)

unpack the source archive, run configure, compile, and then install with root perms

tar -xjvf alsa-driver-1.0.22.tar.bz2 && cd alsa-driver-1.0.22 && ./configure && make
sudo make install

Edit /etc/modprobe.d/alsa-base.conf and add the following to the end of the file

#added acer aspire one settings
alias snd-card-0 snd-hda-intel
options snd-hda-intel model=acer

Reboot system

*Ok now this is the weird part* (tested and works for both alsa and pulseaudio)

Open your favorite sound mixer change to the "Capture" or "Recording" section For both the volume sliders Capture, Mic, Digital (depending on what you see) turn the volume all the way down on the left slider turn the volume all the way up on the right slider

Note: if both right and left sliders are equal or up you will get either no mic or heavy static when recording (not predictable which). If you run Skype you will need to unselect "Allow Skype to adjust mixer levels" because it will gang the two channels together and stop working. Also mute the mic(s) in the "Playback" section until you tested everything works.

Wireless Configurations AO751h

Here is a personal comparison of all the possible ways to get your wireless working. I hope this information helps you decide which option you want to use.

Wireless NIC in the system for this comparison

user@ubuntu:~$ lspci | grep -i wireless
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

Wireless router used in comparison: Linksys Wireless-N Broadband Router WRT160Nv2

Kernel Module: ath5k (default using on install)

Pros: works out of the box, acer wifi switch works

Cons: Slow performace, limited range from wireless access point, acer wireless lights don't work, Normally find the following log entry in /var/log/messages: "noise floor calibration timeout"

Kernel Module: ath_pci (madwifi driver)

Pros: included in the install, (but blacklisted due to conflict if using ath5k), Improved speed compared to ath5k, acer wifi switch works

Cons: limited range from wireless access point, acer wireless lights don't work

To enable ath_pci edit blacklist: /etc/modprobe.d/blacklist-ath_pci.conf

and reboot

# For some Atheros 5K RF MACs, the madwifi driver loads buts fails to
# correctly initialize the hardware, leaving it in a state from
# which ath5k cannot recover. To prevent this condition, stop
# madwifi from loading by default. Use Jockey to select one driver
# or the other. (Ubuntu: #315056, #323830)

# Comment out the blacklist entry for madwifi
# blacklist ath_pci
# Blacklist ath5k module so it won't load and cause conflicts with madwifi
blacklist ath5k

Kernel Module: ndiswrapper (Windows Wireless driver)

Pros: Fastest Speed, Greatest Distance from wireless access point, acer wifi switch and lights work

Cons: Need to update ndiswrapper (the version shipped with 9.04 didn't work), The dirty feeling you get resorting to a Windows driver (matter of principle)

To enable ndiswrapper change blacklist to stop both madwifi and ath5k from loading /etc/modprobe.d/blacklist-ath_pci.conf

# For some Atheros 5K RF MACs, the madwifi driver loads buts fails to
# correctly initialize the hardware, leaving it in a state from
# which ath5k cannot recover. To prevent this condition, stop
# madwifi from loading by default. Use Jockey to select one driver
# or the other. (Ubuntu: #315056, #323830)

blacklist ath_pci
blacklist ath5k

Get newer version of ndiswrapper (version 1.55 tested and works)

unpack the source archive, run configure, compile, and then install with root perms

tar -xzvf ../ndiswrapper-1.55.tar.gz &&  cd ndiswrapper-1.55 && make clean && make
sudo make install

reboot system, verify ndiswrapper is running

user@ubuntu:~$ sudo lsmod | grep ndis
[sudo] password for user: 
ndiswrapper           193308  0 

download the 32bit WinXP Wireless driver from Acer Website, unzip, install driver

unzip "Wireless LAN_Atheros_7.6.1.221_XPx86_A.zip"  && cd "Wireless LAN_Atheros_7.6.1.221_XPx86"
sudo ndiswrapper -i netathw.inf

Verify the driver is registered with ndiswrapper

user@ubuntu:~$ sudo ndiswrapper -l
netathw : driver installed
        device (168C:001C) present (alternate driver: ath5k)

At this point hal should know about the device and you should be able to use it. If not try rebooting.

3D Video (Alt. Config AO751h)

There is another solution to activate DRI (3D hardware accelaration, compatible with Compiz) : freeing memory at the kernel level for the GMA500.

Info : there is a facegroup Group in order to ask Intel to open the source of the GMA500 driver.

Note: This Alternate configuration has been successfully tested to work without problems.

Here is quick script to get 3D working on 9.04 only, derived from the links above

# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free 
# Software Foundation; version 2.
# 
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details. 
# 
# You should find a copy of v2 of the GNU General Public License somewhere on
# your Linux system; if not, write to the Free Software Foundation, Inc., 59
# Temple Place, Suite 330, Boston, MA 02111-1307 USA.
# 
# Copyright (C) 2009                  
# Authors: Benjamin R. Cross <sbin.init@gmail.com>   
# 
# Released under the General Public License (GPL).

## Information to create this script came from the following sources
## http://ubuntuforums.org/showthread.php?t=1229345
## http://ubuntuforums.org/showpost.php?p=7775498
## https://help.ubuntu.com/community/AspireOne
## https://help.ubuntu.com/community/AspireOne/AO751h

# update system
apt-get -y update
apt-get -y dist-upgrade

# add ubuntu-mobile sources
cat >> /etc/apt/sources.list.d/ubuntu-mobile.list  <<EOF
deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main
EOF

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6598A30

# Install Video Card Packages
apt-get -y update
aptitude -y install poulsbo-driver-2d poulsbo-driver-3d psb-firmware

# Note: If an updated kernel has broken video driver do the following
# sudo apt-get remove psb-kernel-source
# sudo apt-get install psb-kernel-source
# sudo shutdown -r now

# Create a config file for X server
cat > /etc/X11/xorg.conf <<EOF

Section "ServerFlags"
        Option "DontZap" "False"
EndSection

Section "Device"
        Identifier      "GMA500"
        Option          "IgnoreACPI" "yes"
        # Use "exa" for X versions lower than 1.6 see: X -version
        #Option          "AccelMethod" "exa"
        # Use "uxa" for X versions 1.6 and higher (see X man page)
        Option          "AccelMethod" "UXA"
        Option          "MigrationHeuristic" "greedy"
        Option          "NoDDC"
        Option          "DRI" "on"
        Driver          "psb"
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

EOF

# Configure kernel boot arguments to reserve RAM for Video (adjust "mem=xxxxmb" to your preference)
# Example is reserving 64MB for Video on a 2GB system 
sed -i 's/defoptions=/defoptions=mem=1984mb /;s/mem=1984mb mem=1984mb /mem=1984mb /' /boot/grub/menu.lst

# Update all kernel entries in Grub boot menu
update-grub

# Install Compiz (this is optional, but lets you run 3D desktop effects)
aptitude -y install compiz compiz-gnome compizconfig-settings-manager compiz-fusion-plugins-extra

# Configure Compiz to whitelist the "psb" video driver, otherwise Compiz (desktop effects) will fail to enable
sed -i 's/WHITELIST=\”/WHITELIST=\”psb /;s/psb psb /psb /' /usr/bin/compiz

Fixing Wireless Led (AO751h)

To fixing the wireless LED, using the Kernel Module: ath5k

Download a compat-wireless from http://wireless.kernel.org/download/compat-wireless-2.6/

tar jxvf compat-wireless*.tar.bz2 or tar zxvf compat-wireless*.tar.gz
cd compat-wireless*
sudo make
sudo make install
sudo depmod -a

sudo rmmod ath5k
sudo modprobe ath5k