Difference between revisions of "Acer Aspire One"

From ArchWiki
Jump to: navigation, search
(Multi Card Reader)
(Recommended partition shemes for A110L)
Line 64: Line 64:
 
==Recommended partition shemes for A110L==
 
==Recommended partition shemes for A110L==
 
* /dev/sda1        all 8GB on the SSD for /
 
* /dev/sda1        all 8GB on the SSD for /
* /dev/mmcblk0p1    all space on the extensional sd(hc) card(left side) /home
+
* /dev/mmcblk0p1    all space on the extensional sd(hc) card(left side) /home (using the UUID of the left card reader might be a good idea when also using the right card reader, see Section Multi Card Reader below)
 
* no swap at all
 
* no swap at all
 
* see also tuning tips
 
* see also tuning tips

Revision as of 11:24, 20 August 2008


WARNING: THIS ARTICLE IS INCOMPLETE! Visit the Arch forum thread link below to get information on installing Arch Linux on the Acer Aspire One.

Most of this information is from the Arch Forum. You can also find a lot of helpful information from the AspireOneUser Forum and Install Ubuntu Hardy Heron (8.04.1) on the Acer Aspire One. General netbook installation hints can be found also in the Asus EEE PC Wiki article

Hardware

Aspire One common hardware

  • Intel Atom N270 1.6 GHz cpu, smp capable(hyperthreading like PIV), up to SSE3 extensions, no EM64T!
  • Intel 945GME chipset
  • Intel 950 GMA onboard graphics adapter
  • 8,9 inch Acer Crystal Brite 1024×600 display
  • Realtek High Definition Audio ALC260
  • 11.V 41,2Wh/2200mAh or 45Wh/2400mAh Lithium-Ionen-Akku / 3 cell, 6 cell model planned
  • sd(hc) Card Reader left side: RICOH R5C8xx
  • multi Card Reader right side Seite: JMicron JMB385 Flash Media Controller
  • Webcam: Acer Crystal Eye Webcam (Suyin Optronics)
  • Wlan: Atheros AR5007EG (Chipset 2425)
  • LAN: Realtek RTL8102E
  • Touchpad: Synaptics
  • weight: 960 gr.
  • size: 24,9 x 17 x 2,9 cm
  • one memory expansion slot ( So-DIMM DDRII 400/533/667MHz up to 1GB) under the keyboard hard to access see memory upgrade; max. 1,5GB
  • foo

version A110L

  • one 512MB memory stick onboard soldered
  • 8GB solid state disc

version A150L

  • one 1024MB memory stick onboard soldered
  • 120gb 1.8"(?) hdd


Before You Begin

A110L: Avoiding Pitfalls for SSD version

Solid state drives are made of flash memory. They are fast in reading but slow in writing data. Flash memory you cannot overwrite countless times. So for a long ssd life take care to

  1. Never choose to use a journaling file system on the SSD partitions
  2. Never use a swap partition on the SSD
  3. Edit your new installation fstab to mount the SSD partitions "noatime"
  4. Never log messages or error log to the SSD

The rules ensure that we won't reach the maximum limit of writes on our SSD faster than we should.

Choosing Your Installation Media

The Acer Aspire One does not have an optical drive installed on the machine. This means you will need to install Arch Linux through one of the alternative methods:

  1. USB pen drive (Recommended)
  2. External USB CD-ROM drive

Installing Arch Linux

  • Install through USB media. Press F12 at BIOS post or change boot order with F2.
  • It is recommended to permanently add a sd(hc) card into the left sd card reader to extend storage space

Recommended partition shemes for A110L

  • /dev/sda1 all 8GB on the SSD for /
  • /dev/mmcblk0p1 all space on the extensional sd(hc) card(left side) /home (using the UUID of the left card reader might be a good idea when also using the right card reader, see Section Multi Card Reader below)
  • no swap at all
  • see also tuning tips

Hardware setup

  • updating to kernel 2.6.26(still in testing) is recommended to get eth0 up and running
  • use r8169 for onboard ethernet
  • use ath_pci for onboard wlan - kernel driver ath5k loads well but does not yet support the chipset
  • install madwifi_hal wlan kernel module, state led doesn't work
  • blackmask memstick module, makes full load on one core, should be patchable and fixed in next kernel release
  • setup cpufreq scaling: load modul acpi_cpufreq and put the wanted governor into rc.local see wiki page
  • modules in rc.conf:
 to be filled (r8169 ath_pci !memstick acpi_cpufreq)

Network

After installing the modified madwifi package, and for having network management mobility you can try the follow packages:

  • extra/networkmanager

Select one front end from you desktop flavor:

  • extra/gnome-network-manager
  • community/knetworkmanager

Than add to the /etc/rc.conf "networkmanager" as something similar to:

 DAEMONS=(syslog-ng !network !netfs !crond dbus hal @kdm @networkmanager)

WLAN

Add the following to sysctl.conf to make the wlan blink when there's traffic:

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

Audio

