Acer Aspire 1691 WLMi

From ArchWiki
Revision as of 13:31, 6 January 2008 by Beissemj (Talk | contribs) (Kernel)

Jump to: navigation, search


Introduction

It's been some time since I started this little HOWTO but now I'm back to finish it. In the meantime Acer Aspire 1652 ZWLMi was written based on those few lines which had been here, and now I've used few other things from that article again here. I'm not a linux expert, this is based on my experience and on things I found by googling. I'm still learning. If you see any inaccuracy or even a complete nonsense, please correct it.


Hardware

Processor: Intel Pentium M (Centrino) 1.50GHz

Video: Intel Corporation Mobile 915GM/GMS/910GML Chipset

Audio: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio

Wired NIC: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)

Wireless NIC: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)



Networking

Wireless

Install driver:

# pacman -S ipw2200-fw 

Get WiFi LED signalization working:

# echo "options ipw2200 led=1" > /etc/modprobe.conf


Power Management

ACPI

Install ACPI daemon and start it.

# pacman -S acpid
# /etc/rc.d/acpid start

Also add acpid to the DAEMONS line in your /etc/rc.conf (note that this is not necessary if you already have hal in there since acpid has been added to its starting script).


I found out that when booted with ACPI on, the laptop makes kind of high frequency noise which can be really annoying when you work in otherwise quiet room. There is no such noise when you boot with acpi=off. I searched for a solution and I found this:

Pass this to the kernel by changing your /boot/grub/menu.lst (the whole entry should look something like this):

title  Arch Linux Beyond
root   (hd0,0)
kernel /vmlinuz26beyond root=/dev/hda3 ro pci=bios idle=halt acpi_sleep=s3_bios
initrd /kernel26beyond.img

Many thanks for the trick should go to andreas_mauser on ubuntu forums [1].

---

Edit: The trick above doesn't seem to work with newer kernels (2.6.21 and higher?) anymore. Instead, try adding this line to /etc/rc.local:

echo 2 > /sys/module/processor/parameters/max_cstate

This solution was suggested by Sigi in the forum [2]. Note that in his case setting max_cstate to 3 was enough to get rid of the noise, however on this Acer laptop setting it to 2 seems to be necessary.

You should know that any of these solutions will reduce the battery life, so it seems so far that you need to choose which one is more important for you: either the longer-lasting battery or the quiet laptop.

You can find more information about the whole problem concerning high pitch noise and ACPI CPU power saving states here [3]

CPU frequency scaling

There are various ways how to do this (see e.g. SpeedStep), I use this one because it's clear and simple:

Install cpufrequtils

# pacman -S cpufrequtils

Edit /etc/conf.d/cpufreq (Maximum frequency of my processor is 1.5GHz although the sticker on the laptop was saying "1.6Ghz". Strange. Check yours, maybe I have some weird "edition"...).

Note that configuring the options min_freq and max_freq is optional, you may just comment it, since the kernel is able to figure them out.

#configuration for cpufreq control

# valid governors:
#  ondemand, performance, powersave,
#  conservative, userspace
governor="ondemand"

# valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="600Mhz"
max_freq="1.5GHz"

Load the speedstep_centrino module using modprobe. Alternatively, you can add it to the MODULES list in /etc/rc.conf to load it at boot time. Don't forget to add cpufreq to the DAEMONS array.

DAEMONS=(syslog-ng @network netfs crond @hal fam @ifplugd cpufreq firestarter alsa gdm)

Xorg

To make the touchpad work, edit your xorg.conf following this howto: Touchpad Synaptics. You may need to replace "AllwaysCore" with "SendCoreEvents" in the Section "ServerLayout" [4].

(Also look here for a useful trick: Disable touchpad temporarily when typing)

Special keys

To use all the keyboard's special keys, I've installed keytouch

