Difference between revisions of "Acer Aspire 1691 WLMi"

From ArchWiki
Jump to: navigation, search
(ACPI)
(wikify some external links, use https for archlinux.org)
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Laptops (English)]]
+
[[Category:Acer]]
[[Category:HOWTOs (English)]]
+
==Introduction==
{{stub}}
+
 
+
=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.
 
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.
 
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==
=Hardware=
+
 
'''Processor:''' Intel Pentium M (Centrino) 1.50GHz
 
'''Processor:''' Intel Pentium M (Centrino) 1.50GHz
  
Line 19: Line 15:
 
''' Wireless NIC:''' Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
 
''' Wireless NIC:''' Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
  
 +
==Networking==
  
=Kernel=
+
===Wireless===
To get all the things working, use Beyond kernel. Since it's discontinued, just use the standard kernel.
+
 
+
 
+
=Networking=
+
 
+
==Wireless==
+
 
Install driver:
 
Install driver:
 
  # pacman -S ipw2200-fw  
 
  # pacman -S ipw2200-fw  
 
Get WiFi LED signalization working:
 
Get WiFi LED signalization working:
  # echo "options ipw2200 led=1" > /etc/modprobe.conf
+
  # echo "options ipw2200 led=1" > /etc/modprobe.d/modprobe.conf
  
  
=Power Management=
+
==Power Management==
==ACPI==
+
===ACPI===
 
Install ACPI daemon and start it.
 
Install ACPI daemon and start it.
 
  # pacman -S acpid
 
  # pacman -S acpid
 
  # /etc/rc.d/acpid start
 
  # /etc/rc.d/acpid start
