Asus Eee PC

Aus wiki.archlinux.de

Dieser Artikel beschreibt, wie man ArchLinux auf einen Asus Eee-PC 1000H installiert und konfiguriert.

Installation

Im Folgenden wird die Installation von ArchLinux von einem USB-Stick bzw. externen CD/DVD-Laufwerk beschrieben. Wie ein bootfähiger USB-Stick erstellt wird, ist auf folgender Seite beschrieben: Booten vom USB Stick. Für den Eee-PC muss das Core-Image benutzt werden.

Von USB-Stick/Laufwerk booten

Um von einem USB-Stick/Laufwerk zu booten, kann man beim starten des Eee-PCs und bei angeschlossenen USB-Stick/Laufwerk, die ESC-Taste drücken. Dann sollte ein Menü erscheinen, in dem man das gewünschte Laufwerk auswählen kann.

Installieren

Wenn erfolgreich von dem USB-Stick/Laufwerk gebootet wurde, kann ArchLinux wie gewohnt installiert werden. Mehr Hilfe zur Installation ist unter Arch Linux installieren zu finden.

Für die Ethernet-Karte wird das Treiberpaket atl2 benötigt. Auf den aktuellen Installationsmedien (2008.06) ist leider eine zu alte Version des Pakets. Die Ethernet-Karte wird damit nicht erkannt. Zur Lösung des Problems kann man die Pakete atl2 und kernel26 selber runterladen, dann z.B. auf einen USB-Stick speichern, und auf dem Eee-PC installieren/aktuallisieren:

pacman -U kernel26-<version>.tar.gz atl2-<version>.tar.gz

Um Wireless-LAN nutzen zu können, muss zunächst das Paket wireless_tools installiert werden:

pacman -S wireless_tools

Als nächstes muss der Treiber für die WLAN-Karte installiert werden. Dazu sollte zuerst überprüfen, welche WLAN-Karte im eigenen Gerät verbaut ist:

lspci | grep -i net

Die Ausgabe sollte sollte wie folgt aussehen:

01:00.0 Network controller: RaLink RT2860
03:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)

Den Treiber für die verbaute WLAN-Karte (RaLink RT2860) findet man im AUR unter folgendem Link: rt2860. Wie Pakete aus dem AUR installiert werden, ist auf Ein Paket aus dem AUR installieren beschrieben.

Konfiguration

X

Die Konfiguration von X funktioniert prinzipiell wie im Artikel X beschrieben mit dem Befehl:

Xorg -configure

Als Treiberpaket empfiehlt sich das Paket xf86-video-intel.

Die nachfolgende Konfiguration funktioniert für den Eee PC 1000H:

Section "ServerLayout"
   Identifier     "ArchLinux"
   Screen      0  "Screen0"
   InputDevice    "keyboard"
   InputDevice    "mouse"
   InputDevice    "synaptics"
EndSection

Section "Files"
   RgbPath      "/usr/share/X11/rgb"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc"
   FontPath     "/usr/share/fonts/100dpi:unscaled"
   FontPath     "/usr/share/fonts/75dpi:unscaled"
   FontPath     "/usr/share/fonts/TTF"
   FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
   Load  "dbe"
   Load  "dri"
   Load  "extmod"
   Load  "freetype"
   Load  "glx"
   Load  "record"
   Load  "synaptics"
   Load  "xtrap"
EndSection

Section "ServerFlags"
   Option        "AllowMouseOpenFail"
   Option        "BlankTime" "5"
   Option        "AIGLX"   "false"
EndSection

Section "InputDevice"
   Identifier  "keyboard"
   Driver      "kbd"
   Option        "CoreKeyboard"
   Option        "XkbRules" "xorg"
   Option      "XkbLayout" "de"
   Option      "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
   Identifier  "mouse"
   Driver      "mouse"
   Option        "Device" "/dev/input/mice"
   Option        "Protocol" "IMPS/2"
   Option        "Emulate3Buttons" "yes"
   Option        "ZAxisMapping" "4 5"
   Option        "CorePointer"
EndSection

Section "InputDevice"
   Identifier  "synaptics"
   Driver      "synaptics"
   Option      "Device"           "/dev/psaux"
   Option      "Protocol"         "auto-dev"
   Option      "LeftEdge"         "1000"
   Option      "RightEdge"        "5400"
   Option      "TopEdge"          "1000"
   Option      "BottomEdge"       "4900"
   Option      "PalmDetect"       "0"
   Option      "SHMConfig"        "true"
   Option      "SendCoreEvents"   "yes"    
   Option      "HorizScrollDelta" "0"    
   Option      "RBCornerButton"   "0"
   Option      "RTCornerButtom"   "0"
   Option      "MaxSpeed"         "0.1"

 # You will also need the following 3 lines if you're using Xorg 1.5RC6 or newer
   Option      "TapButton1"       "1"
   Option      "TapButton2"       "2"
   Option      "TapButton3"       "3"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "ASUS"
   ModelName    "eeePC 1000H"
   Modeline    "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622 -HSync +VSync # 60 Hz
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "intel"
   VendorName  "Intel Corporation"
   BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
   BusID       "PCI:0:2:0"
   Option      "AccelMethod" "EXA"
   Option      "MigrationHeuristic" "greedy"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth     24
   SubSection "Display"
       Viewport   0 0
       Depth     8
   EndSubSection
   SubSection "Display"
       Viewport   0 0
       Depth     15
   EndSubSection
   SubSection "Display"
       Viewport   0 0
       Depth     16
   EndSubSection
   SubSection "Display"
       Viewport   0 0
       Depth     24
   EndSubSection
EndSection

Audio

Die Audioausgabe wird prinzipiell direkt unterstützt. Dazu muss wie in der Anleitung von Alsa vorgegangen werden.

Es kann allerdings sein das aus Gründen trotzdem kein Sound ausgegeben wird. Eine mögliche Ursach ist, dass im Linux Kernel 2.6.27 das Modul snd_pcsp als primärer Ausgabedevice geladen wird. Lösung: das Modul in der rc.conf abschalten:

MODULES=(!snd_pcsp ...)

Hardware

lspci vom Eee PC 1000H

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.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)
01:00.0 Network controller: RaLink Device 0781
03:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)