Difference between revisions of "Acer Aspire 1691 WLMi"

From ArchWiki
Jump to: navigation, search
(ACPI)
(Remove first person note)
(33 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[[Category:Laptop]]
+
[[Category:Acer]]
{{stub}}
+
==Hardware==
 
+
=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
 
'''Processor:''' Intel Pentium M (Centrino) 1.50GHz
  
Line 18: Line 11:
 
''' 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...
+
 
+
 
+
=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==
 +
===ACPI===
 +
Install [[acpid|ACPI daemon]] and start it.
  
=Power Management=
+
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:
==ACPI==
+
Install ACPI daemon and start it.
+
# pacman -S acpid
+
# /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).
+
  
 +
Add this line to {{Ic|/etc/modprobe.d/modprobe.conf}}:
  
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:
+
options processor max_cstate=2
  
Pass this to the kernel by changing your <tt>/boot/grub/menu.lst</tt> (the whole entry should look something like this):
+
Then re-generate the initramfs image (see [[Configuring mkinitcpio#Creating the image]]). Reboot, and check if things work:
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 [http://ubuntuforums.org/archive/index.php/t-21232.html].
+
  
==CPU frequency scaling==
+
$ cat /proc/acpi/processor/CPU0/power |grep max_cstate
There are various ways how to do this (see e.g. [[SpeedStep]]), I use this one:
+
max_cstate:             C2
  
Install <tt>cpufrequtils</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]
# pacman -S cpufrequtils
+
[http://www.inliniac.net/blog/2008/07/25/fixing-noise-on-ubuntu-hardy-804-aka-setting-max_cstate.html]
  
Edit <tt>/etc/conf.d/cpufreq</tt>
+
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.
(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"...)
+
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]
 +
[http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises]
  
#configuration for cpufreq control
+
===CPU frequency scaling===
+
# 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 <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.
+
See the main [[CPU Frequency Scaling]] article.
  
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" [https://bbs.archlinux.org/viewtopic.php?id=39492].
  
=Xorg=
+
(Also look here for a useful trick: [http://ubuntu.wordpress.com/2006/09/20/disable-touchpad-temporarily-when-typing/ Disable touchpad temporarily when typing])
  
synaptics touchpad... todo
+
==Special keys==
  Section "InputDevice"
+
To use all the keyboard's special keys, I've installed keytouch
  Identifier    "Mouse1"
+
  # pacman -S keytouch
        Driver        "synaptics"
+
# put keytouch in DAEMONS array in rc.conf
  Option        "Device"        "/dev/psaux"
+
# put in your autostart something like keytouchd &
  Option        "Protocol"      "auto-dev"
+
  # Save the following file as /usr/share/keytouch/keyboards/Aspire 1690.Acer
  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"    "true"
+
  # Option        "Repeater"      "/dev/ps2mouse"
+
EndSection
+
  
To use this you'll need to change your InputDevice line in your "ServerLayout" section to use the synaptics mouse....todo...
+
<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 =
+
== External Resources ==
...
+
* [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].

Revision as of 02:55, 14 December 2013

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.

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:

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 [1]

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 [2]

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" [3].

(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