EeePC: Unterschied zwischen den Versionen

aus www.kruedewagen.de, Homepage von Ralf und Judith Krüdewagen (Kruedewagen)
Zur Navigation springen Zur Suche springen
Zeile 131: Zeile 131:
**http://www.opensource-weblog.de/50226711/dellnetbook_jetzt_mit_linux_erhaltlich.php
**http://www.opensource-weblog.de/50226711/dellnetbook_jetzt_mit_linux_erhaltlich.php
**http://www.netbux.de/dell/dell-inspiron-mini-9-mit-linux-getestet/
**http://www.netbux.de/dell/dell-inspiron-mini-9-mit-linux-getestet/
===== HP =====
*HP Mini 1000
**http://www.netbux.de/hp/hp-mini-1000-das-bessere-dell-netbook/


=== Community ===
=== Community ===

Version vom 24. November 2008, 14:14 Uhr

Der EeePC ist ein Mini-Notebook von Asus, welches besonders durch die geringe Größe, den geringen Preis (ab 199€) aber auch durch das (z.T. Linux-basierte) Bedienkonzept auffällt. Die folgenden Ausführungen sind - wenn nicht anders gekennzeichnet - für das 4G (701)-Modell gültig.

Mein EeePC kurz nach dem Auspacken (noch mit Display-Schutzfolie)

Fakten Software/Hardware nach Auslieferung

  • Hardware
    • BIOS: 0801
    • Display 800x480
  • Spezielle Software
  • Grub

menu.lst:

#
# Configured by Xandros Configuration system.
#
hiddenmenu
# default boot entry
default=0

# Boot automatically after 1 second.
timeout=0

# Fallback to Configure.
fallback=2

title Normal Boot
	root (0x80,0)
	kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll root=/dev/sda1
	initrd /boot/initramfs-eeepc.img

title Perform Disk Scan
	root (0x80,0)
	kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll root=/dev/sda1 XANDROSSCAN=y
	initrd /boot/initramfs-eeepc.img

title Restore Factory Settings
	root (0x80,0)
	kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=normal nosplash=y irqpoll root=/dev/sda1 XANDROSRESTORE=y
	initrd /boot/initramfs-eeepc.img

Weblinks

Asus

Testberichte / Infos

EeePC 4G 701

EeePC 900

EeePC 900A

EeePC 901

EeePC S101

Eee Box B202

Eee Monitor

Netbooks Vergleiche

Nettops Vergleiche

Andere Hersteller

Acer Aspire One
MSI Wind PC
MSI Wind U100
Medion
Dell
HP

Community

Software

Hardware

Tipps & Tricks

Betriebssysteme

  • Xpud, Live-System auf USB, einfacher XUL-Desktop

openSUSE Installation

Weblinks

SUSE Studio

tmpfs

Um oft geschriebene Dateien ins RAM zu verlegen, Eintrag in /etc/fstab:

tmpfs               /var/log             tmpfs     defaults,size=128m       0 0
tmpfs               /var/tmp             tmpfs     defaults,size=128m       0 0
tmpfs               /tmp             tmpfs     defaults,size=128m       0 0

X11

xorg.conf:

Section "ServerLayout"
        Identifier     "Xandros"
        Screen      0  "Screen1"
        InputDevice    "keyboard"
        InputDevice    "mouse"
        InputDevice    "synaptics"
EndSection

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "Module"
        Load  "glx"
        Load  "dri"
        Load  "extmod"
        Load  "synaptics"
        Load  "freetype"
        Load  "type1"
EndSection

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

Section "InputDevice"
        Identifier  "keyboard"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "eeepc"
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      "RTCornerButton"   "0"
        Option      "MaxSpeed"         "0.1"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "ASUS"
        ModelName    "eeePC P701"
        Modeline     "800x480"  29.58  800 816 896 992  480 481 484 497  -HSync +Vsync # 60 Hz
EndSection

