Acer Aspire 1642WLMi

Gentoo Linux Wiki sitesinden

Git ve: kullan, ara

Konu başlıkları

[değiştir] Genel Bakış

Bu makale Acer Aspire 1642 WLMi CentrinoTM laptop için hazırlanmıştır. Donanım özellikleri şu şekildedir:

  • Intel Pentium M 740 işlemci, 1733 MHz, FSB 533 MHz, 2 MB L2 Önbellek
  • Intel Graphics Media Accelerator 900 128 MB paylaşılan hafıza + 15.4 WXGA Acer CrystalBrite TFT LCD 1280x768x32
  • Ses Kartı HDA Intel (Realtek alc260 chip)
  • Hafıza & Sürücüler: HDD 80 GB, DVD+RW DL recorder, RAM 512MB DDR2
  • Ağ:
    • Modem 56K Wake-On-Ring
    • LAN Ethernet 10/100Mbps Wake-On-Lan (Realtek)
    • WLAN IPW2200 802.11b/g Acer SignalUp
  • Giriş Aygıtları:
    • standart klavye + hızlı erişim tuşları
    • Synaptics touchpad
  • PCMCIA

lspci çıktısı:

Kod: lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA])
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04) (prog-if 00 [Normal decode])
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04) (prog-if 00 [Normal decode])
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04) (prog-if 00 [Normal decode])
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) (prog-if 00 [UHCI])
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) (prog-if 00 [UHCI])
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) (prog-if 00 [UHCI])
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04) (prog-if 00 [UHCI])
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04) (prog-if 20 [EHCI])
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) (prog-if 01 [Subtractive decode])
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04) (prog-if 8a [Master SecP PriP])
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
06:01.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
06:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
06:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

[değiştir] Kurulum Notları

Düzgün çalışan ses sürücüsü 2.6.17 ve üzeri çekirdekler ile gelmekte.

Dosya: /etc/make.conf
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

USE="dri tiff bash-completion X -gnome kde opengl doc alsa -arts cups gtk qt3 qt4 cdr dvd dvdr dvdread fortran hal jpeg png gif imlib
 usb java ssl unicode truetype nls"

LINGUAS="pl en"
AUDIO_CARDS="hda-intel"
VIDEO_CARDS="vga i810"
INPUT_DEVICES="keyboard mouse ps2mouse synaptics"

GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.un
i-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors
/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/  ftp://gentoo.po.opole.pl ftp://mi
rror.icis.pcz.pl/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="ccache userpriv usersandbox strict"
CCACHE_SIZE="2G"
#source /usr/portage/local/layman/make.conf

[değiştir] Ayarlar

[değiştir] CPU

CPU Frekans Kontrolü (Intel SpeedStep) aşağıdaki çekirdek ayarlamaları ile sorunsuz çalışmakta.

Linux Çekirdek Ayarları: 2.6.19-suspend2-r3
 Processor type and features  --->
 Subarchitecture Type (PC-compatible)
  Processor family (Pentium M)
 [*] Generic x86 support
 [ ] HPET Timer Support
     Preemption Model (Voluntary Kernel Preemption (Desktop))
 [*] Local APIC support on uniprocessors
 [*]   IO-APIC support on uniprocessors
 [*] Machine Check Exception
 <*> /dev/cpu/microcode - Intel IA32 CPU microcode support
 <*> /dev/cpu/*/msr - Model-specific register support
 <*> /dev/cpu/*/cpuid - CPU information support
 [*] Math emulation
 [*] MTRR (Memory Type Range Register) support
 [ ] Boot from EFI support
 [*] Use register arguments
 [ ] Enable seccomp to safely compute untrusted bytecode
 Timer frequency (1000 HZ)
 Power management options (ACPI, APM)  --->
  CPU Frequency scaling  --->
 [*] CPU Frequency scaling
 [*]   Enable CPUfreq debugging
 <*>   CPU frequency translation statistics
 [*]     CPU frequency translation statistics details
         Default CPUFreq governor (userspace)  --->
 <*>   'performance' governor
 <*>   'powersave' governor
 ---   'userspace' governor for userspace frequency scaling
 <*>   'ondemand' cpufreq policy governor
 <*>   'conservative' cpufreq governor
 ---   CPUFreq processor drivers
 <*>   ACPI Processor P-States driver
 <*>   Intel Enhanced SpeedStep
 [*]     Use ACPI tables to decode valid frequency/voltage pairs

