Nx7400 (Polski)

From ArchWiki

Jump to: navigation, search


Opis konfiguracji systemu Archlinux na laptopie HP nx7400

Contents

Konfiguracja sprzętowa

Producent: HP
Model: Compaq nx7400 ey508es
CPU: Intel Centrino Duo T2250 1,73
Video: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
Audio: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Eth: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
Wlan: Intel Corporation PRO/Wireless 3945ABG Network Connection

Instalacja:

Instalacja Archlinux 0.7.2 przebiegła bez problemów.


Ustawienia w pliku xorg.conf

W poniższym pliku konfiguracyjnym uwzględione są ustawienia konieczne do uruchomienia Beryla oraz dodatkowa myszka podłączana przez USB.

Konieczna jest również instalacja sterowników karty graficznej oraz synaptics

pacman -Sy xf86-video-i810 synaptics
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        #InputDevice    "Mouse0"
        InputDevice     "Mouse1"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option          "AIGLX" "true"
EndSection
Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbLayout" "pl"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "CorePointer"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
    
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "SendCoreEvents" "true"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mouse1"
        Option      "ZAxisMapping" "4 5 6 7"
    
EndSection


Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        Option "XAANoOffscreenPixmaps" "true"
        Option      "DRI" "true"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1280x800"
        EndSubSection
EndSection
Section "InputDevice"
  Driver        "synaptics"
  Identifier    "Mouse[1]"
  Option        "Device"        "/dev/psaux"
  Option        "Protocol"      "auto-dev"
  Option        "LeftEdge"      "1700"
  Option        "RightEdge"     "5300"
  Option        "TopEdge"       "1700"
  Option        "BottomEdge"    "4200"
  Option        "FingerLow"     "25"
  Option        "FingerHigh"    "30"
  Option        "MaxTapTime"    "180"
  Option        "MaxTapMove"    "220"
  Option        "VertScrollDelta" "100"
  Option        "MinSpeed"      "0.06"
  Option        "MaxSpeed"      "0.12"
  Option        "AccelFactor" "0.0010"
  Option        "SHMConfig"     "on"
#  Option       "Repeater"      "/dev/ps2mouse"
EndSection
                          
Section "Extensions"
        Option "Composite" "true"
EndSection

Wi-fi

Aby zainstalować kartę wifi wystarczy zainstalować pakiet ipw9345

pacman -Sy ipw3945
oraz w pliku rc.conf dodać wpisy w sekcji MODULES ipw3945 oraz w sekcji DAEMONS ipw3945d (przed network)

Dodatkowo można zainstalować sobie program wifi-radar, który wyświetla dostępne sieci bezprzewodowe i pozwala na tworzenie profili konfiguracyjnych.

pacman -S wifi-radar

Aby móc korzystać z tego programu z poziomu zwykłego użytkownika należy dodać odpowiedni wpis do reguł programu sudo. trzeba to zrobić przez wywołanie programu visudo jako root. Wpis który należy dodać wygląda następująco:

user_name ALL=(root) NOPASSWD: /usr/bin/wifi-radar

Dźwięk

Aby poprawnie skonfiguraować kartę dźwiękową wystarczy zainstalować pakiet alsa

pacman -Sy alsa-utils alsa-lib
Konfiguracja odbywa się poprzez uruchomienie programu alsaconf

Klawisze multimedialne

Do konfiguracji klawiszy multimedialnych można użyć programu xbindkeys

pacman -Sy xbindkeys

Następnie tworzymy plik .xbindkeysrc o następującej treści:

"amixer -q sset Master 1+ unmute"
  m:0x0 + c:176
"amixer -q sset Master 1- unmute"
  m:0x0 + c:174
"amixer -q sset Master toggle"
  m:0x0 + c:160

Personal tools