HARDWARE Terra Anima 2200

From Gentoo Linux Wiki

Jump to: navigation, search
This page is a candidate for deletion 
Reason given: This it the English Gentoo Wiki, first part is translated
If you disagree with its deletion, please explain why on its discussion page.
If you intend to fix it, please remove this notice, but do not remove this notice from articles that you have created yourself.
Make sure no other pages link here and check the page's history before deleting.

For a German translation, see: Tuxhardware


lspci returns:


0000:00:00.0 Host bridge: Intel Corp. 82852/855GM Host Bridge (rev 02)<br /> 0000:00:00.1 System peripheral: Intel Corp. 855GM/GME GMCH Memory I/O Control Registers (rev 02)<br /> 0000:00:00.3 System peripheral: Intel Corp. 855GM/GME GMCH Configuration Process Registers (rev 02)<br /> 0000:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)<br /> 0000:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)<br /> 0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)<br /> 0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)<br /> 0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)<br /> 0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 03)<br /> 0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 83)<br /> 0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 03)<br /> 0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 03)<br /> 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)<br /> 0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)<br /> 0000:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)<br /> 0000:01:04.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)<br /> 0000:01:05.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)<br /> 0000:01:05.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)<br /> 0000:01:05.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04)<br />

There are still problems with these components:

- Special Internet-Keys
- Secure-Digital-Card-Reader