İsterseniz ACPI yapılandırmasına yardımcı olan sys-power/cpufrequtils pakedini kurabilirsiniz. Ayrıca Gentoo güç yönetimi eğitseline bakmanızda fayda var.

Kod: cpufrequtils
emerge cpufrequtils

Eğer sorunsuz tamamlanmış ise şöyle bir çıktı almanız gerekmekte:

Kod: cpufrequtils
[~]# cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: centrino
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 1.73 GHz
  available frequency steps: 1.73 GHz, 1.33 GHz, 1.07 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, powersave, userspace, performance
  current policy: frequency should be within 800 MHz and 1.73 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 1.73 GHz (asserted by call to hardware).

CPU frekansını kontrol etmek için x11-plugins/wmlaptop veya sys-power/cpufreqd kullanabilirsiniz.

[değiştir] Grafik

[değiştir] Xorg

xserver kurun:

Kod: Xorg kurulumu
emerge xorg-server
emerge mesa-progs

/etc/X11/xorg.conf dosyasını düzenleyin:

Dosya: /etc/X11/xorg.conf
Section "Module"
Load    "dbe"   # Double buffer eklentisi

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

Load    "type1"
Load    "freetype"
Load    "glx"
Load    "dri"
Load    "xtrap"

EndSection

#bu bolum sizin makinanizda farkli olabilir
Section "Files"

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/corefonts"
    FontPath   "/usr/share/fonts/terminus"
    FontPath   "/usr/share/fonts/freefont"
    FontPath   "/usr/share/fonts/default"
    FontPath   "/usr/share/fonts/100dpi/"

EndSection


Section "ServerFlags"

#isterseniz bu bolumu degistirebilirsiniz, su anda dokunmuyoruz

EndSection


Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "pl"
    Option "XkbVariant" "pl"

EndSection

Section "InputDevice"

    Identifier  "Mouse0"
 Driver      "mouse"
    Option "Protocol"    "Auto" # Auto detect
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"   "4 5 6 7"
    Option "Emulate3Buttons"

EndSection

#only if you use Synaptics Touchpad!
Section "InputDevice"
   Driver       "synaptics"
   Identifier   "TouchPad"
   Option       "Device"        "/dev/input/mouse0"
   Option       "Protocol"      "auto-dev"
   Option       "LeftEdge"      "1700"
   Option       "RightEdge"     "5300"
   Option       "TopEdge"       "1700"
   Option       "BottomEdge"    "4200"
   Option       "FingerLow"     "25"
   Option       "FingerHigh"    "30"
   Option       "MaxTapTime"    "120"
   Option       "MaxTapMove"    "220"
#   Option      "MaxDoubleTapTime" "180"
#   Option      "SingleTapTimeout" "180"
#   Option      "ClickTime"     "100"
   Option       "EmulateMidButtonTime" "75"
   Option       "VertScrollDelta" "100"
   Option       "HorizScrollDelta" "100"
   Option       "VertEdgeScroll" "1"
   Option       "HorizEdgeScroll" "1"
   Option       "VertTwoFingerScroll" "0"
   Option       "HorizTwoFingerScroll" "0"
   Option       "MinSpeed"      "0.15"
   Option       "MaxSpeed"      "0.30"
   Option       "AccelFactor"   "0.0015"
   Option       "EdgeMotionMinZ" "80"
   Option       "EdgeMotionMaxZ" "120"
   Option       "EdgeMotionMinSpeed" "80"
   Option       "EdgeMotionMaxSpeed" "120"
   Option       "EdgeMotionUseAlways" "0"
   Option       "UpDownScrolling" "1"
   Option       "LeftRightScrolling" "1"
#   Option      "RTCornerButton" "2"
#   Option      "RBCornerButton" "3"
#   Option      "LTCornerButton" "0"
#   Option      "LBCornerButton" "0"
#   Option      "TapButton1" "3"
#   Option      "TapButton2" "1"
#   Option      "TapButton3" "0"
#   Option      "GuestMouseOff" "0"
#   Option      "LockedDrags" "0"
   Option       "CircularScrolling" "0"
   Option       "CircScrollDelta" "0.1"
