ASUS Eee PC 1005P

From ArchWiki
Revision as of 06:34, 1 September 2011 by James Eder (Talk | contribs) (assorted fixes)

Jump to: navigation, search
Device Status Modules
Video Working i915
Ethernet Working atl1c
Wireless Working ath9k
Audio Working snd_hda_intel
Camera Working uvcvideo
Card Reader Working
Function Keys Some working

This article describes both the 1005P and the 1005PE, since the only difference of the 1005PE is wlan n and a bigger harddrive.

Installation

  1. Installing from USB: according to the article on installing from USB, the standard ISO images can be used for this (beginning with release 2010.05).
  2. Installing via PXE works well. It requires another computer to use as PXE host, and some configuration.

Kernel

Append Template:Codeline to your Template:Filename to set the EeePC ACPI Interfaces to "Linux-Mode". Then the current kernel (as of writing 2.6.34) will autoload the eeepc_laptop module and everything works perfectly. Eg.

kernel /boot/vmlinuz26 root=/dev/sda2 ro acpi_osi=Linux

Xorg

Video Driver

Install Template:Package Official.

Device Autodetection

Everything works out of the box. Template:Package Official gets installed automatically with the xorg package. The current Xorg does not depend on HAL anymore, it uses dbus directly.

DPI setting

A good comfortable setting would be 96dpi or 75dpi if you like your fonts really small. An easy way to set your DPI would be to add this to the end of Template:Filename:

 exec /usr/bin/X -nolisten tcp -dpi 96

(-nolisten is also a good idea for reducing unneeded system activity)

Graphic Performance

The default graphic performance is the best you can currently get. It is not needed to add "optimizations" like "AccelMethod" "exa" to your Template:Filename, because these will get ignored by the current version of the Intel drivers anyway. The only thing you can add is XvMC Hardware decoding support, which allows your Intel graphics adapter to decode MPEG2 video material. To do this and set XvMC, here is a minimal Template:Filename:

 Section "Device"
     Identifier "Card0"
     Driver "intel"
     Option "XvMC" "on"
 EndSection

More is not needed in your Template:Filename, since Xorg uses input hotplugging.

To let X know where the XvMC library is, run:

 # echo /usr/lib/libIntelXvMC.so > /etc/X11/XvMCConfig

Touchpad

Install Template:Package Official (see Touchpad Synaptics). To enable Two Finger Scrolling and to disable Edge Scrolling, add this to your Template:Filename inside the InputClass Section:

 Option "VertTwoFingerScroll" "true"
 Option "HorizTwoFingerScroll" "true"
 Option "EmulateTwoFingerMinZ" "10"
 Option "EmulateTwoFingerMinW" "7"
 Option "VertEdgeScroll" "false"
 Option "HorizEdgeScroll" "false"

xrandr

For a nice GUI tool, you can try Template:Package Official.

Switch to external monitor (VGA port):

xrandr --output LVDS1 --off --output VGA1 --auto

Switch back to eeepc's LCD:

xrandr --output LVDS1 --auto --output VGA1 --off

Powersaving and ACPI

Your best bet is to disable all hardware you do not intend to use (to access the BIOS settings, press F2 after rebooting).

laptop-mode-tools

Laptop-mode-tools provides an easy way to setup most of the available power saving options, which include spinning down the hard drive and adjusting the power saving modes of the harddrive and CPU, as well as autosuspending the USB-ports, setting screen brightness, configuring the eee's own 'Super Hybrid Engine', etc.

Setup

# pacman -S laptop-mode-tools

The main configuration file is Template:Filename, plus there are several separate configuration files in Template:Filename for the various power saving modules managed by laptop-mode-tools. The files are well commented, so it should be easy to set everything up as needed. (For more information, see Laptop Mode Tools)

To make the daemon start at boot, add Template:Codeline to the Template:Codeline array in Template:Filename.

LCD brightness

The relevant configuration file is Template:Filename. Brightness values are between 0 (darkest) and 15 (brightest). An example of usable settings:

BATT_BRIGHTNESS_COMMAND="echo 1"
LM_AC_BRIGHTNESS_COMMAND="echo 15"
NOLM_AC_BRIGHTNESS_COMMAND="echo 15"
BRIGHTNESS_OUTPUT="/sys/class/backlight/acpi_video0/brightness"

CPU frequency

The CPU frequency is controlled through the file Template:Filename. The available frequency options can be found out by running:

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies

This functionality requires the package Template:Package Official. The package also provides a daemon which can be used on its own (See CPU Frequency Scaling for its usage). If handling frequency scaling through laptop-mode-tools, the cpufreq daemon should not be loaded, and its configuration file options can remain commented out, since the settings will come from Template:Filename.

Either way, cpufreq requires the kernel module acpi-cpufreq.

SHE

The eeepc's 'Super Hybrid Engine' has a significant effect on powersaving. This underclocks the FSB for powersave/overclocks for performance and can be controlled via the file Template:Filename which is provided by the module eeepc_laptop. You can manage this with laptop-mode-tools. The relevant config file is Template:Filename.

USB suspend

Config file: Template:Filename

Tip: make use of the option to disable the suspending of some USB hardware (eg. 3g modems) by using lsusb to get the ID and then insert it in the configuration file.

Audio power save

"With the automatic power-saving, the driver turns off the codec power appropriately when no operation is required. When no applications use the device and/or no analog loopback is set, the power disablement is done fully or partially. It'll save a certain power consumption, thus good for laptops (even for desktops)." — Kernel documentation

To make this change permanent, you need add the next line to Template:Filename

options snd_hda_intel power_save=1

Hotkeys

Some work out of the box (see Asus Eee PC 1005HA#Hotkeys for more).

Hardware Info

lspci says:

00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller
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.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 Tigerpoint LPC Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)