Also add <tt>acpid</tt> to the DAEMONS line in your <tt>/etc/rc.conf</tt> (note that this is not necessary if you already have <tt>hal</tt> in there since <tt>acpid</tt> has been added to its starting script).
+
Also add {{Ic|acpid}} to the DAEMONS line in your {{Ic|/etc/rc.conf}} (note that this is not necessary if you already have {{Ic|hal}} in there since {{Ic|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 <tt>acpi=off</tt>. I searched for a solution and I found this:
+
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 {{Ic|1=acpi=off}}. I searched for a solution and I found this:
  
Pass this to the kernel by changing your <tt>/boot/grub/menu.lst</tt> (the whole entry should look something like this):
+
Pass this to the kernel by changing your {{Ic|/boot/grub/menu.lst}} (the whole entry should look something like this):
 
  title  Arch Linux Beyond
 
  title  Arch Linux Beyond
 
  root  (hd0,0)
 
  root  (hd0,0)
 
  kernel /vmlinuz26beyond root=/dev/hda3 ro '''pci=bios idle=halt acpi_sleep=s3_bios'''
 
  kernel /vmlinuz26beyond root=/dev/hda3 ro '''pci=bios idle=halt acpi_sleep=s3_bios'''
 
  initrd /kernel26beyond.img
 
  initrd /kernel26beyond.img
Many thanks for the trick should go to andreas_mauser on ubuntu forums [http://ubuntuforums.org/archive/index.php/t-21232.html].
+
Many thanks for the trick should go to [http://ubuntuforums.org/archive/index.php/t-21232.html andreas_mauser] on ubuntu forums [http://ubuntuforums.org/archive/index.php/t-21232.html].
  
 
---
 
---
  
Edit: The trick above doesn't seem to work with newer kernels (2.6.21 and higher?) anymore. Instead, try adding this line to <tt>/etc/rc.local</tt>:
+
EDIT: The trick above doesn't work with newer kernels (2.6.21 and higher?) anymore. Instead, add this line to {{Ic|/etc/modprobe.d/modprobe.conf}}:
echo 2 > /sys/module/processor/parameters/max_cstate
+
This solution was suggested by Sigi in the forum [http://bbs.archlinux.org/viewtopic.php?id=29825]. 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 [http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises#Affected_Models]
+
options processor max_cstate=2
  
==CPU frequency scaling==
+
Then re-generate the initramfs image (see [[Configuring mkinitcpio#Creating the image]]). Reboot, and check if things work:
There are various ways how to do this (see e.g. [[SpeedStep]]), I use this one because it's clear and simple:
+
  
Install <tt>cpufrequtils</tt>
+
$ cat /proc/acpi/processor/CPU0/power |grep max_cstate
  # pacman -S cpufrequtils
+
  max_cstate:              C2
  
Edit <tt>/etc/conf.d/cpufreq</tt>
+
In this case, many thanks for finding solution go to [http://www.inliniac.net/blog/2008/07/25/fixing-noise-on-ubuntu-hardy-804-aka-setting-max_cstate.html Victor Julien]
(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.
+
[http://www.inliniac.net/blog/2008/07/25/fixing-noise-on-ubuntu-hardy-804-aka-setting-max_cstate.html]
  
#configuration for cpufreq control
+
NB: 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 [http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises here]
# valid governors:
+
[http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises]
#  ondemand, performance, powersave,
+
#  conservative, userspace
+
governor="ondemand"
+
+
# valid suffixes: Hz, kHz (default), MHz, GHz, THz
+
min_freq="'''600Mhz'''"
+
max_freq="'''1.5GHz'''"
+
  
Load the <tt>speedstep_centrino</tt> module using <tt>modprobe</tt>. Alternatively, you can add it to the MODULES list in <tt>/etc/rc.conf</tt> to load it at boot time. Don't forget to add <tt>cpufreq</tt> to the DAEMONS array.
+
===CPU frequency scaling===
  
DAEMONS=(syslog-ng @network netfs crond @hal fam @ifplugd '''cpufreq''' firestarter alsa gdm)
+
See the main [[CPU Frequency Scaling]] article.
  
=Xorg=
+
==Xorg==
  
To make the touchpad work, edit your xorg.conf following this howto: [[Touchpad Synaptics]]
+
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" [https://bbs.archlinux.org/viewtopic.php?id=39492].
  
 
(Also look here for a useful trick: [http://ubuntu.wordpress.com/2006/09/20/disable-touchpad-temporarily-when-typing/ Disable touchpad temporarily when typing])
 
(Also look here for a useful trick: [http://ubuntu.wordpress.com/2006/09/20/disable-touchpad-temporarily-when-typing/ Disable touchpad temporarily when typing])
  
=Special keys=
+
==Special keys==
 
To use all the keyboard's special keys, I've installed keytouch
 
To use all the keyboard's special keys, I've installed keytouch
 
  # pacman -S keytouch
 
  # pacman -S keytouch
Line 96: Line 75:
 
  # put in your autostart something like keytouchd &
 
  # put in your autostart something like keytouchd &
 
  # Save the following file as /usr/share/keytouch/keyboards/Aspire 1690.Acer
 
  # Save the following file as /usr/share/keytouch/keyboards/Aspire 1690.Acer
 +
 
  <keyboard>
 
  <keyboard>
 
   <file-info>
 
   <file-info>
Line 242: Line 222:
  
  
= External Resources =
+
== External Resources ==
 
+
* [http://ubuntuforums.org/archive/index.php/t-21232.html High frequency noise using kernel 2.6.10]
+
 
* [http://ubuntu.wordpress.com/2006/09/20/disable-touchpad-temporarily-when-typing/ Disable touchpad temporarily when typing]
 
* [http://ubuntu.wordpress.com/2006/09/20/disable-touchpad-temporarily-when-typing/ Disable touchpad temporarily when typing]
 
* This report has been listed in the [http://tuxmobil.org/acer.html Linux Laptop and Notebook Installation Guides Survey: Acer].
 
* This report has been listed in the [http://tuxmobil.org/acer.html Linux Laptop and Notebook Installation Guides Survey: Acer].

Revision as of 13:59, 4 December 2012

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.d/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 work with newer kernels (2.6.21 and higher?) anymore. Instead, add this line to /etc/modprobe.d/modprobe.conf:

options processor max_cstate=2

Then re-generate the initramfs image (see Configuring mkinitcpio#Creating the image). Reboot, and check if things work:

$ cat /proc/acpi/processor/CPU0/power |grep max_cstate
max_cstate:              C2

In this case, many thanks for finding solution go to Victor Julien [2]

NB: 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

See the main CPU Frequency Scaling article.

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