#   Option      "CircScrollTrigger" "2"
   Option       "SHMConfig"     "on"
   Option       "Emulate3Buttons" "on"
   Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"

    Identifier  "lcd"
    HorizSync   31.5 - 90
    VertRefresh 60 - 60
    Option      "DPMS"

EndSection

Section "Device"

    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "vga"

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "915"
    Driver      "i810"
    Option      "NoAccel" "false"
    Option      "DRI" "true"
    Option      "DevicePresence" "true"
    Option      "MonitorLayout" "CRT,LFP"
    Option      "clone" "on"
    Option      "CloneRefresh" "60"
 #   Option     "DDC" "false"
    VideoRam    131072

EndSection


Section "Screen"
    Identifier  "Screen 1"
    Device      "915"
    Monitor     "lcd"
  DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x768" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x768" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
#        Modes       "1024x768" "800x600" "640x480"
        Modes       "1280x768" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"

    Screen "Screen 1"
    InputDevice "Mouse0" "CorePointer"
    InputDevice "TouchPad" "AlwaysCore"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection


DRI'ın etkin olduğunu kontrol etmek için:

Kod: DRI
glxinfo | grep render
>> olması gereken satır >>
direct rendering: Yes

[değiştir] Doğal çözünürlük

Yeni Xorg ile birlikte (>= xorg-server-1.3.0.0 ve xf86-video-i810-2.1.0) doğal çözünürlüğü sorunsuz vermesi gerekmektedir. Eski yapılandırmalar için:

Kod: 915resolution kurulumu
echo "sys-apps/915resolution ~x86" >> /etc/portage/package.keywords
emerge 915resolution

/etc/conf.d/915resolution dosyasındaki ayarları 5c 1280 768 32 olarak değiştirin :

Dosya: /etc/conf.d/915resolution
# Config file for /etc/init.d/915resolution
# based on the config file included with sys-apps/855resolution
# this example will replace mode "4c" with 1280x768x24
replace=( "5c 1280 768 32" )

Xorg için ayarlamalar:

Dosya: /etc/X11/xorg.conf
    Subsection "Display"
        Depth       24
        Modes       "1280x768" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection

Ve 915resolution servisinin açılışta başlatılması:

Kod: 915resolution
rc-update add 915resolution boot
Not: Not: Çözünürlüğü anında değiştirmek için x11-apps/xrandr kullanabilirsiniz.

[değiştir] Hafıza

Sorunsuz çalışmaktadır. HDD ile ilgili bilgileri görüntülemek için sys-apps/smartmontools kullanabilirsiniz.

Kod: smartmontools
emerge smartmontools
rc-update add smartd default

DVD+RW DL için:

Kod: dvd+rw
emerge cdrtools dvd+rw-tools

[değiştir]

[değiştir] Kablosuz Ağ IPW2200

Çekirdek sürücülerinin yanı sıra net-wireless/wireless-tools ve net-wireless/wpa_supplicant ile sorunsuz çalışmaktadır. Ayrıca Kablosuz Ağ Eğitseli ve laptop-matrix sayfalarına bakabilirsiniz.

Kod: ipw2200
emerge wireless-tools ipw2200-firmware
emerge wpa_supplicant

led tuşunu açmak için:

Kod: ipw2200
echo "options ipw2200 led=1" >> /etc/modules.d/ipw2200
modules-update

[değiştir] LAN Ethernet Wake-On-Lan

8139too çekirdek modülü ile sorunsuz çalışmaktadır.

Kod: eth0
modprobe 8139too
/etc/init.d/net.eth0 start
rc-update add net.eth0 default

Ağ arayüzleri için udev kullanabilirsiniz. Ayrıca Gentoo udev eğitseline bakabilirsiniz. Wake-On-Lan özelliği test edilmemiştir.

[değiştir] Modem 56k Wake-On-Ring

Test edilmedi.

[değiştir] Ses Kartı Intel HDA

alsa-driver sürücüsü ve çekirdek modülü snd-hda-intel ile tüm giriş/çıkış portları sorunsuz çalışmaktadır. ALSA ayarlamaları için Gentoo Linux ALSA Eğitseli'ne bakabilirsiniz.

[değiştir] PCI CARD

Test edilmedi.

[değiştir] Giriş Aygıtları

[değiştir] Hızlı erişim tuşları

