Acer Aspire 1642WLMi
From Gentoo Linux Wiki
| Laptops • TV Tuner Cards • Wireless • Servers • Storage • Other Hardware • Motherboards • Related |
Contents |
[edit] Preface
Acer Aspire 1642 WLMi is a centrino built laptop, perfectly working as a desktop or/and workstation. Following list contains its hardware:
- Intel Pentium M 740 processor, 1733 MHz, FSB 533 MHz, 2 MB L2 Cache
- Intel Graphics Media Accelerator 900 128 MB shared memory + 15.4 WXGA Acer CrystalBrite TFT LCD 1280x768x32
- Sound Card HDA Intel (Realtek alc260 chip)
- Memory: HDD 80 GB, RAM 512MB DDR2, DVD+RW DL recorder
- Networking:
- Modem 56K Wake-On-Ring
- LAN Ethernet 10/100Mbps Wake-On-Lan (Realtek)
- WLAN IPW2200 802.11b/g Acer SignalUp
- Input Devices:
- standard keyboard + hotkeys
- Synaptics touchpad
- PCMCIA
This picture was taken from www.acer.com.
Printout of lspci -v:
| File: lspci -v |
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, fast devsel, latency 0 Capabilities: [e0] Vendor Specific Information 00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA]) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at b0080000 (32-bit, non-prefetchable) [size=512K] I/O ports at 1800 [size=8] Memory at c0000000 (32-bit, prefetchable) [size=256M] Memory at b0000000 (32-bit, non-prefetchable) [size=256K] Capabilities: [d0] Power Management version 2 00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: fast devsel Memory at 32000000 (32-bit, non-prefetchable) [disabled] [size=512K] Capabilities: [d0] Power Management version 2 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at d000c000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable- Capabilities: [70] Express Unknown type IRQ 0 Capabilities: [100] Virtual Channel Capabilities: [130] Unknown (5) 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]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=09, subordinate=09, sec-latency=0 Capabilities: [40] Express Root Port (Slot+) IRQ 0 Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Capabilities: [90] #0d [0000] Capabilities: [a0] Power Management version 2 Capabilities: [100] Virtual Channel Capabilities: [180] Unknown (5) 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]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=0a, subordinate=0a, sec-latency=0 Capabilities: [40] Express Root Port (Slot+) IRQ 0 Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Capabilities: [90] #0d [0000] Capabilities: [a0] Power Management version 2 Capabilities: [100] Virtual Channel Capabilities: [180] Unknown (5) 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]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 Capabilities: [40] Express Root Port (Slot+) IRQ 0 Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Capabilities: [90] #0d [0000] Capabilities: [a0] Power Management version 2 Capabilities: [100] Virtual Channel Capabilities: [180] Unknown (5) 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) (prog-if 00 [UHCI]) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, medium devsel, latency 0, IRQ 19 I/O ports at 1820 [size=32] 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) (prog-if 00 [UHCI]) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, medium devsel, latency 0, IRQ 20 I/O ports at 1840 [size=32] 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) (prog-if 00 [UHCI]) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, medium devsel, latency 0, IRQ 18 I/O ports at 1860 [size=32] 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04) (prog-if 00 [UHCI]) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, medium devsel, latency 0, IRQ 17 I/O ports at 1880 [size=32] 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04) (prog-if 20 [EHCI]) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, medium devsel, latency 0, IRQ 19 Memory at b0040000 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] Debug port 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) (prog-if 01 [Subtractive decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=06, subordinate=08, sec-latency=32 I/O behind bridge: 00002000-00002fff Memory behind bridge: b0100000-b01fffff Prefetchable memory behind bridge: 0000000030000000-0000000031f00000 Capabilities: [50] #0d [0000] 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, medium devsel, latency 0 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04) (prog-if 8a [Master SecP PriP]) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, medium devsel, latency 0, IRQ 18 I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at 1810 [size=16] 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04) Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: medium devsel, IRQ 20 I/O ports at 18e0 [size=32] 06:01.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller Subsystem: Acer Incorporated [ALI] Unknown device 008f Flags: bus master, medium devsel, latency 168, IRQ 18 Memory at b0100000 (32-bit, non-prefetchable) [size=4K] Bus: primary=06, secondary=07, subordinate=08, sec-latency=176 Memory window 0: 30000000-31fff000 (prefetchable) Memory window 1: 34000000-35fff000 I/O window 0: 00002400-000024ff I/O window 1: 00002800-000028ff 16-bit legacy interface ports at 0001 06:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05) Subsystem: Intel Corporation Unknown device 2701 Flags: bus master, medium devsel, latency 32, IRQ 16 Memory at b0101000 (32-bit, non-prefetchable) [size=4K] Capabilities: [dc] Power Management version 2 06:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Toshiba America Info Systems Unknown device ff31 Flags: bus master, medium devsel, latency 32, IRQ 17 I/O ports at 2000 [size=256] Memory at b0102000 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 |
[edit] Installation notes
Properly working sound card driver comes with kernel >= 2.6.17.
- using Gentoo 2006.1 + kernel 2.6.19 (upgraded to tuxonice-sources)
- lan network configured automatically (8139too kernel module)
- using USE flags as below:
| File: /etc/make.conf |
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
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"
FEATURES="ccache userpriv usersandbox strict"
CCACHE_SIZE="2G"
#source /usr/portage/local/layman/make.conf
#source /usr/portage/local/layman/make.conf
|
[edit] Configuration
[edit] CPU
CPU Frequency Scalling Intel SpeedStep works perfectly for kernel settings as shown below.
| Linux Kernel Configuration: 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
|
I have built-in kernel cpu features so I don't need to load proper modules. You can additonally install cpufreq-utils -- it is useful for acpi configuration, and of course to check your installation. See also Gentoo power managment guide.
| Code: cpufreq-utils |
emerge cpufreq-utils |
If everything is ok you should see code like this:
| Code: cpufreq-utils |
[~]# 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).
|
To control CPU frequency You can use wmlaptop or cpufreqd.
To update the processor microcode, see this HowTo.
[edit] Graphics
See this guide.
[edit] Memory
Works out-of-the-box. To monitor HDD health I use smartmontools.
| Code: smartmontools |
emerge smartmontools rc-update add smartd default |
For DVD+RW DL:
| Code: dvd+rw |
emerge cdrtools dvd+rw-tools |
[edit] Networking
[edit] WLAN
See this guide.
[edit] LAN Ethernet Wake-On-Lan
Works perfectly on kernel module 8139too.
| Code: eth0 |
modprobe 8139too /etc/init.d/net.eth0 start rc-update add net.eth0 default |
I use udev to manage network interfaces.See also Gentoo udev guide.
Wake-On-Lan feature has not been tested yet.
[edit] Modem 56k Wake-On-Ring
Not tested yet (probably winmodem).
[edit] Sound Card Intel HDA
Using alsa-driver from kernel (module snd-hda-intel). All I/O audio ports work perfectly (including internal and external mic). For configuring alsa see Gentoo Linux Alsa Guide.
[edit] PCI CARD
Not tested yet
[edit] Input Devices
[edit] Hotkeys
I found working solution here.
Install hotkeys:
| Code: hotkeys |
emerge hotkeys |
Edit /usr/share/hotkeys/aceraspire1642.def:
| File: 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>
|
Edit /etc/hotkeys.conf:
| File: 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 |
Edit /usr/bin/acerhotkeys.sh:
| File: 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 |
Change permissions for this script:
| Code: acerhotkeys |
chmod 755 /usr/bin/acerhotkeys.sh |
Edit /etc/conf.d/local.start:
| File: /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 |
Start acerhotkeys.sh, add hotkeys to your window manager's autostart application and start this program.
[edit] Fn+F4 sleep action
Edit /etc/acpi/default.sh to add "sleep" action:
| File: /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 |
and restart acpid.
| Code: acpi |
|
/etc/init.d/acpid restart |
[edit] Fn+F5 rotate action
Emerge i810rotate and edit /usr/share/hotkeys/aceraspire1642.def.
| File: /usr/share/hotkeys/aceraspire1642.def |
|
<userdef keycode="166" command="sudo i810rotate">Windows Cycle</userdef>
|
Because i810rotate need access to /dev/mem you need to edit /etc/sudoers (with visudo):
| File: /etc/sudoers |
|
USER ALL(root) NOPASSWD: /usr/bin/i810rotate
|
I got Bios Power On Boot option set to "both" so maybe this is why I can't turn off lcd with i810rotate.
[edit] Synaptics Touchpad
See Synaptics Touchpad.
Use flags:
| File: make.conf |
INPUT_DEVICES="keyboard mouse ps2mouse synaptics" |
Emerge synaptics:
| Code: emerge synaptics |
emerge synaptics |
Edit xorg.conf:
| File: 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
|
[edit] ACPI: Continous lid events and 100% CPU usage
If you have 100% CPU usage after lid is closed, here you can find working solution.
I additionally created logrotate script for acpid logs:
| File: /etc/logrotate.d/acpid |
/var/log/acpid {
missingok
rotate 2
size 1M
daily
}
|
and commented out actions for unknown acpi events:
| File: /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
|