# pacman -S keytouch
# put keytouch in DAEMONS array in rc.conf
# put in your autostart something like keytouchd &
# Save the following file as /usr/share/keytouch/keyboards/Aspire 1690.Acer
<keyboard>
 <file-info>
   <syntax-version>1.1</syntax-version>
   <last-change format="%d-%m-%Y">13-08-2007</last-change>
   <author></author>
 </file-info>
 <keyboard-info>
   <keyboard-name>
     <manufacturer>Acer</manufacturer>
     <model>Aspire 1690</model>
   </keyboard-name>
 </keyboard-info>
 <key-list>
   <key>
     <name>Mute</name>
     <scancode>160</scancode>
     <keycode>MUTE</keycode>
     <default-action action-type="plugin">
       <plugin-name>Amixer</plugin-name>
       <plugin-function>Mute</plugin-function>
     </default-action>
   </key>
   <key>
     <name>Disable touchpad</name>
     <scancode>242</scancode>
     <keycode>LEFTMETA</keycode>
     <default-action></default-action>
   </key>
   <key>
     <name>Disable screen</name>
     <scancode>56</scancode>
     <keycode>CYCLEWINDOWS</keycode>
     <default-action></default-action>
   </key>
   <key>
     <name>Help</name>
     <scancode>165</scancode>
     <keycode>HELP</keycode>
     <default-action>khelpcenter || gnome-help</default-action>
   </key>
   <key>
     <name>Brightness up</name>
     <scancode>238</scancode>
     <keycode>BRIGHTNESSUP</keycode>
     <default-action></default-action>
   </key>
   <key>
     <name>Brightness down</name>
     <scancode>239</scancode>
     <keycode>BRIGHTNESSDOWN</keycode>
     <default-action></default-action>
   </key>
   <key>
     <name>Volume Up</name>
     <scancode>176</scancode>
     <keycode>VOLUMEUP</keycode>
     <default-action action-type="plugin">
       <plugin-name>Amixer</plugin-name>
       <plugin-function>Volume increase</plugin-function>
     </default-action>
   </key>
   <key>
     <name>Volume Down</name>
     <scancode>174</scancode>
     <keycode>VOLUMEDOWN</keycode>
     <default-action action-type="plugin">
       <plugin-name>Amixer</plugin-name>
       <plugin-function>Volume decrease</plugin-function>
     </default-action>
   </key>
   <key>
     <name>Play/Pause</name>
     <scancode>162</scancode>
     <keycode>PLAYPAUSE</keycode>
     <default-action action-type="plugin">
       <plugin-name>XMMS</plugin-name>
       <plugin-function>Play/Pause</plugin-function>
     </default-action>
   </key>
   <key>
     <name>Stop CD</name>
     <scancode>164</scancode>
     <keycode>STOPCD</keycode>
     <default-action action-type="plugin">
       <plugin-name>XMMS</plugin-name>
       <plugin-function>Stop</plugin-function>
     </default-action>
   </key>
   <key>
     <name>Previous song</name>
     <scancode>144</scancode>
     <keycode>PREVIOUSSONG</keycode>
     <default-action action-type="plugin">
       <plugin-name>XMMS</plugin-name>
       <plugin-function>Previous</plugin-function>
     </default-action>
   </key>
   <key>
     <name>Next song</name>
     <scancode>153</scancode>
     <keycode>NEXTSONG</keycode>
     <default-action action-type="plugin">
       <plugin-name>XMMS</plugin-name>
       <plugin-function>Next</plugin-function>
     </default-action>
   </key>
   <key>
     <name>Video out</name>
     <scancode>169</scancode>
     <keycode>SWITCHVIDEOMODE</keycode>
     <default-action></default-action>
   </key>
   <key>
     <name>P Key</name>
     <scancode>243</scancode>
     <keycode>PROG1</keycode>
     <default-action>keytouch</default-action>
   </key>
   <key>
     <name>E key</name>
     <scancode>244</scancode>
     <keycode>PROG2</keycode>
     <default-action>keytouch</default-action>
   </key>
   <key>
     <name>WWW</name>
     <scancode>178</scancode>
     <keycode>WWW</keycode>
     <default-action action-type="plugin">
       <plugin-name>WWW Browser</plugin-name>
       <plugin-function>Home</plugin-function>
     </default-action>
   </key>
   <key>
     <name>E-mail</name>
     <scancode>236</scancode>
     <keycode>EMAIL</keycode>
     <default-action action-type="plugin">
       <plugin-name>E-mail</plugin-name>
       <plugin-function>E-mail</plugin-function>
     </default-action>
   </key>
 </key-list>
</keyboard>


External Resources