Section "Device"
        Identifier  "Device1"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Device1"
        Monitor    "Monitor1"
        DefaultDepth     16
        SubSection "Display"
                Depth     8
                #Virtual  1024 768
        EndSubSection
        SubSection "Display"
                Depth     15
                #Virtual  1024 768
        EndSubSection
        SubSection "Display"
                Depth     16
                #Virtual  1024 768
        EndSubSection
        SubSection "Display"
                Depth     24
                #Virtual  1024 768
        EndSubSection
EndSection

Section "DRI"
        Group      "video"
        Mode         0666
EndSection

Section "Extensions"
        Option      "Composite" "Disable"
EndSection

Module beim Start laden

Eintrag in /etc/sysconfig/kernel:

MODULES_LOADED_ON_BOOT="asus_acpi asus_eee"

bzw. falls man den ndiswrapper nutzt:

MODULES_LOADED_ON_BOOT="asus_acpi asus_eee ndiswrapper"

Suspend to RAM

/etc/pm/sleep.d/60eeepc

#!/bin/bash
# put into sleep.d
case $1 in
    hibernate)
        /etc/init.d/network stop
        /sbin/modprobe -r ath_pci
        #/sbin/modprobe -r ndiswrapper
        ;;
    suspend)
        /etc/init.d/network stop
        /sbin/modprobe -r ath_pci
        #/sbin/modprobe -r ndiswrapper
        ;;
    thaw)
        /sbin/modprobe ath_pci
        #/sbin/modprobe ndiswrapper
        /etc/init.d/network start
        /etc/init.d/acpid restart # hotkeys do not work after resume, /etc/acpi
        ;;
    resume)
        /sbin/modprobe ath_pci
        #/sbin/modprobe ndiswrapper
        /etc/init.d/network start
        /etc/init.d/acpid restart # hotkeys do not work after resume, /etc/acpi
        ;;
    *)  echo "madwifi power management script called incorrectly."
        ;;
esac

Hinweise:

  • Wenn Skype die Kamera aktiv nutzt, schlägt Resume fehl.

Devicename der SD-Karte

Nach einem Resume ändert sich i.d.R. das Device der SD-Karte, z.B. von sdb zu sdc. Zwar werden gemäß udev die Symlinks in /dev/disk/by-id/ angepasst, aber man muss die Filesysteme auf der SD-Karte neu mounten.

Siehe:

Keyboard

Symbols

"eeepc" Abschnitt gemäß xorg.conf am Ende in /usr/share/X11/xkb/symbols/de eintragen:

partial alphanumeric_keys
xkb_symbols "eeepc" {

    include "de(basic)"

    name[Group1]="Germany - eeePC";

    key <AD12>  { [      plus,   asterisk,   asciitilde,  dead_macron ] };
};

Passender Eintrag in xorg.conf:

Section "InputDevice"
        Identifier  "keyboard"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "eeepc"
EndSection

ACPI Hotkeys

Methode 1

Am besten ist es, das eeeEvents Paket aus dem appleonkel-Repository installieren. Das Paket erstellt unter /etc/acpi/events und /etc/acpi/scripts entsprechende Dateien für die Hotkeys, wobei auch das Aus- und Einschalten des WLAN-Devices funktioniert (ggf. noch mit rcnetwork restart kombinieren). Ausserdem werden Hotkey-Aktionen auf einem On-Sceen-Display (OSD) angezeigt (asusosd-Start mittels /etc/X11/xinit/xinitrc.d/asusosd).

Methode 2

Xandros-Version der Datei /etc/acpi/hotkey.sh angepasst:

#!/bin/sh


export DISPLAY=:0