Typical Intel HD Audio. Just follow alsa setup

Video

Typical Intel chipset. Works with the xf86-video-intel driver. 400ish on glxgears. There's a VGA port, haven't tried that out yet.

You'll need to install packages

  • xorg
  • xf86-video-intel
  • synaptics

Original Linpus Xorg.conf:

 # Xorg configuration created by system-config-display
 
 Section "ServerFlags"
   Option "DontZap" "yes"
   Option "DontVTSwitch" "yes"
 EndSection
 
 Section "ServerLayout"
   Identifier "Default Layout"
   Screen 0 "Screen0" 0 0
   InputDevice "Mouse0" "CorePointer"
   InputDevice "Synaptics Mouse" "AlwaysCore"
   InputDevice "Keyboard0" "CoreKeyboard"
 EndSection
 
 Section "InputDevice"
   Identifier "Keyboard0"
   Driver "kbd"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "gb,us"
   Option "XkbVariant" "euro"
   Option "XkbOptions" "grp:alt_shift_toggle"
 EndSection
 
 Section "InputDevice"
   Identifier "Synaptics Mouse"
   Driver "synaptics"
   Option "Device" "/dev/psaux"
   Option "Protocol" "auto-dev"
   Option "LeftEdge" "1700"
   Option "RightEdge" "5300"
   Option "TopEdge" "1700"
   Option "BottomEdge" "4200"
   Option "FingerLow" "25"
   Option "FingerHigh" "30"
   Option "MaxTapTime" "180"
   Option "MaxTapMove" "220"
   Option "VertScrollDelta" "100"
   Option "MinSpeed" "0.09"
   Option "MaxSpeed" "0.18"
   Option "AccelFactor" "0.0015"
   Option "SHMConfig" "on"
 EndSection
 
 Section "InputDevice"
   Identifier "Mouse0"
   Driver "mouse"
   Option "Protocol" "IMPS/2"
   Option "Device" "/dev/input/mice"
   Option "ZAxisMapping" "4 5"
   Option "Emulate3Buttons" "no"
 EndSection
 
 Section "Monitor"
   Identifier "Monitor0"
   Modeline "1024x600" 50.40 1024 1048 1184 1344 600 600 619 625
   # Option "Above" "Monitor1"
 EndSection
 
 Section "Device"
   Identifier "Videocard0"
   Driver "intel"
   # Option "monitor-LVDS" "Monitor0"
   # Option "monitor-VGA" "Monitor1"
   Option "Clone" "true"
   Option "MonitorLayout" "LVDS,VGA"
   vBusID "PCI:0:2:0"
   # Screen 0
 EndSection
 
 Section "Screen"
   Identifier "Screen0"
   Device "Videocard0"
   Monitor "Monitor0"
   DefaultDepth 24
   SubSection "Display"
     Viewport 0 0
     Depth 24
     Modes "1024x600" "800x600" "640x480"
     Virtual 1024 600
   EndSubSection
 EndSection

Webcam

Works on the fly with the kernel26 (>=2.6.22) from core using the UVC driver (uvcvideo).

Multi Card Reader

Both card readers work only, when cards are inserted at boot time. Remounting using other cards is then no problem. Be sure to use UUID for mounting, as the /dev/mmcbkl... change names depending on the amount of cards inserted. Assuming you have the left card mounted as /home, the /etc/fstab might have these entries:

UUID=63A4-4B29  /home      vfat  users,rw,umask=111,dmask=000  0  0  #left sd card reader
UUID=FFFF-FFFF  /mnt/right vfat  users,rw,umask=111,dmask=000  0  0  #right multi card reader

Note that both are mounted as vfat here. You might want to use ext2 for your home card, but problems have been reported with some cards ext2 formatted.

Additional function keys

Tuning tips

  • Use the noop IO scheduler (elevator=noop to grub/menu.lst's kernel line)
  • locate pacman pkg cache in /etc/pacman.conf to your sd card ( /home/where_ever_you_want_it)
  • ToDo: post example fstab
  • reduce write accesses on / and /home using "noatime" option in /etc/fstab
  • speedup logging and tmp files, change /etc/fstab this way:
   tmpfs      /var/log        tmpfs        defaults           0    0
   tmpfs      /var/tmp        tmpfs        defaults           0    0
   tmpfs      /tmp            tmpfs        defaults           0    0
  • EXT3: change commit interval in fstab, e.g.:
   UUID=f00ba4 / ext3 noatime,nodiratime,commit=15 0 1
  • Or for all filesystems use:
   echo "1500" > /proc/sys/vm/dirty_writeback_centisecs
  • Firefox 3.x uses a sqlite db that creates many write accesses, so this can reduce it:
  • Firefox -1- go to about_config, right click, add new string „browser.cache.disk.parent_directory“ with value "/tmp/firefox"
  • Firefox -2- change options/security/ and disable phishing - take care !
  • ToDo: install customized kernel with slack konfig and custom CLFAGS

lspci

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 02)
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)

Weblinks