[edit] Linux

  • Configuration of xorg:
    Create a file /etc/X11/xorg.conf with this content:

    Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Touchpad" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option          "BlankTime"     "5"
    Option          "StandbyTime"   "10"
    Option          "SuspendTime"   "15"
    Option          "OffTime"       "20"
    EndSection
    
    Section "Files"
    RgbPath      "/usr/X11R6/lib/X11/rgb"
    ModulePath   "/usr/X11R6/lib/modules"
    FontPath     "/usr/share/fonts/misc/"
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/Speedo/"
    FontPath     "/usr/share/fonts/Type1/"
    FontPath     "/usr/share/fonts/CID/"
    FontPath     "/usr/share/fonts/75dpi/"
    FontPath     "/usr/share/fonts/100dpi/"
    EndSection
    
    Section "Module"
    Load  "extmod"
    Load  "dri"
    Load  "dbe"
    Load  "record"
    Load  "xtrap"
    Load  "glx"
    Load  "type1"
    Load  "freetype"
    EndSection
    
    Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option          "XkbRules"      "xorg"
    Option          "XkbModel"      "pc105"
    Option          "XkbLayout"     "de"
    EndSection
    
    Section "InputDevice"
    Identifier  "Touchpad"
    #Driver      "synaptics"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/psaux"
    Option      "SendCoreEvents"
    EndSection
    
    Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    Option          "DPMS"  "true"
    EndSection
    
    Section "Device"
    Identifier  "Card0"
    Driver      "i810"
    VendorName  "Intel Corp."
    BoardName   "82852/855GM Integrated Graphics Device"
    BusID       "PCI:0:2:0"
    EndSection
    
    Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
    Viewport   0 0
    Depth     24
    Modes     "1024x768"
    EndSubSection
    EndSection
    

    In sectionen "ServerLayout" and "Monitor": Powermanagement for X-Sever in case the Window-Manager does not suppurt powermanagement of display.</p>

    Synaptics-Touchpad, in case it is not detected automatically: <a class="custom" href="http://w1.894.telia.com/~u89404340/touchpad/" target="_blank">Download driver</a>.

    Kernel-Options:

    Device Drivers  --->
        Input device support  --->
        [M] Event interface
        [M]   PS/2 mouse
    

    load modules evdev and psmouse

  • USB:

    Kernel options:

    Loadable module support  --->
        [*] Enable loadable module support
    
    General setup  --->
        [*] Support for hot-pluggable devices
    
    SCSI support  --->
        [M] SCSI support
        [M]   SCSI disk support
        [M]   SCSI generic support
    
    File systems  --->
        [M] DOS FAT fs support
        [M]   MSDOS fs support
        [M]   VFAT (Windows-95) fs support
        [*] /proc file system support
        [*] /dev file system support
        [*]   Automatically mount at boot
    
    USB support  --->
        [M] Support for USB
        [*]   Preliminary USB device filesystem
        [M]   UHCI Alternate Driver (JE) support
        [M]   USB Mass Storage support
        [*]     Datafab MDCFE-B Compact Flash Reader support
        [*]     Microtech CompactFlash/SmartMedia support
        [*]     SanDisk SDDR-09 (and other SmartMedia) support
        [*]     Lexar Jumpshot Compact Flash Reader
    

    Tip: Install Software <a class="custom" href="http://usb.cs.tum.edu/" target="_blank">USB enumeration Utilities</a> to get information about the pluged USB-devices..

    After plugging in a USB device mount: /dev/sda1.


  • Powermanagement with Linux-2.6 Vanila:

    [*] Power Management support
    [*]   Software Suspend (EXPERIMENTAL)
    [*]   Suspend-to-Disk Support
    (/dev/hda2) Default resume partition
        ACPI (Advanced Configuration and Power Interface) Support  --->
     [*] ACPI Support
     [*]   Sleep States (EXPERIMENTAL) (NEW)
     <*>   AC Adapter
     <*>   Battery
     <*>   Button
     <*>   Fan
     <*>   Processor
     <*>     Thermal Zone
     <*>   ASUS/Medion Laptop Extras
     < >   Toshiba Laptop Extras
     [ ]   Debug Statements (NEW)
     [ ]   Power Management Timer Support (NEW)
        APM (Advanced Power Management) BIOS Support  --->
     <*> APM (Advanced Power Management) BIOS support
     [*]   Ignore USER SUSPEND
     [*]   Enable PM at boot time
     [*]   Make CPU Idle calls when idle
     [*]   Enable console blanking using APM
     [ ]   RTC stores time in GMT
     [ ]   Allow interrupts during APM BIOS calls
     [*]   Use real mode APM BIOS call to power off
    

    In this case a Swap-Partition /dev/hda2 is used for Suspend-to-Disk, you may use an extra swap-partition for intensive Suspend-to-Disk use.

    Test Suspend-to-Disk:

    echo -n disk > /sys/power/state

    You can use the powermanagement in KDE to control this option or check out <a class="custom" href="http://www.gentoo.de/doc/de/power-management-guide.xml" target="_blank">this script (German)</a>..

  • Firewire: Um den Anwendungen die verschiedenen Zugriffsarten auf den eingebauten Firewire-Chip und den Datenströmen zu ermöglichen, Kompilieren Sie Ihren Kernel mit folgenden Optionen. Wir gehen hier von einem LINUX-Kernel 2.6.X aus. LINUX-Kernel 2.4.X ist praktisch genauso zu konfigurieren. Bei den meisten Distributionen sollte der Kernel für die Unterstüzung dieser Karte jedoch bereits vorbereitet sein.

    Loadable module support  --->
        [*] Enable loadable module support
        [*]   Automatic kernel module loading
    <*> IEEE 1394 (FireWire) support
        ---   Subsystem Options
        [ ]   Excessive debugging output
        ---   Build in extra config rom entries for certain functionality
        ---     IP-1394 Entry
        ---   Device Drivers
        ---   Texas Instruments PCILynx requires I2C
        [M]   OHCI-1394 support
        ---   Protocol Drivers 
        [M]   OHCI-1394 Video support
        [M]   SBP-2 support (Harddisks etc.)
        [ ]     Enable Phys DMA support for SBP2 (Debug) (NEW)
        [M]  Ethernet over 1394
        [M]   OHCI-DV I/O support
        [*]   Raw IEEE1394 I/O support
        [M]   IEC61883-1 Plug support
        [M]    IEC61883-6 (Audio transmission) support
    

    Möglicherweise ist es noch eine gute Idee die Option Excessive debugging output zu aktivieren, um bei evtl. auftretenden Problemen mehr Informationen an den Syslog-Daemon weiterzuleiten. Da dies das System unter Umständen bremsen kann, sollte hier jeder selbst entscheiden.
    Desweiteren haben wir noch die Optionen SBP-2 support (Harddisks etc.) für den Einsatz von Firewire-Laufwerken und Ethernet over 1394 für den Einstaz der Firewire-Karte als "Netzwerkkarte" aktiviert.

    Sobald Ihr System mit dem neuen Kernel gebootet hat, probieren Sie modprobe ohci1394. Passiert dies ohne Fehlermedung, und sehen sie nach einem lsmod das Modul ohci1394 geladen, ist die Firewire-Karte installiert.

    Möchten Sie externe Speichermedien wie Firewire-Festplatten anschließen, werfen Sie einen Blick in diese <a class="custom" href="http://www.tuxhardware.de//product244product_archiv.html" target="_blank">Anleitung</a>.

    Möchten Sie ihre DV-fähige Digital-Kamera anschließen, werfen Sie einen Blick in diese <a class="custom" href="http://www.tuxhardware.de//category78/product210product_info.html" target="_blank">Anleitung</a>.


  • Der LAN-Anschluss wird getrieben vom Standard-Kernel-Modul 8139too und wird auch üblicherweise von den Distributionen direkt erkannt.
  • Die WLAN-Funktionalität gegeben durch Intel-Centrino-Technologie lässt sich nutzen mithilfe des <a class="custom" href="http://sourceforge.net/projects/ipw2200/" target="_blank">Intel PRO/Wireless 2200BG Treibers</a>
    Laden Sie die aktuelle Version des Treiber herunter, entpacken ihn, und kompilieren Sie ihn mit den Kommandos make && make install. Mit gentoo haben Sie wiederum gewonnen. Hier gibt es schon ein ebuild, daß Sie mir emerge ipw2200 ipw2200-fw einfach installieren können.

    Folgende Kernel-Optionen sind notwendig:

    Device Drivers  --->
        Generic Driver Options  --->
            [M] Hotplug firmware loading support
        Networking support  --->
            Wireless LAN (non-hamradio)  --->
                [*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
    
    Cryptographic options  --->
        [*]   ARC4 cipher algorithm
        [*]   Michael MIC keyed digest algorithm
    
    Library routines  --->
        [M] CRC32 functions
    

    Laden Sie die Firmware-Dateien <a class="custom" href="http://ipw2200.sourceforge.net/firmware.html" target="_blank">hier</a> herunter, und kopieren Sie die vier im Paket enthaltenen Dateien in das Verzeichnis /usr/lib/hotplug/firmware/.

    Laden Sie die <a class="custom" href="http://sourceforge.net/projects/linux-hotplug/" target="_blank">aktuellen hotplug Skripte</a> herunter.

    Weiterhin muss das Pseudo-Dateisystem /sys gemountet sein - das sollte aber bei allen aktuellen Distributionen der Fall sein.

    Schließlich lässt sich das Treibermodul laden mit dem Kommando modprobe ipw2200, woraufhin das neu angelegte Interface eth1 wie gewohnt mit ifconfig eth1 192.168.1.3 (Beispiel) konfiguriert werden kann. Dies sollte ebenso das Laden der beiden Module firmware_class und ieee80211 nachsichziehen.
    Vorsicht! Nach jedem Neukompilieren des Linux-Kernels ist es notwendig, den Treiber neu zu kompilieren (make und make install), damit die Wireless-Lankarte korrekt funktioniert.

  • Die Soundkarte wird mit ALSA konfiguriert. Der 2.6er Kernel kennt die hier verwendete Soundkarte bereits, aktuelle Distributionen sollten also kein Problem haben. Ansonsten muß ALSA korrekt in den Kernel kompiliert werden, wir berücksichtigen dabei auch gleich das eingebaute Modem:

    Device Drivers  --->
        Sound  --->
             <*> Sound card support
                  Advanced Linux Sound Architecture  --->
                         <M> Advanced Linux Sound Architecture
                         <M> Sequencer support
                         <M> OSS Mixer API
                         <M> OSS PCM (digital audio) API
                          [M] OSS Sequencer API
                         PCI devices  ---> 
                               <M> Intel/SiS/nVidia/AMD/ALi AC97 Controller
                               <M> Intel/SiS/nVidia/AMD MC97 Modem (EXPERIMENTAL)
    

    Wieder ein Hinweis für gentoo-Nutzer: alsa-driver ist nicht notwendig, da ALSA nun bereits im Kernel kompiliert ist. Notwendig sind jedoch die alsa-utils. Damit die Kernel-Module auch korrekt geladen werden, müssen Sie in die /etc/modules.d/alsa eingtragen werden:

    alias snd-card-0 snd-intel8x0
    alias snd-card-1 snd-intel8x0m
    # Folgende Zeilen sind nur bei  OSS Kompatibilität notwendig:
    alias sound-slot-0 snd-card-0
    alias /dev/mixer snd-mixer-oss
    alias /dev/dsp snd-pcm-oss
    alias /dev/midi snd-seq-oss
    

    Nach einem modules-update sollten nun die benötigten Module geladen werden. Außerdem sollte man nicht vergessen, alsasound in den boot-runlevel aufzunehmen:

    # rc-update add alsasound boot
    # /etc/init.d/alsasound start
    

    Wahrscheinlich hören Sie jetzt immer noch keinen Sound - das liegt daran, daß zunächst alle Kanäle stumm (mute) geschalten sind. Im KDE lässt sich das mit dem kmix-utility beheben oder Sie verwenden den amixer:

    # amixer set Master 100 unmute
    # amixer set PCM 100 unmute
    

    Wenn's jetzt noch nicht aus dem Lautsprecher tönt, sollte man nochmal die Kerneleinstellungen prüfen. </li>

  • <p>Für die IrDA-Schnittstelle sind folgende Kernel-Optionen notwendig:

    Device Drivers  --->
        Networking support  --->
            [*] IrDA (infrared) subsystem support  --->
                [M]   IrLAN protocol
                [*]   IrCOMM protocol
                [M]   IrNET protocol
                [*]   Ultra (connectionless) protocol
                [*]   Cache last LSAP
                [*]   Fast RRs (low latency)
                Infrared-port device drivers  --->
                    [M] IrTTY (uses Linux serial driver)
    

    Nach laden der Module und des Befehls irattach kann die IrDA-Schnittstelle beispielsweise mit obexftp genutzt werden.

    # modprobe sir_dev
    # modprobe irtty_sir
    # irattach /dev/ttyS1 -s
    
  • Das Modem kann genutzt werden mithilfe des <a class="custom" href="http://www.smlink.com/" target="_blank">SmartLink-Treibers</a>. Laden Sie ihn herunter, entpacken Sie ihn, und kompilieren Sie den Treiber mit den Kommandos make && make install.
    Gentoo-Nutzer können wieder das ebuild "slmodem" nutzen.

    Testweise kann der notwendige Daemon auf der Kommandozeile gestartet werden: /usr/sbin/slmodemd --country=GERMANY (später wird der Daemond mittels eines init-Skriptes gestartet - zu finden im Verzeichnis scripts). Der Daemon gibt nun auch das korrekte Device für das Modem zurück. Legen Sie einen Device-Link für das Modem an: cd /dev && ln -sf ttySL0 modem
    Die Konfigurationsdatei /etc/conf.d/slmodem benötigt nun einen Eintrag für das Device /dev/modem und für das Modul, das benutzt werden soll. Da wir bereits bei der Soundkartenkonfiguration das Modem berücksichtigt haben, entkommentieren wir hier "alsa". Als einfachen Funktionstest können wir nun kppp aufrufen und das Modem mit dem korrekten Device konfigurieren. Mit dem Button "Terminal" kann man nun eine direkte Verbindung auf das Modem herstellen. Nach der Initialisierung führt kppp ein "ATZ" aus, das Modem sollte ein OK zurückgeben. Nun kann man in kppp die restlichen Provider-Einstellungen (Telefonnummer, User, Passwort) angeben. Damit andere User außer root das Modem benutzen können, ist es übrigens notwendig, daß der User sich in der Gruppe "dialout" befindet. Eine weitere Anmerkung - wvdial hat bei unseren Tests nicht korrekt mit dem slmodemd zusammengearbeitet, ein wvdialconf scheiterte leider.