case $3 in
        #Fn+F1
        00000080)
                # echo "Suspend2RAM" > /dev/console
                ;;
        #Fn+F2
        00000010)
                # echo "Wlan On" > /dev/console &
                /etc/acpi/wlan.sh poweron
                /etc/acpi/wlan.sh restore
                ;;
        00000011)
                # echo "Wlan Off" > /dev/console &
                /etc/acpi/wlan.sh poweroff
                ;;
        #Fn+F3
        00000030)
                # echo "LCD" > /dev/console &
                /usr/bin/xrandr --output LVDS --preferred --output VGA --off
                ;;
        00000031)
                # echo "CRT" > /dev/console &
                /usr/bin/xrandr --output VGA --mode 1280x1024 --output LVDS --off
                ;;
        00000032)
                # echo "LCD-CRT" > /dev/console &
                /usr/bin/xrandr --output VGA --mode 800x480 --output LVDS --mode 800x480
                ;;
        #Fn+F6
        00000012)
                # echo "Task Manage On" > /dev/console
                #DISPLAY=:0 /bin/su -c "/usr/bin/ksysguard --showprocesses" user &
                /opt/kde3/bin/ksysguard --showprocesses &
                ;;
        #Fn+F7
        00000013)
                # echo "Volume Mute" > /dev/pts/0 &
                amixer set Master toggle
                ;;
        #Fn+F8
        00000014)
                # echo "Volume Down" > /dev/console &
                amixer set Master 3.20dB-
                ;;
        #Fn+F9
        00000015)
                # echo "Volume Up" > /dev/console &
                amixer set Master 3.20dB+
                ;;
        #Fn+F3
        0000002x)
                #echo "Brightness Down" > /dev/pts/0
                ;;
        #Fn+F4
        0000002x)
                #echo "Brightness Up" > /dev/pts/0
                ;;
esac

Nach resume müssen Hotkeys ggf. durch "rcacpid restart" wiederbelebt werden.

WLAN

/usr/sbin/iwpriv ath0 ndis_reset
  • WLAN ein-/ausschalten (auch LED)
echo 0 > /proc/acpi/asus/wlan
echo 1 > /proc/acpi/asus/wlan

Spezielle Hardware-Anpassungen

Doku:

Usage:  once the module has been inserted, several files will appear in the
/proc/eee directory:

    pll - Reading this file will dump the current configuration data from
          the PLL chip.
    fsb - Reading this file will return the current FSB and voltage settings,
          while writing to this file will change the FSB and voltage.  The
          format of this file is three integers:
            <PLL N multiplier>  <PLL M divisor>  <CPU voltage>
          CPU voltage is 0 for "low" and 1 for "high".
    fan_rpm - The current speed of the fan in revolutions per minute.
    fan_speed - The current speed (0-100%) the fan is set to.
    fan_manual - When 0, the embedded controller turns the fan on and off
                 according to the CPU temperature.  When 1, writing to
                 fan_speed will change the speed of the fan;  the embedded
                 controller makes no changes on its own.
    temperature - The temperature of the CPU (in degrees C).

Note that when the fan is in manual mode, IT IS POSSIBLE TO DESTROY YOUR CPU!
It appears that the embedded controller will happily allow the temperature to
reach 90C (the CRITICAL temperature of the CPU), at which point a thermal
shutdown will be initiated.  This will turn the fan to 100%, throttle the CPU,
and probably even shutdown the machine.  Your CPU may or may not survive this
treatment...
Once this module has been loaded into
 *  the kernel, switching to 900Mhz is as simple as:
 *      echo 85 24 0 > /proc/eee/fsb        # 765Mhz
 *      echo 100 24 1 > /proc/eee/fsb       # 900Mhz
 *
 *  Switching back again is likewise simple:
 *      echo 85 24 0 > /proc/eee/fsb        # 765Mhz
 *      echo 70 24 0 > /proc/eee/fsb        # 630Mhz
 *
 *  The first number is the PLL N multiplier, and the second number is the PLL
 *  M divisor.  The reference frequency for the PLL is 24Mhz, so to calculate
 *  the speed in Mhz:
 *      Mhz = 24 * N / M
 *  The third number is the ECXW flag.  The 8804 BIOS sets this to 0 for
 *  70Mhz and 1 for 100Mhz.  I'm uncertain as to what exactly this flag does,
 *  but there have been reports that setting it to 1 increases stability at
 *  100Mhz.

Ethernet-Device

  • Auto-Negotiation deaktivieren und feste Werte einstellen, z.B. Half Duplex 100:
modprobe atl2 MediaType=2