Difference between revisions of "Acer Aspire 1691 WLMi"

From ArchWiki
Jump to: navigation, search
(ACPI)
m (fix heading levels)
(48 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Laptop]]
+
[[Category:Acer]]
{{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.
 +
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
  
=Hardware=
+
'''Video:''' Intel Corporation Mobile 915GM/GMS/910GML Chipset
Audio:  
+
  
Video:  
+
'''Audio:''' Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio
  
Modem:  
+
'''Wired NIC:''' Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
  
Wired NIC:
+
''' Wireless NIC:''' Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
+
Wireless NIC: Intel IPW 2200
+
  
=Kernel=
+
==Networking==
To get all the things working, use Beyond kernel...
+
  
 +
===Wireless===
 +
Install driver:
 +
# pacman -S ipw2200-fw
 +
Get WiFi LED signalization working:
 +
# echo "options ipw2200 led=1" > /etc/modprobe.d/modprobe.conf
  
=Networking=
 
==Wired==
 
Works fine using the tg3 module.
 
==Wireless==
 
My ipw2200 card works fine with the ipw2200 module. 
 
  
==Modem==
+
==Power Management==
....I don't use it...
+
===ACPI===
=Power Management=
+
==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 you <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].
  
==CPU frequency scaling==
+
---
There are various ways how to do this (see e.g. [[SpeedStep]]), but I like this one:
+
  
Install <tt>cpufrequtils</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}}:
# pacman -S cpufrequtils
+
  
Edit <tt>/etc/conf.d/cpufreq</tt>
+
options processor max_cstate=2
  
#configuration for cpufreq control
+
Then re-generate the initramfs image (see [[Configuring mkinitcpio#Creating the image]]). Reboot, and check if things work:
+
# 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.
+
$ cat /proc/acpi/processor/CPU0/power |grep max_cstate
 +
max_cstate:              C2
  
DAEMONS=(syslog-ng @network netfs crond @hal fam @ifplugd '''cpufreq''' firestarter alsa gdm)
+
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]
 +
[http://www.inliniac.net/blog/2008/07/25/fixing-noise-on-ubuntu-hardy-804-aka-setting-max_cstate.html]
  
=Xorg=
+
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]
 +
[http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises]
  
synaptics touchpad... todo
+
===CPU frequency scaling===
Section "InputDevice"
+
  Identifier    "Mouse1"
+
        Driver        "synaptics"
+
  Option        "Device"        "/dev/psaux"
+
  Option        "Protocol"      "auto-dev"
+
  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...
+
See the main [[CPU Frequency Scaling]] article.
  
= External Resources =
+
==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" [http://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])
 +
 
 +
==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 ==
 +
* [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 23:20, 26 October 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