特殊:Badtitle/NS100:AspireOne:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第186行: | 第186行: | ||
/usr/local/bin/acerfand | /usr/local/bin/acerfand | ||
</nowiki></pre> | </nowiki></pre> | ||
The fan is not completely disabled. When the FANAUTO temperature is reached ( | The fan is not completely disabled. When the FANAUTO temperature is reached (70ºC), fan works again. According to Intel, the Atom chip could work until 99ºC. | ||
'''Optional:''' Above instructions will work fine, but if you want to define another temperature: | '''Optional:''' Above instructions will work fine, but if you want to define another temperature: | ||
* Create an /etc/acerfand.conf file. The file is just a shell script that sets up to three values. eg: | * Create an /etc/acerfand.conf file. The file is just a shell script that sets up to three values. eg: | ||
第202行: | 第202行: | ||
Note: ''(Skip this step if you have the hard disk Acer Aspire One)'' | Note: ''(Skip this step if you have the hard disk Acer Aspire One)'' | ||
The performance of the SSD drive can be significantly improved by a few tweaks described in [[http://blogs.zdnet.com/perlow/?p=9190|an article by Jason Perlow]] (But ignore Tweak #1, which does not apply.). The most important of these are described here. | The performance of the SSD drive can be significantly improved by a few tweaks described in [[http://blogs.zdnet.com/perlow/?p=9190|an article by Jason Perlow]] (But ignore Tweak #1, which does not apply.). The most important of these are described here. | ||
===== Change the file system mount options on SSDs to | ===== Change the file system mount options on SSDs to “noatime” ===== | ||
Edit /etc/fstab (sudo gedit /etc/fstab) and change the the option | Edit /etc/fstab (sudo gedit /etc/fstab) and change the the option “relatime” to “noatime”. The line for the root partition should then be something like: | ||
<pre><nowiki> | <pre><nowiki> | ||
UUID=f0ae2c59-83d2-42e7-81c4-2e870b6b255d / ext2 noatime,errors=remount-ro 0 1 | UUID=f0ae2c59-83d2-42e7-81c4-2e870b6b255d / ext2 noatime,errors=remount-ro 0 1 | ||
</nowiki></pre> | </nowiki></pre> | ||
===== Use the | ===== Use the “noop” I/O scheduler ===== | ||
Edit /boot/grub/menu.lst using your favorite editor, and add "elevator=noop" as an option. The default kernel configuration, found in the last part of the file should be something like: | Edit /boot/grub/menu.lst using your favorite editor, and add "elevator=noop" as an option. The default kernel configuration, found in the last part of the file should be something like: | ||
<pre><nowiki> | <pre><nowiki> | ||
第424行: | 第424行: | ||
Make firefox store its cache in the /tmp directory --- which whem we we have moved it to a tmpfs according to this wiki is *fast*. | Make firefox store its cache in the /tmp directory --- which whem we we have moved it to a tmpfs according to this wiki is *fast*. | ||
* Firefox 3.x uses a sqlite db that creates many write accesses, so this can reduce it: | * Firefox 3.x uses a sqlite db that creates many write accesses, so this can reduce it: | ||
<ol><li>In Firefox go to (type as url) "about:config", right click, add new string | <ol><li>In Firefox go to (type as url) "about:config", right click, add new string „browser.cache.disk.parent_directory“ with value "/tmp/firefox" | ||
</li><li>In Firefox change options/security/ and disable phishing if you dare. - Your firefox will run even faster then but won't warn you about phishing any more so take care!</li></ol> | </li><li>In Firefox change options/security/ and disable phishing if you dare. - Your firefox will run even faster then but won't warn you about phishing any more so take care!</li></ol> | ||
2008年10月19日 (日) 09:58的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/AspireOne }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/af | • {{#if: UbuntuHelp:AspireOne|Afrikaans| [[::AspireOne/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/ar | • {{#if: UbuntuHelp:AspireOne|العربية| [[::AspireOne/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/az | • {{#if: UbuntuHelp:AspireOne|azərbaycanca| [[::AspireOne/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/bcc | • {{#if: UbuntuHelp:AspireOne|جهلسری بلوچی| [[::AspireOne/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/bg | • {{#if: UbuntuHelp:AspireOne|български| [[::AspireOne/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/br | • {{#if: UbuntuHelp:AspireOne|brezhoneg| [[::AspireOne/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/ca | • {{#if: UbuntuHelp:AspireOne|català| [[::AspireOne/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/cs | • {{#if: UbuntuHelp:AspireOne|čeština| [[::AspireOne/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/de | • {{#if: UbuntuHelp:AspireOne|Deutsch| [[::AspireOne/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/el | • {{#if: UbuntuHelp:AspireOne|Ελληνικά| [[::AspireOne/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/es | • {{#if: UbuntuHelp:AspireOne|español| [[::AspireOne/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/fa | • {{#if: UbuntuHelp:AspireOne|فارسی| [[::AspireOne/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/fi | • {{#if: UbuntuHelp:AspireOne|suomi| [[::AspireOne/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/fr | • {{#if: UbuntuHelp:AspireOne|français| [[::AspireOne/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/gu | • {{#if: UbuntuHelp:AspireOne|ગુજરાતી| [[::AspireOne/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/he | • {{#if: UbuntuHelp:AspireOne|עברית| [[::AspireOne/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/hu | • {{#if: UbuntuHelp:AspireOne|magyar| [[::AspireOne/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/id | • {{#if: UbuntuHelp:AspireOne|Bahasa Indonesia| [[::AspireOne/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/it | • {{#if: UbuntuHelp:AspireOne|italiano| [[::AspireOne/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/ja | • {{#if: UbuntuHelp:AspireOne|日本語| [[::AspireOne/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/ko | • {{#if: UbuntuHelp:AspireOne|한국어| [[::AspireOne/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/ksh | • {{#if: UbuntuHelp:AspireOne|Ripoarisch| [[::AspireOne/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/mr | • {{#if: UbuntuHelp:AspireOne|मराठी| [[::AspireOne/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/ms | • {{#if: UbuntuHelp:AspireOne|Bahasa Melayu| [[::AspireOne/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/nl | • {{#if: UbuntuHelp:AspireOne|Nederlands| [[::AspireOne/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/no | • {{#if: UbuntuHelp:AspireOne|norsk| [[::AspireOne/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/oc | • {{#if: UbuntuHelp:AspireOne|occitan| [[::AspireOne/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/pl | • {{#if: UbuntuHelp:AspireOne|polski| [[::AspireOne/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/pt | • {{#if: UbuntuHelp:AspireOne|português| [[::AspireOne/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/ro | • {{#if: UbuntuHelp:AspireOne|română| [[::AspireOne/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/ru | • {{#if: UbuntuHelp:AspireOne|русский| [[::AspireOne/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/si | • {{#if: UbuntuHelp:AspireOne|සිංහල| [[::AspireOne/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/sq | • {{#if: UbuntuHelp:AspireOne|shqip| [[::AspireOne/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/sr | • {{#if: UbuntuHelp:AspireOne|српски / srpski| [[::AspireOne/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/sv | • {{#if: UbuntuHelp:AspireOne|svenska| [[::AspireOne/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/th | • {{#if: UbuntuHelp:AspireOne|ไทย| [[::AspireOne/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/tr | • {{#if: UbuntuHelp:AspireOne|Türkçe| [[::AspireOne/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/vi | • {{#if: UbuntuHelp:AspireOne|Tiếng Việt| [[::AspireOne/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/yue | • {{#if: UbuntuHelp:AspireOne|粵語| [[::AspireOne/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/zh | • {{#if: UbuntuHelp:AspireOne|中文| [[::AspireOne/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/zh-hans | • {{#if: UbuntuHelp:AspireOne|中文(简体)| [[::AspireOne/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AspireOne | UbuntuHelp:AspireOne | {{#if: | :}}AspireOne}}/zh-hant | • {{#if: UbuntuHelp:AspireOne|中文(繁體)| [[::AspireOne/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:AspireOne|:AspireOne|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :AspireOne/zh | | {{#ifexist: AspireOne/zh | | {{#ifeq: {{#titleparts:AspireOne|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:AspireOne|1|-1|}} | zh | | }}
Install Ubuntu Hardy Heron (8.04.1) on the Acer Aspire One
Fully functional:
- Suspend / Resume
- Video (with desktop effects)
- Wireless Networking
- Wired Networking
- Webcam
- USB
- Silent Fan
- Card Readers
Partial Function:
- Audio - there is sound, issues detailed below
Not Functional:
- Hibernate on A110L
- Card Reader power saving
- wifi power saving
- wifi kill switch
Prerequisites:
Before you begin you will need the following:
- A copy of 8.04.1 Hardy Heron. <
>This is the latest version. If you downloaded the ISO a while ago, it may be 8.04.0. The original 8.04.0 release will not even boot. - An external USB CD-ROM. If not:
- A 1+ GB memory key that can be formatted.
- A copy of the liveUSB DEB. Website: http://klik.atekon.de/liveusb and the DEB: http://ppa.launchpad.net/probono/ubuntu/pool/main/l/liveusb/.
- A wired network connection.
- Another computer, with network access.
(NOTE: It is also possible to install directly from network, which makes USB devices unneeded. You will still need a network cable and another computer. See: Installation/Netboot or [Netinstall via Windows])
Note on using this guide
This guide was written with Ubuntu in mind. Generally everything works the same with the other Ubuntu variants of (e.g., Kubuntu, Xubuntu). This guide assumes you will use use gedit as your text editor. You may also substitute the text editor of your choice (e.g., kate for Kubuntu, mousepad for Xubuntu or just use vim/emacs/nano).
Step One: Preparation
(Skip this step if you have an external USB CD-ROM) If we don't have an external USB CD-ROM, the first step is to create a bootable copy of the Ubuntu LiveCD on a memory key. This will be our install media for the Aspire One. The process is similar to creating recovery media for Linpus Lite (the included version of Linux). Download and copy the LiveUSB .deb file from the link above to USB stick. You can use the same one we we are going to format to create the install media - we only need this file once. Remove the USB stick. The LiveUSB software should only be installed when booted off the LiveCD environment, so we do that next.
- Boot to the 8.04.1 Live CD on your other computer, and choose the first option off the boot menu: Try Ubuntu.
- When you reach the desktop, insert the USB stick with the LiveUSB software on it and double click.
- Follow the prompts to install.
- Now we can create our bootable USB stick.
- Start the LiveUSB application from System -> Administration -> Install LiveUSB.
- Select the target device - that is, the USB stick - and click Execute.
- You will get a warning about data loss, so double check that you selected the correct device and continue.
- Once complete, you can shut down the other computer and remove the USB stick.
Step Two: Install Ubuntu
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. Note: If you have already installed with EXT3 then follow this post: http://www.aspireoneuser.com/forum/viewtopic.php?f=5&t=164&st=0&sk=t&sd=a&start=10#p1177 to convert to 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.
Step 3: Tweak / Fix
So now we should have an installed Ubuntu system. At this point, if you have not already done, so connect your Aspire One to the internet using a wired connection. First and immediate task is to update, since the wireless driver needs to be reinstalled after every kernel update. Open a terminal (Applications -> Accessories -> Terminal). Perform the updates:
sudo apt-get update sudo apt-get upgrade
WIRELESS:
Now we need to disable the hardware drivers that Ubuntu tries to use before the ones we make will function. So go to System -> Administration -> Hardware Drivers and uncheck everything. It should prompt us to reboot, so lets do it now. We need to grab the wireless driver, and the things we need to build it, from a terminal:
mkdir source cd source wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3835-20080801.tar.gz tar -xzvf madwifi-hal-0.10.5.6-r3835-20080801.tar.gz cd madwifi-hal-0.10.5.6-r3835-20080801 sudo apt-get install build-essential linux-headers-$(uname -r)
And we build and install:
make sudo make install sudo modprobe ath_pci
In order to have the wireless work after reboot, add the following line to /etc/modules ("sudo gedit /etc/modules") to automatically load the module when booting:
ath_pci
You should now have working wireless. However you may want to do the following to prevent problems (the symbol mismatch) when the module is loaded: Add ath_hal to the DISABLED_MODULES= stanza in /etc/default/linux-restricted-modules-common (i.e. 'DISABLED_MODULES="ath_hal"') Every time there is a kernel update you will need to perform the following steps to make the wireless work. Go to the directory (madwifi-hal-0.10.5.6-r3835-20080801) and run:
make clean make sudo make install
WIRELESS LED:
To get your awesome wireless led to blink for you based on traffic, put these lines in /etc/rc.local, just above the string exit 0 (below doesn't work). Note: The 2.6.27 kernel does not appear to have these options anymore (earlier kernels do).
sysctl -w dev.wifi0.ledpin=3 sysctl -w dev.wifi0.softled=1
The led on the front will now do the association blink, as well as blink based on wireless traffic.
rc.local may not be executable so
sudo chmod a+x /etc/rc.local
The wifi kill switch uses these keycodes (also to use in rc.local):
/usr/bin/setkeycodes e055 159 /usr/bin/setkeycodes e056 158
WEBCAM
Install luvcview - USB Video Class grabber
apt-get install luvcview
You may confirm it is recognized
dmesg |grep -i "uvc"
And this is the repply
[ 29.601485] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0) [ 29.617301] usbcore: registered new interface driver uvcvideo
Say hello to yourself with this command ;)
luvcview -f yuv
CARD READER:
(NOTE: This section needs to be improved. It seems that card reader is not truly "Fully functional") According to [[1]] the following command enables the card reader:
setpci -d 197b:2381 AE=47
The card reader works fine now.
- it might help to suspend/resume
- a static entry for the device /dev/mmcblk01p in /etc/fstab might help
- powersaving can be done with the jmb38x_d3e.sh script -
wget http://petaramesh.org/public/arc/projects/AcerOne_Ubuntu/jmb38x_d3e.sh sudo chmod 754 jmb38x_d3e.sh sudo mv jmb38x_d3e.sh /usr/local/sbin/
To recognize cards every time.
sudo gedit /usr/local/sbin/jmb38x_d3e.sh
Add the following to line 11
modprobe pciehp pciehp_force=1
After reboot cards are recognized.
USB MOUNT:
(Do this step only if you get an error inserting a USB stick) If you insert a memory key, you may notice an error and that it cannot be mounted. This is due to the CD-ROM entry in the fstab. Since we don't have an optical drive on the One we will comment that out. From a terminal again:
sudo gedit /etc/fstab
You should see a line that looks like:
/dev/sdb /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
add a hash in front:
#/dev/sdb /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
Reboot, and automount should work.
NOISE (FAN CONTROL)
Aspire One by default commonly doesn't manage Fan speed correctly, resulting in a very noisy AA0. Solution:
- Ensure you have dmidecode installed, so acerfand can detect which bios version you have. It's probably installed by default already. If not, execute:
sudo aptitude install dmidecode
- Download the [[2]] script ([download]).
- Download the [[3]] daemon script ([download]). (New version (2008-09-25) adding support to BIOS 3304)
- Execute these lines in a terminal in the directory you downloaded the above scripts:
chmod a+x acerfand sudo cp acer_ec.pl acerfand /usr/local/bin/
- To run it straight away:
sudo acerfand
- Note, you need the correct bios for this to work correctly. To see if the acerfand script is working, you can check the system log after you have run the *sudo acerfand* command:
#sudo tail -f /var/log/syslog Oct 9 02:04:36 lilput acerfand: acerfand 0.03 starting Oct 9 02:04:36 lilput acerfand: Detected bios version v0.3301 Oct 9 02:04:36 lilput acerfand: Unsupported bios version v0.3301 found. Aborting.
There is information about updating your bios here: http://macles.blogspot.com/2008/08/acer-aspire-one-bios-v3304.html
- To run it at boot:
sudo gedit /etc/rc.local
Insert the following line above the exit 0 at the bottom:
/usr/local/bin/acerfand
The fan is not completely disabled. When the FANAUTO temperature is reached (70ºC), fan works again. According to Intel, the Atom chip could work until 99ºC. Optional: Above instructions will work fine, but if you want to define another temperature:
- Create an /etc/acerfand.conf file. The file is just a shell script that sets up to three values. eg:
INTERVAL=5 FANOFF=60 FANAUTO=70
Those are the default values, if the /etc/acerfand.conf file isn't found. INTERVAL is the polling interval in seconds FANOFF is the temperature (in Celsius Degrees) at or below which to turn the fan off, if it's currently on auto FANAUTO is the temperature (in Celsius Degrees) at or above which to turn the fan to auto, if it's currently off [information] from the original source, AspireOne Wiki.
OPTIMIZING SSD PERFORMANCE:
Note: (Skip this step if you have the hard disk Acer Aspire One) The performance of the SSD drive can be significantly improved by a few tweaks described in [article by Jason Perlow] (But ignore Tweak #1, which does not apply.). The most important of these are described here.
Change the file system mount options on SSDs to “noatime”
Edit /etc/fstab (sudo gedit /etc/fstab) and change the the option “relatime” to “noatime”. The line for the root partition should then be something like:
UUID=f0ae2c59-83d2-42e7-81c4-2e870b6b255d / ext2 noatime,errors=remount-ro 0 1
Use the “noop” I/O scheduler
Edit /boot/grub/menu.lst using your favorite editor, and add "elevator=noop" as an option. The default kernel configuration, found in the last part of the file should be something like:
title Ubuntu 8.04.1, kernel 2.6.24-19-generic root (hd0,0) kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=f0ae2c59-83d2-42e7-81c4-2e870b6b255d ro quiet splash elevator=noop initrd /boot/initrd.img-2.6.24-19-generic quiet
In order for the changes to remain when updating the kernel, also in menu.lst, find the line
# defoptions=quiet splash
and add "elevator=noop" as an option:
# defoptions=elevator=noop quiet splash
REDUCING SSD WEAR:
Note: (Skip this step if you have the hard disk Acer Aspire One) Frequent writes to the SSD will cause failure eventually. We can reduce the number of writes to the SSD by moving our logs to a temporary filesystem in RAM that gets destroyed at ever reboot. Now this means your logs will not be persistent across reboots making debugging difficult in some cases. This step is optional of course, so if you need the logs for an extended period of time do not follow these steps. Open your fstab again, and add the following lines:
sudo gedit /etc/fstab tmpfs /var/log/apt tmpfs defaults 0 0 tmpfs /var/log tmpfs defaults 0 0 tmpfs /tmp tmpfs defaults 0 0 tmpfs /var/tmp tmpfs defaults 0 0
Warning: this will cause some packages to fail mysteriously when they cannot access the log directories that were installed with the packages and then disappeared at reboot.
DISABLE SCROLLKEEPER:
(Skip this step if you have the hard disk Acer Aspire One) ScrollKeeper is a cataloging system for documentation on open systems. Hardly anyone ever uses it and on the AAO's slow SSD it takes ages every time you install anything. Disable it and your installs will fly! Finally add a diversion to stop dpkg from overwriting your changes.
sudo mv /usr/bin/scrollkeeper-update /usr/bin/scrollkeeper-update.real sudo ln -s /bin/true /usr/bin/scrollkeeper-update sudo find /var/lib/scrollkeeper/ -name \*.xml -type f -exec rm -f '{}' \; sudo dpkg-divert --local --divert /usr/bin/scrollkeeper-update.real --add /usr/bin/scrollkeeper-update
VIDEO AND 3D PERFORMANCE: (Optional)
Out of the box, the graphic card Intel GMA 950, is well detected, however you can tweak /etc/X11/xorg.conf to achieve better graphic card performance:
Section "Device" (...) Option "MonitorLayout" "LVDS,VGA" Option "Clone" "true" Option "AccelMethod" "EXA" Option "MigrationHeuristic" "greedy" VideoRam 229376 Option "CacheLines" "1980" EndSection
The Option Clone is especially usefull, if you want to capture video or photos. Without it you will get a black screen on applications like cheese. Also add this to your /etc/profile:
export INTEL_BATCH=1
Note: 'export INTEL_BATCH=1' appears to causes graphics faults (artifacts) within 'ume-launcher' (even with Compiz fully disabled). Reboot and you will have a more responsive system, with better 3D FPS, and improved video performance.
AUDIO:
Out of the box there are various issues with the sound. These range from headphone detection not functioning correctly, to the internal MIC not working. There are solutions to these problems. Currently, however, there is no known way to get everything working at once. All of the steps begin the same way, rebuilding ALSA:
sudo apt-get install module-assistant sudo m-a update sudo m-a prepare sudo m-a a-i alsa sudo alsa force-unload sudo depmod -ae sudo modprobe snd-hda-intel
Add the following line to the end of /etc/modules in order to ensure that the module is loaded during bootup:
snd-hda-intel
Now we need to make a choice. To have the internal MIC non-functional (external works), but sound working after suspend and resume, we edit /etc/modprobe.d/alsa-base (sudo gedit /etc/modprobe.d/alsa-base) and add the following line to the bottom:
options snd-hda-intel model=toshiba
Reboot for that to take effect. To have the internal MIC function correctly, but no sound after suspending and resuming the computer add or change the following to the /etc/modprobe.d/alsa-base as before:
options snd-hda-intel model=auto
Again, reboot for this to take effect. For some unknown reason some people don't hear any sound with either option. If you experience this problem you might want to use the option in /etc/modprobe.d/alsa-base as before to the following to resolve this problem:
options snd-hda-intel model=acer
For A150L, model=basic seems to work fine with alsa 1.018rc3 (internal mic and sound work after suspend; plugging headphone in does turn the speakers off)
options snd-hda-intel model=basic
If you experience crackling sound after rebooting, insert the following line in /etc/modprobe.d/blacklist:
blacklist snd_pcsp
Optional: The default sound level is low. Open a terminal and type alsamixer to adjust volume. Alsa needs to be version 1.0.17.
TWEAKS TO MAKE BETTER USE OF THE ASPIRE ONE'S SMALL SCREEN:
There are various methods that will help you make better use of the Aspire One's small screen. One of the most important is being able to move windows that are too large to fit on the screen at once. To move a hidden part of the window into view, click and drag with the left mouse button on any part of the window while holding down the ALT key. However, you won't be able to drag windows so the top of the window is above the top of the screen. To fix that, enter the following in a terminal window:
gconftool-2 --set /apps/compiz/plugins/move/allscreens/options/constrain_y --type bool 0
Since the Aspire One's screen has almost twice as much resolution horizontally as vertically, having panels on both the top and bottom is not ideal. You may want to remove the top or bottom panels, make them smaller, or move them so that they are vertical, on the left and right side, instead of horizontal on top and bottom.
TOUCHPAD TWEAKS:
The AAO touchpad is quite easy to bump whilst typing. The best fix is to disable all scroll and tap commands for 1 second after each keystroke. Go to Preferences and select "Sessions". Click the add button and add an entry:
Name: Syndaemon Command: syndaemon -d -t -i 1 Comment: Disable trackpad while typing
The '1' can be changed to any decimal number, and defines the amount of time to lock the trackpad after each keystroke. See the Syndaemon man page for full details.
HIBERNATE:
In some set-ups, using hibernate has been reported to cause [corruption].
TWEAK FOR BOOTUP SPEED (Optional):
To decrease boot time, activate concurrency bootup:
sudo gedit /etc/init.d/rc
and replace the line:
CONCURRENCY=none
with
CONCURRENCY=shell
TWEAKS FOR POWERSAVING (Optional):
Add the following to the /etc/rc.local file:
# Economize the SSD sysctl -w vm.swappiness=1 # Strongly discourage swapping sysctl -w vm.vfs_cache_pressure=50 # Don't shrink the inode cache aggressively # As in the rc.last.ctrl of Linpus echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate_max > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate echo 1500 > /proc/sys/vm/dirty_writeback_centisecs echo 20 > /proc/sys/vm/dirty_ratio echo 10 > /proc/sys/vm/dirty_background_ratio echo 1 > /sys/devices/system/cpu/sched_smt_power_savings echo 10 > /sys/module/snd_hda_intel/parameters/power_save echo 5 > /proc/sys/vm/laptop_mode #Decrease power usage of USB while idle [ -L /sys/bus/usb/devices/1-5/power/level ] && echo auto > /sys/bus/usb/devices/1-5/power/level [ -L /sys/bus/usb/devices/5-5/power/level ] && echo auto > /sys/bus/usb/devices/5-5/power/level
NETBOOK REMIX (Optional):
To install [Netbook remix] - In Intrepid, the netbook remix packages are already in the universe repository. For Hardy, you'll need to add the netbook remix PPA to your sources.list.
- Insert the following into /etc/apt/sources.list (not required for Intrepid):
deb http://ppa.launchpad.net/netbook-remix-team/ubuntu hardy main deb-src http://ppa.launchpad.net/netbook-remix-team/ubuntu hardy main
- then execute
In Hardy:
sudo apt-get update sudo apt-get install go-home-applet human-netbook-theme maximus ume-launcher window-picker-applet
In Intrepid (ume-launcher has been renamed to netbook-launcher):
sudo apt-get install go-home-applet human-netbook-theme maximus netbook-launcher window-picker-applet
- Add maximus as startup program (system > preferences > sessions > startup programs)
- Change the desktop theme to Human-Netbook (system > preferences > appearance > theme)
- Delete the bottom panel
- Reconfigure the top panel to contain the following items -
- Go Home Applet
- Window Picker Applet
- Notification Area
- Mixer Applet
- Clock
- There is a bug in the ume-launcher after resuming from suspend. To work around this place the following in /etc/pm/sleep.d/01UMELauncher -
#! /bin/bash # # Copyright 2008 Matteo Collina <[email protected]> # # This program is free software; you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License as # published by the Free Software Foundation. export DISPLAY=:0.0 TMPFILE=/tmp/.launcher/resume-event case "$1" in suspend|hibernate) rm -rf $TMPFILE echo "Removed resume-notify file" ;; resume|thaw) touch $TMPFILE echo "Created resume-notify file" ;; esac exit $?
- Make the above file executable -
sudo chmod +x /etc/pm/sleep.d/01UMELauncher
You should also disable desktop effects as these cause issues with netbook remix.
Maximising screen real estate in Firefox:
To take your screen saving netbook remix to the next level, you can do the following to maximise screen real estate in everyone's most used app - Firefox -
- Install the following addons
- Stop or Reload Button
- Personal Menu
- AutoHideStatusBar (https://addons.mozilla.org/en-US/firefox/addon/1530)
- Install the following theme -
- Classic Compact
- Configure Personal Menu to include all the standard menus except History and Bookmarks (they get their own buttons)
- Disable the menu toolbar. You can always get it back by pressing Alt
Drastically speed up Firefox
In the ArchWiki I found a few lines that make surfing with the AAO much faster and thus much more fun: Make firefox store its cache in the /tmp directory --- which whem we we have moved it to a tmpfs according to this wiki is *fast*.
- Firefox 3.x uses a sqlite db that creates many write accesses, so this can reduce it:
- In Firefox go to (type as url) "about:config", right click, add new string „browser.cache.disk.parent_directory“ with value "/tmp/firefox"
- In Firefox change options/security/ and disable phishing if you dare. - Your firefox will run even faster then but won't warn you about phishing any more so take care!
Alternatively, set "browser.cache.disk.enable" to "false". This will disable all disk caching, but will still cache to RAM. You may also wish to decrease the cache size (browser.cache.disk.capacity) to a lower value to reduce memory usage over time.
Flash 10 RC or upper (Optional, recommended for 512M of RAM):
Ubuntu Hardy installs flash version 9.0.115, this version needs a lot of memory to work and makes 'AspireOne' slower than it is. A good option is to download the latest Flash player plugin 10, which delivers improved performance and less memory requirements. This package is the flashplugin-nonfree, which is available on hardy-backports repository, or by download in the following link: http://packages.ubuntu.com/hardy-backports/flashplugin-nonfree
Install Ubuntu Intrepid Ibex 8.10(Alpha6) on the Acer Aspire One
Status: Currently installing ( 1.6Ghz, 120GB harddrive ) USB Install: Download Alpha6 from download or torrent http://www.ubuntu.com/testing/intrepid/alpha6 How to setup a USBStick from and iso image http://www.ubuntu-eee.com/wiki/index.php5?title=How_to:_Using_Unetbootin#Using
Initial Install
Fully functional:
- Suspend / Resume [ works out of box ]
- Video (with desktop effects)[ works out of box ]
- Wireless Networking [ ath_pci loads, wireless not working ]
- Wired Networking [ works out of box ]
- Webcam [ works out of box ]
- USB [ works out of box ]
- Silent Fan [ fan works, silent?? will try above scripts ]
- Card Readers [ not tested ]
- Audio [ works out of box ]
- Card Reader power saving [ not tested ]
- wifi power saving [ not tested ]
Partial Function:
- wifi kill switch [ working, but no notification ]
Not Functional:
- Hibernate on A110L [ not working ]
After Updates ( Oct 7,2008 )
Fully functional:
- Suspend / Resume [ Fails with latest versions of pm-utils, see https://bugs.launchpad.net/ubuntu/intrepid/+source/pm-utils/+bug/267141 ]
- Video (with desktop effects)[ works out of box ]
- Wireless Networking [ works out of box, not leds though, ath5k driver ]
- Wired Networking [ works out of box ]
- Webcam [ works out of box ]
- USB [ works out of box ]
- Silent Fan [ works with the above scripts. ]
- Card Readers [ works with the fix described above ]
- Audio - [ works out of box ]
- Card Reader power saving [ Partially. When trying to hibernate or suspend while an inserted SD card no longer completely freezes the system, --- but suspending with SD card is still scary. ]
- wifi power saving [ not tested ]
Partial Function:
- wifi kill switch [ working, but no notification ]
Not Functional:
- Hibernate on A110L [ Seems to work for me if there is a swap partition that is big enough so we can suspend to it. But there seem to exist Aspire One's that slightly differ in Hardware. So maybe hibernating still fails on other computers. ]
Wireless module build needed
Wireless now works by using the ath5k module ( it is still under development ) <
>
--edit2: Try just disabling the proprietary driver in System>Administration>Hardware Drivers and rebooting solves the problem. <
>
No longer need to build and install ath_pci ( seeing as I used it previously I disabled it and ath_hal using blacklist )<
>
- under/ etcmodprobe.d/blacklist I added the lines:<
>
blacklist ath_hal<
>
blacklist ath_pci<
>
- I found that wireless works correctly after a power off/on reboot<
>
- Seems like a system restart does not bring wireless back online ( power unit off/ power back on )<
>
If it still doesn't come on try removing power and battery for a few seconds and then boot-up
NOTE: Wireless support is built in Intrepid Ibex (8.10) because the kernel is >= 2.6.27. To ensure it works, disable the hardware driver "Atheros wireless card" and reboot. If you have followed these instructions and have the ability to hibernate your Ibex, then you will need to set the following to fix wireless after a hibernate: sudo gedit /etc/pm/sleep.d/modules and add the following line:
SUSPEND_MODULES="ath5k"
Also the directions below for setting the wireless LEDs do not work though the switch works on my unit.
Wireless LEDs
Works with the additional lines documented above are put into /etc/rc.local above the "exit 0".<
>
-- edit: -- with ath5k wireless on/off switch seems to work in background, no notification in Gui<
>
-- the wireless leds do not illuminate in any way shape or form
Audio
Works, Volume Ok. Audio switches from speakers to headphone
External Video
external video connector works with external monitor
Rest
-- In Progress --
Install NetBook Remix + Ubuntu Intrepid Ibex 8.10(Latest) on the Acer Aspire One
Fully functional:
- Suspend / Resume [ Not Tested ]
- Video (with desktop effects)[ works out of box ]
- Wireless Networking [ works out of box, not leds though, ath5k driver ]
- Wired Networking [ works out of box ]
- Webcam [ Not Tested ]
- USB [ works out of box ]
- Silent Fan [ Needs Fan script (above ) installed ]
- Card Readers [ Not Tested ]
- Audio - [ works out of box ]
- Card Reader power saving [ Not Tested ]
- wifi power saving [ not tested ]
Summary: <
>
After Installing 8.10 from cd I couldn't figure out how to get ubuntu remix loaded from 8.10 repos so I did a hacky work around. ( If you just can't wait to get remix going with 8.10 ). After installing eeebuntu 8.04.1 wireless works, nic does not ( 8.04 has older kernel, we will remedy by installing latest kernel from Ibex )
Prerequisite: <
>
-Need wireless connection available <
>
-Need usb key for eeebuntu 8.04.1 <
>
-Need coffee and 1 to 2 hours <
>
1: download eeebuntu 8.04.1 '[8.04.1]'
2: make a usb key '[a usbKey]'
<
>
3:Boot up eeebuntu 8.04.1 from key( wireless works, wired ethernet does not )
Note: on boot-up F12 gets me to boot menu which lets me choose to boot from usb key
Install to Disk
4: Boot up eeebuntu 8.04.1 from Disk
upgrade to 8.10 immediately
-Alt-F2 ( select run in terminal ) -update-manager -d ( note, don't do any updates, just straight to dist-upgrade. When I did updates first I ended up with a dead Gui ) -Third Party sources disabled ( OK ) -replace config files ( yes to all ) -network manager crashes during install ( keep going, resolves on restart )
Note: first time I tried, I got some corrupt .deb files, and had to start install from scratch ( but have installed successfully on two AAOs )
5: Boot up in eeebuntu 8.04.1 <
>
Still has eeepc specific kernel, hence no nic but wireless is there. We need to install 8.10 generic kernel
-Alt-F2 -sudo apt-get install linux-generic ( select run in terminal ) -maximus lockups on logout, seems to be tolerable [edit Oct 14th,2008 ] new maximus installed, lock-up appears to be gone
5: Reboot/ Power Cycle with 2.6.27-x kernel <
>
Now you should have nic and wireless via ath5k driver
-Log In -Alt-F2 -sudo apt-get update ( select run in terminal ) -sudo apt-get upgrade ( select run in terminal )
6: Setup fan controll 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
7: Netbook Remix seems to be mostly working, don't know all the features to test for. <
> Works good enough for my immediate needs
Upgrade from Hardy Heron (8.04.1) to Intrepid Ibex (8.10) beta
(originally written by khaeru; last updated 15 October 2008) 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.
Changing the default options:
... # 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
The ath5k module is automatically loaded, so only the Intel HDA sound module needs to be listed.
# /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 snd_hda_intel # for Aspire One
/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 # # Force use of ath5k blacklist ath_hal blacklist ath_pci # Fix sound options snd-hda-intel model=toshiba # As suggested by PowerTOP options usbcore autosuspend=1 # Enable USB card reader options pciehp pciehp_force=1
Notes
- I am not sure whether "blacklist ath_hal" is necessary, but "blacklist ath_pci" is -- LaunchpadHome:khaeru <<DateTime(2008-10-16T05:46:23Z)>>
- pciehp added per [[4]]
/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: I have set swappiness to zero, because I am running my 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.
#!/bin/sh -e # # 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.
/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 ...
References
Discussion
Discussion of this process is happening [[5]]. You can also join IRC channel #onelinux on irc.freenode.net.
Other distributions
Several other distributions have their own installation guides for the Aspire One.
Suggestions for this guide
Please use @``SIG@ to sign your suggestions.
Use Unetbootin
On this website: [a bootable USB Drive or Memory Card], the tool used was [[10]] which seems to only require the one computer to run it on (as a statically linked binary, no install required, minimal dependencies) and generically works for a large number of distributions in addition to ubuntu and handles custom diskimages and custom kernels. This seems like a tool that is a little more quick than UbuntuLiveUSB. To install:
- download .bin file from sourceforge
- right click on file, check executable (or run chmod +x *.bin in terminal)
- sudo apt-get install mtools p7zip-full
- run file (double click or type ./unetbooin-linux-282 in terminal) on any linux system
- select diskimage or distribution
- select USB drive from list (uses only device names unfortunately)
- click ok
Flash drive or memory card will be formatted and set up as a bootable drive.
Stop hard drive death click
Having tried hardy and now running intrepid I have found that both suffer from excessive load cycling http://ubuntuforums.org/showthread.php?t=805570 This will fix the issue, but value 128 in script should be modified to 200. interestingly fedora suffers the same issue and they decided on no head parking(not a great idea) and also "S 120" has anyone an view on using ac
/sbin/hdparm -B 254 /dev/sda -S120
and batt
/sbin/hdparm -B 200 /dev/sda -S120
as I know of no ill effects with the ac option, but what effect lowering parking value in relation to spin value i'm not so sure-temperature increase?
Clean-up
It would be nice to have a single section for Intrepid, rather than several sections that refer to bugs/hiccups that were in previous beta versions but are now irrelevant -- LaunchpadHome:khaeru <<DateTime(2008-10-16T06:04:27Z)>>