Bir çözüm yolu için bu adrese bakabilirsiniz. x11-misc/hotkeys pakedini kurun:

Kod: hotkeys
emerge hotkeys

/usr/share/hotkeys/aceraspire1642.def dosyasını düzenleyin:

Dosya: aceraspire1642.def
<?xml version="1.0"?>

<definition>

  <config model="Acer Aspire 1642 Series Keyboard">

    <VolUp        keycode="176"/>
    <VolDown      keycode="174"/>
    <Mute         keycode="160"/>

                <userdef keycode="245" command="echo Acer Help"><b style="color:black;background-color:#ffff66">Acer</b> help</userdef>
                <userdef keycode="151" command="echo Acer e"><b style="color:black;background-color:#ffff66">Acer</b> e</userdef>
                <userdef keycode="159" command="echo Acer P"><b style="color:black;background-color:#ffff66">Acer</b> P</userdef>
                <userdef keycode="194" command="echo wifi off">wifi on</userdef>
                <userdef keycode="195" command="echo wifi on">wifi off</userdef>
                <userdef keycode="199" command="echo Bluetooth on">bluetooth on</userdef>
                <userdef keycode="200" command="echo Bluetooth off">bluetooth off</userdef>
                <userdef keycode="193" command="echo Acer eSetting">eSetting</userdef>
                <userdef keycode="158" command="echo Acer ePM">ePM</userdef>
                <userdef keycode="196" command="echo Mousepad on">MousePad On</userdef>
                <userdef keycode="121" command="echo Mousepad off">MousePad Off</userdef>
                <userdef keycode="166" command="echo Windows clycle">Windows Cycle</userdef>
           <userdef keycode="171" command="echo Euro">Euro</userdef>
                <userdef keycode="172" command="echo Dollars">Dollars</userdef>
                <PrevTrack keycode="144"/>
                <Play      keycode="162"/>
                <Stop      keycode="164"/>
                <NextTrack keycode="153"/>

    <WebBrowser   keycode="178"/>
    <Email        keycode="236"/>
  </config>

  <contributor>
    <name>Didier CLERC</name>
    <email>didier-clercNOSPAM@linuxbourg.ch</email>
  </contributor>

</definition>

/etc/hotkeys.conf dosyasını düzenleyin:

Dosya: hotkeys.conf
############################################################
# Global configuration for hotkeys                         #
############################################################

# These are the default values.
# A line starting with # is a comment.

### Specify the default keyboard  (without the .def extension) so you
### don't need to specify -t every time
 Kbd=aceraspire1642
 CDROM=/dev/dvd

 PrevTrack=audacious --rew
 Play=audacious --play-pause
 Stop=audacious --stop
# Pause=audacious --pause
 NextTrack=audacious --fwd
# Rewind=

 WebBrowser=firefox
# Email=mozilla -mail
# Calculator=xcalc
# FileManager=gmc
# MyComputer=gmc
# MyComputer=gmc
# MyDocuments=gmc
# Favorites=gnome-moz-remote --remote=openBookmarks
# Transfer=gtp
# Record=grecord
# Shell=xterm -rv
# ScreenSaver=xscreensaver-command -activate
# NewsReader=mozilla -news
# Communities=mozilla -remote 'openURL(http://slashdot.org)'
# Search=mozilla -remote 'openURL(http://google.com)'
# Idea=mozilla -remote 'openURL(http://sourceforge.net)'
# Shopping=mozilla -remote 'openURL(http://thinkgeek.com)'
# Go=mozilla -remote 'openURL(http://linux.com)'
# Print=lpr
# Rotate=

 osd_font=-arphic-ar pl kaitim big5-bold-i-normal--0-250-0-0-c-0-*-*
### For the color, you can either use the strings in /etc/X11/rgb.txt,
### or use the RGB syntax #RRGGBB, e.g. ##A086FF
 osd_color=LawnGreen
 osd_timeout=3
### osd_position is either 'top' or 'bottom'
 osd_position=bottom
 osd_offset=25

/usr/bin/acerhotkeys.sh dosyasını düzenleyin:

Dosya: acerhotkeys.sh
#!/bin/sh
#-----------------------------------------------
#<b style="color:black;background-color:#ffff66">Acer</b> Aspire 1694WLMi hotkey
s
#-----------------------------------------------
SKC=/usr/bin/setkeycodes

