Asus Eee PC 1008

This article aims to explain how to configure Gentoo on a Asus Eee 1008. These examples only details the essentials of the Eee 1008 and laptop usage(power management, etc.).

Portage
The Eee 1008 is equipped with an Atom N280, as reported by :

model name     : Intel(R) Atom(TM) CPU N280   @ 1.66GHz See the Safe Cflags article for the correct variables of CHOST,CFLAGS and CXXFLAGS of the N280. The N280 supports the MMX, SSE, SSE2, SSE3 and SSE4 CPU extensions, so add the corrospending USE flags to :

Essentials
The Atom N280 supports Hyperthreading (if not disabled in the BIOS), which means its core can run two threads simultaneously. To make the kernel view this as two logical cores, you need to configure the kernel to support SMP and SMT. Note that the N280 has only one physical core, so you should leave multi-core scheduler support off. The Atom series runs code compiled for core2. Select also generic x86 support, which should generate code more suitable for its in-order execution units.

The SATA controller on the Eee 1008 is a Intel ICH7 SATA AHCI:

00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02) Enable support for AHCI SATA support, if you fail to do this the kernel will not find your root system:

ACPI
For ACPI to function function properly on the 1008, or rather for the eeepc_laptop module to load, you'll need to append ''acpi_osi="Linux" to the kernel command line in :

Peripherals
This section deals with the built-in peripherals of the Eee 1008 such as the touchpad, webcam, Function Keys, etc.

TouchPad
The touchpad on the Eee 1008 identifies as a SynPS/2 Synaptics TouchPad:

I: Bus=0011 Vendor=0002 Product=0007 Version=01b1 N: Name="SynPS/2 Synaptics TouchPad" P: Phys=isa0060/serio1/input0 S: Sysfs=/devices/platform/i8042/serio1/input/input6 U: Uniq= H: Handlers=mouse0 event6 B: EV=b B: KEY=420 0 70000 0 0 0 0 0 0 0 0 B: ABS=11000003 To enable this device you first need to enable the Event interface and then PS/2 mouse support in the kernel:

To use the touchpad in X you need installed. A good idea is of course to add to INPUT_DEVICES in :

It's also a good idea, if you intend work in X, to enable the USE flag on  as it installs a  file which sets some defaults. This file its also useful to use as a template if you find yourself wanting to manually change some setting therein.

Web Cam
The Web Cam is a 1.3M pixel camera from GenesysLogic Technology:

iProduct               3 USB2.0 UVC 1.3M WebCam As you can see this is a UVC camera, so all you need to do is enable UVC support in your kernel,

The USE flags to take note of if you want enable support for this device is and. If you intend to enable these globally, it's probably a good idea to enable the Enable Video For Linux API 1 compatible Layer aswell:

Function Keys
For the Eee function keys to work you'll need to enable the eeepc_laptop module in your kernel:

Note that this module provides more than support for the keys, its also allows for access to the Super Hybrid Engine.

Power Management
CPU frequency scaling is handled by the acpi_cpufreq module. You can of course select whatever governor you want as the default, and not ondemand as in the example below:

Sensory information is provided through the I2C interface:

You probably want to enable support for all the ACPI objects aswell:

Super Hybrid Engine
See the Super Hybrid Engine section of the Asus Eee PC 901 article for instructions on how to use it.

Bluetooth
The Bluetooth sits on the USB bus and identifies as Broadcom Bluetooth 2.1, as reported by :

Bus 004 Device 002: ID 0b05:b700 ASUSTek Computer, Inc. Broadcom Bluetooth 2.1 Make sure you enable support for the protocols you need or imagine yourself finding use for under Bluetooth subsystem support.

Wired
The ethernet card is a Atheros AR8132 / L1c Gigabit card:

02:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)

Wireless
The wireless card is identified as Atheros AR9285 by :

01:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

Graphics
The graphics card is a Intel Corporation Mobile 945GME Express Integrated Graphics Controller:

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) See the Graphics drivers article for instructions on enabling support for this. You might also want to see the Intel GMA article.

Sound
The sound device is an Intel HDA with a Realtek ALC269 codec:

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

Card default 'Intel'/'HDA Intel at 0xfbcb8000 irq 16' Mixer name   : 'Realtek ALC269' Components   : 'HDA:10ec0269,1043834a,00100004' Controls     : 13 Simple ctrls : 8