#help (symb ?) (Fn+F1 )
#dmesg: setkeycodes e025 <keycode>
#define KEY_HELP                138
$SKC e025 138

#<b style="color:black;background-color:#ffff66">Acer</b> eSetting (Fn+F2)
#dmesg: setkeycode e026 <keycode>
#define KEY_SETUP               141
$SKC e026 141


#<b style="color:black;background-color:#ffff66">Acer</b> ePowerManagement (Fn+F
3)
#dmesg: setkeycodes e027 <keycode>
#define KEY_MENU                139
$SKC e027 139

#Sleep (symb Zz) (Fn+F4) doesn't work
#no dmesg or xev
#define KEY_SLEEP               142

##Display Choice (symb [  ]|[#]) (Fn+F5)
#dmesg: setkeycode e029 <keycode>
#define KEY_CYCLEWINDOWS        154
$SKC e029 154

##Black screen (symb[*]>[ ]) (Fn+F6) works (turn off/on the LCD)
#no dmesg or xev

##Mousepad (Fn+F7) works (turn off/on the mousepad)
#dmesg: setkeycodes e072 <keycode> (off->on)
#define KEY_CHAT->->216
$SKC e072 216
#dmesg: setkeycodes e071 <keycode> (off->on)
#define KEY_SPORT  220
$SKC e071 220
##extra € (near direction keys,above left key)
#dmesg: setkeycodes e033 <keycode>
#define KEY_PROG3               202
$SKC e033 202

##extra $ (near direction keys,above right key)
#dmesg: setkeycodes e034 <keycode>
#define KEY_PROG4               203
$SKC e034 203

##Brightness Up (Fn+Right) make LCD brighter
#dmesg: setkeycodes e06e <keycode>
#define KEY_BRIGHTNESSUP        225
$SKC e06e 225

##<b style="color:black;background-color:#ffff66">acer</b> P
#dmesg: setkeycodes e073 <keycode>
#define KEY_PROG1               148
$SKC e073 148

##<b style="color:black;background-color:#ffff66">acer</b> e
#dmesg: setkeycodes e074 <keycode>
#define KEY_PROG2               149
$SKC e074 149

##Blue LED Switchbutton (bluetooth)
#dmesg: setkeycodes e057 <keycode> (off-> on, the blue light turns on)
#define KEY_SENDFILE 145$
$SKC e057 145
#dmesg: setkeycodes e058 <keycode> (on-> off, the blue light turns off)
#define KEY_DELETEFILE 146
$SKC e058 146

##Orange LED Switchbutton (wifi)
#dmesg: setkeycodes e055 <keycode> (/sys/bus/pci/drivers/ipw2200/0000\:06\:03.0/
rf_kill goes from 2 to 0 or from 3 to 1)
#define KEY_CONNECT   218
$SKC e055 218
#dmesg: setkeycodes e056 <keycode> (/sys/bus/pci/drivers/ipw2200/0000\:06\:03.0/
rf_kill goes from 0 to 2 or from 1 to 3)
#define KEY_FINANCE   219
$SKC e056 219

Betiğin izinlerini değiştirin:

Kod: acerhotkeys
chmod 755 /usr/bin/acerhotkeys.sh

/etc/conf.d/local.start dosyasını düzenleyin:

Dosya: /etc/conf.d/local.start
# /etc/conf.d/local.start

# This is a good place to load any misc programs
# on startup (use &>/dev/null to hide output
  /usr/bin/acerhotkeys.sh

acerhotkeys.sh betiğini başlatın, {Dizin|hotkeys}} dosyasını masaüstü ortamınızın otomatik başlatması için ayarlayın ve çalıştırın.

[değiştir] Fn+F4 uyku eylemi

Not: Not: Sadece sys-kernel/tuxonice-sources ve sys-power/hibernate-script ile denenmiştir.

/etc/acpi/default.sh dosyasını düzenleyin ve uyku eylemini ekleyin:

Dosya: /etc/acpi/default.sh
#!/bin/sh
# Default acpi script that takes an entry for all actions set $*
# Take care about the way events are reported
ev_type=`echo "$1" | cut -d/ -f1`
if [ "$ev_type" = "$1" ];
then event="$2";
else event=`echo "$1" | cut -d/ -f2`
fi
case "$ev_type" in
button)
case "$event" in
power) logger "acpid: received a shutdown request"
/sbin/init 0 break ;;
sleep) logger "acpid: received a suspend2disk request (Fn-F4)"
 /usr/sbin/hibernate
break;;
*) logger "acpid: action $2 is not defined" ;;
esac ;;
*) logger "ACPI group $1 / action $2 is not defined"
;; esac

ve acpid servisini yeniden başlatın.

Kod: acpi
/etc/init.d/acpid restart

[değiştir] Fn+F5 yönlendirme eylemi

app-misc/i810switch pakedini kurun ve /usr/share/hotkeys/aceraspire1642.def dosyasını düzenleyin:

Dosya: /usr/share/hotkeys/aceraspire1642.def
<userdef keycode="166" command="sudo i810rotate">Windows Cycle</userdef>

i810switch'in /dev/mem erişimine ihtiyacı olduğu için /etc/sudoers dosyasını düzenlemeniz gerekmektedir:

Dosya: /etc/sudoers
USER ALL(root) NOPASSWD: /usr/bin/i810switch

[değiştir] Synaptics Touchpad

Bkz. ingilizce synaptics sayfası. Use bayrakları:

Dosya: make.conf
INPUT_DEVICES="keyboard mouse ps2mouse synaptics"

x11-drivers/synaptics pakedini kurun:

Kod: emerge synaptics
emerge synaptics

xorg.conf dosyasını düzenleyin:

Dosya: xorg.conf
Section "InputDevice"
   Driver       "synaptics"
   Identifier   "TouchPad"
   Option       "Device"        "/dev/input/mouse0"
   Option       "Protocol"      "auto-dev"
   Option       "LeftEdge"      "1700"
   Option       "RightEdge"     "5300"
   Option       "TopEdge"       "1700"
   Option       "BottomEdge"    "4200"
 Option       "FingerLow"     "25"
   Option       "FingerHigh"    "30"
   Option       "MaxTapTime"    "120"
   Option       "MaxTapMove"    "220"
#   Option      "MaxDoubleTapTime" "180"
#   Option      "SingleTapTimeout" "180"
#   Option      "ClickTime"     "100"
   Option       "EmulateMidButtonTime" "75"
   Option       "VertScrollDelta" "100"
   Option       "HorizScrollDelta" "100"
   Option       "VertEdgeScroll" "1"
   Option       "HorizEdgeScroll" "1"
   Option       "VertTwoFingerScroll" "0"
   Option       "HorizTwoFingerScroll" "0"
   Option       "MinSpeed"      "0.15"
   Option       "MaxSpeed"      "0.30"
   Option       "AccelFactor"   "0.0015"
   Option       "EdgeMotionMinZ" "80"
   Option       "EdgeMotionMaxZ" "120"
   Option       "EdgeMotionMinSpeed" "80"
   Option       "EdgeMotionMaxSpeed" "120"
   Option       "EdgeMotionUseAlways" "0"
   Option       "UpDownScrolling" "1"
   Option       "LeftRightScrolling" "1"
#   Option      "RTCornerButton" "2"
#   Option      "RBCornerButton" "3"
#   Option      "LTCornerButton" "0"
#   Option      "LBCornerButton" "0"
#   Option      "TapButton1" "3"
#   Option      "TapButton2" "1"
#   Option      "TapButton3" "0"
#   Option      "GuestMouseOff" "0"
#   Option      "LockedDrags" "0"
   Option       "CircularScrolling" "0"
   Option       "CircScrollDelta" "0.1"
#   Option      "CircScrollTrigger" "2"
   Option       "SHMConfig"     "on"
   Option       "Emulate3Buttons" "on"
   Option       "ZAxisMapping" "4 5"
EndSection

Section "ServerLayout"

    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse0" "CorePointer"
    InputDevice "TouchPad" "AlwaysCore"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

[değiştir] Yazarlar

  • Çeviren: Seqizz - 3 Ağustos 2009


Yazarlar bu döküman üzerinde çalışan ve içeriğinde belirgin değişiklik yapan kişilerdir. Eğer bu dökümanı siz düzenlediyseniz ve kendinizi yazarlar listesine eklemek istiyorsanız lütfen "Yazarlar Kim" bölümünü okuyun.

Diğer diller