Difference between revisions of "Acer Aspire 3000 ZL5"

From ArchWiki
Jump to: navigation, search
m (pre'd the output)
m (Related articles: update for redirects)
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:Acer (English)]]
+
[[Category:Acer]]
 +
{{out of date}}
 
This page provides a variety of configurations and optimizations for getting the Acer Aspire 3000 Series of Laptops running fast and smooth.  Specifically for the [[Acer Aspire 3000 ZL5]] and based off the article for the [[Acer Aspire 3003 WLMi]]
 
This page provides a variety of configurations and optimizations for getting the Acer Aspire 3000 Series of Laptops running fast and smooth.  Specifically for the [[Acer Aspire 3000 ZL5]] and based off the article for the [[Acer Aspire 3003 WLMi]]
  
== Hardware ==
+
== Drivers ==
The hardware of this laptop.  Note that because the single hard-drive is so terrible compared to modern drives, I bought a PNY 4GB usb drive that I use for swap and tmp.
+
Note that you need to install some drivers like [[xf86-video-sis|SiS]] manually by pacman and b43 module (Broadcom Wi-Fi driver) needs you to manually download and extract latest firmware using [[Wireless_Setup#b43|b43fwcutter]].
  
 +
== Internet ==
 +
To get the wireless working you need the b43-fwcutter tool and firmware module: [[Wireless_Setup#b43]] 
  
=== lspci ===
+
What I did was download all the broadcom tarballs, extract them, and then ran this:
 +
  $ find . -name '*.o' -type f | xargs -P1 -I{} sh -c 'echo "CUT {}";b43-fwcutter {}||echo "{} FAILED"'
 +
 
 +
=== /etc/wpa_supplicant.conf ===
 
<pre>
 
<pre>
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
+
network={
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
+
ssid="MAdfC-G"
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
+
scan_ssid=1
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
+
key_mgmt=WPA-PSK
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
+
group=CCMP TKIP
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
+
pairwise=CCMP TKIP
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
+
psk=9450d6b31082d8d8c9113455c55b575947fc34511d31e5808524d03599435
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
+
proto=WPA RSN
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
+
}
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
+
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
+
00:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
+
00:0b.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
+
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
+
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
+
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
+
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
+
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
+
 
</pre>
 
</pre>
  
=== lsusb ===
+
=== /etc/rc.d/wlan ===
 +
This is what I use to connect my wireless.  Just create the file /etc/rc.d/wlan to contain the following (edit the ifconfig/route settings for your network).
 
<pre>
 
<pre>
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+
#!/bin/bash
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+
. /etc/rc.conf
Bus 001 Device 002: ID 154b:6545 PNY
+
. /etc/rc.d/functions
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+
 
 +
case "$1" in
 +
  start)stat_busy "Starting wlan Daemon"; pkill -f wpa_supplicant &> /dev/null
 +
rmmod -f rfkill b43 &>/dev/null; modprobe b43 &>/dev/null
 +
ifconfig wlan0 192.168.5.55 netmask 255.255.255.0 broadcast 192.168.5.255 &>/dev/null
 +
route -nv add default gw 192.168.5.1 wlan0 &>/dev/null
 +
/usr/sbin/wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant.conf -qq -B &> /dev/null
 +
add_daemon wlan; stat_done; ;;
 +
  stop) stat_busy "Stopping wlan Daemon"; pkill -f wpa_supplicant &> /dev/null
 +
ifconfig wlan0 down &>/dev/null; rmmod -f b43 &>/dev/null
 +
rm_daemon wlan; stat_done; ;;
 +
  restart)  $0 stop; sleep 3; $0 start; ;;
 +
  *)  echo "usage: $0 {start|stop|restart}"; ;;
 +
esac
 +
 
 +
exit 0
 
</pre>
 
</pre>
  
== /etc/rc.conf ==
+
== Sound ==
<pre>
+
Add this to {{ic|/etc/modprobe.d/modprobe.conf}}
LOCALE="en_US.UTF-8"
+
options snd-intel8x0 index=0
HARDWARECLOCK="localtime"
+
TIMEZONE="America/Indiana/Indianapolis"
+
KEYMAP="us"
+
CONSOLEFONT=ter-114b
+
CONSOLEMAP=
+
USECOLOR="yes"
+
  
HOSTNAME=acer
+
Add the packages {{pkg|alsa-utils}} and {{pkg|alsa-oss}}.
wlan0="wlan0 192.168.5.55 netmask 255.255.255.0 broadcast 192.168.5.255"
+
eth0="dhcp"
+
INTERFACES=(wlan0 !eth0)
+
gateway="default gw 192.168.5.1 wlan0"
+
ROUTES=(gateway)
+
USELVM="no"
+
MOD_AUTOLOAD="yes"
+
MODULES=(ac battery button processor thermal cdrom agpgart amd64-agp sis-agp tpm_bios tpm tpm_tis k8temp i2c-sis96x i2c-core evdev pcspkr psmouse serio_raw mmc_core pci_hotplug shpchp rtc-cmos rtc-core rtc-lib ssb ac97_bus snd-mixer-oss snd-pcm-oss snd snd-page-alloc snd-pcm snd-timer snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore pata_sis scsi_mod mii sis900 pcmcia_core pcmcia rsrc_nonstatic yenta_socket usb-storage usbcore ehci-hcd ohci-hcd option usbserial sd_mod sr_mod st b43 sisfb)
+
  
DAEMONS=(syslog-ng crond wlan)
+
Unmute settings, then save.
 +
  sudo amixer set Master 90% unmute
 +
  sudo amixer set PCM 90% unmute
 +
  sudo alsactl store
  
=== MODULES ===
+
== Xorg ==
Modules needed by some hardware:
+
I use ratpoison because its lightning fast on my acer, and because I am a poweruser. If you have to use a GUI, go with xfce4.  KDE and gnome are outrageously slow on the acer.
  
MODULES=(
+
=== /home/user/.xinitrc ===
  #devices
+
This is what the
   sisfb mii sis900 b43 wacom
+
   $ startx
  #sound
+
command uses.
  ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore !snd-pcsp
+
<pre>
  #usermode
+
xsetroot -solid black
  tun fuse vboxdrv
+
#exec startxfce4
  powernow-k8 cpufreq_powersave cpufreq_userspace cpufreq_conservative cpufreq_stats cpufreq_ondemand
+
exec ratpoison
)
+
</pre>
  
Note that you need to install some drivers like [[Silicon Integrated Systems (SiS) 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter|SiS]] manually by pacman and b43 module (broadcom wifi driver) needs you to manually download and extract latest firmware using [[Wireless_Setup#b43|b43fwcutter]].
+
=== /etc/X11/xorg.conf ===
 +
<pre>
 +
Section "ServerLayout"
 +
  Identifier    "X.org Configured"
 +
  Screen      0  "Screen0" 0 0
 +
  InputDevice    "Mouse0" "CorePointer"
 +
  InputDevice    "Keyboard0" "CoreKeyboard"
 +
EndSection
  
=== DAEMONS ===
+
Section "Files"
There are few daemons needed by some hardware to run properly...
+
  ModulePath  "/usr/lib/xorg/modules"
 +
  FontPath    "/usr/share/fonts/misc/"
 +
  FontPath    "/usr/share/fonts/TTF/"
 +
  FontPath    "/usr/share/fonts/Type1/"
 +
  FontPath    "/usr/share/fonts/100dpi/"
 +
  FontPath    "/usr/share/fonts/75dpi/"
 +
EndSection
  
  DAEMONS=( ... @laptop @gpm @alsa @acpid @cups @cpufreq ... )
+
Section "Module"
 +
  Load "dri2"
 +
  Load  "glx"
 +
  Load  "dbe"
 +
  Load  "dri"
 +
  Load  "record"
 +
  Load  "extmod"
 +
EndSection
  
== /etc/X11/xorg.conf ==
+
Section "InputDevice"
Before editing xorg.conf, you will need to install few drivers:
+
  Identifier  "Keyboard0"
 +
  Driver      "kbd"
 +
EndSection
  
  xf86-input-keyboard 1.3.1-1 (xorg xorg-input-drivers)
+
Section "InputDevice"
    X.Org keyboard input driver
+
  Identifier "Mouse0"
xf86-input-mouse 1.3.0-1 (xorg xorg-input-drivers)
+
  Driver      "mouse"
     X.org mouse input driver
+
  Option     "Protocol" "auto"
xf86-input-synaptics 0.99.3-1
+
  Option     "Device" "/dev/input/mice"
     synaptics driver for notebook touchpads
+
  Option     "ZAxisMapping" "4 5 6 7"
xf86-video-sis 0.10.1-1 (xorg-video-drivers)
+
EndSection
    X.org SiS video driver
+
xf86-video-vesa 2.1.0-1 (xorg xorg-video-drivers)
+
    X.org vesa video driver
+
  
You can use this xorg.conf to get your [[Synaptics]] touchpad, USB mouse (or optionally [[wacom]] tablet) and SiS graphical adapter with [[sisctrl]] support working.
+
Section "Monitor"
 +
  Identifier  "Monitor0"
 +
  VendorName  "Monitor Vendor"
 +
  ModelName    "Monitor Model"
 +
EndSection
  
# Section "Extensions"
+
Section "Device"
# Option "Composite" "Enable"
+
  Identifier  "Card0"
# EndSection
+
  Driver      "fbdev"
+
  VendorName "Silicon Integrated Systems [SiS]"
Section "ServerLayout"
+
  BoardName  "661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter"
+
   BusID       "PCI:1:0:0"
##HARVIE
+
EndSection
##HARVIE-END
+
 
Identifier    "Layout0"
+
Section "Screen"
Screen      0  "Screen0" 0 0
+
InputDevice    "Keyboard0" "CoreKeyboard"
+
InputDevice    "Mouse0" "CorePointer"
+
InputDevice    "Wacom Tablet" "SendCoreEvents"
+
InputDevice    "Wacom Pen" "SendCoreEvents"
+
InputDevice    "Wacom Eraser" "SendCoreEvents"
+
InputDevice    "Wacom Mouse" "SendCoreEvents"
+
EndSection
+
+
Section "Module"
+
Load  "dbe"
+
Load  "i2c"
+
Load  "bitmap"
+
Load  "ddc"
+
Load  "dri"
+
Load  "extmod"
+
Load  "freetype"
+
Load  "glx"
+
Load  "int10"
+
Load  "vbe"
+
# Harvie:
+
Load  "synaptics"
+
EndSection
+
+
Section "ServerFlags"
+
Option     "AllowEmptyInput" "false"
+
Option     "AutoAddDevices" "False"
+
EndSection
+
+
Section "InputDevice"
+
Identifier  "Mouse0"
+
Driver      "mouse"
+
Option     "Protocol" "ImPS/2"
+
Option     "Emulate3Buttons"
+
Option     "Device" "/dev/psaux"
+
EndSection
+
+
Section "InputDevice"
+
Identifier  "Keyboard0"
+
Driver      "kbd"
+
  Option     "XkbModel" "acer_laptop"
+
Option     "XkbLayout" "cz"
+
EndSection
+
+
Section "InputDevice"
+
+
# Option "SendCoreEvents" "true"
+
Identifier  "Mouse 1"
+
Driver      "synaptics"
+
Option     "Device" "/dev/psaux"
+
# Option     "Protocol" "ImPS/2"
+
Option     "Protocol" "auto-dev"
+
Option     "Emulate3Buttons"
+
# Option "HorizScrollDelta" "0"
+
+
Option "SendCoreEvents" "true"
+
Option "SHMConfig" "on"
+
Option "SHMConfig" "true"
+
EndSection
+
+
Section "InputDevice"
+
Identifier  "Wacom Pen"
+
Driver      "wacom"
+
Option     "Device" "/dev/input/wacom"
+
Option     "Type" "stylus"
+
Option     "USB" "on"
+
Option     "PressCurve" "0,0,100,100"
+
EndSection
+
+
Section "InputDevice"
+
Identifier  "Wacom Eraser"
+
Driver      "wacom"
+
Option     "Device" "/dev/input/wacom"
+
Option     "Type" "eraser"
+
Option     "USB" "on"
+
EndSection
+
+
Section "InputDevice"
+
Identifier  "Wacom Mouse"
+
Driver      "wacom"
+
Option     "Device" "/dev/input/wacom"
+
Option     "Type" "cursor"
+
Option     "Mode" "relative"
+
Option     "USB" "on"
+
EndSection
+
+
Section "InputDevice"
+
Identifier  "Wacom Tablet"
+
Driver      "wacom"
+
Option     "Device" "/dev/input/wacom"
+
Option     "Type" "pad"
+
Option     "ButtonsOnly" "on"
+
Option     "Button9" "2"
+
Option     "Button10" "3"
+
Option     "USB" "on"
+
EndSection
+
+
Section "Monitor"
+
Identifier   "Monitor0"
+
HorizSync    31.5 - 48.5
+
VertRefresh  50.0 - 90.0
+
Gamma 1.000 1.000 1.000
+
EndSection
+
+
Section "Device"
+
Identifier "Card0"
+
Driver "sis"
+
Card        "** SiS (generic)                      [sis]"
+
BusID "PCI:1:0:0"
+
+
Option "UseFBDev" "true"
+
Option "EnableSisCtrl" "yes"
+
Option "ForceCRT1Type" "LCD"
+
Option "ForceCRT2Type" "NONE"
+
Option "CRT1Gamma" "on"
+
Option "CRT2Gamma" "on"
+
Option "Brightness" "0.000 0.000 0.000"
+
Option "Contrast" "0.000 0.000 0.000"
+
Option "CRT1Saturation" "0"
+
Option "XvOnCRT2" "yes"
+
Option "XvDefaultContrast" "2"
+
Option "XvDefaultBrightness" "10"
+
Option "XvDefaultHue" "0"
+
Option "XvDefaultSaturation" "0"
+
Option "XvDefaultDisableGfxLR" "no"
+
Option "XvGamma" "off"
+
EndSection
+
+
Section "Screen"
+
 
  Identifier "Screen0"
 
  Identifier "Screen0"
 
  Device    "Card0"
 
  Device    "Card0"
 
  Monitor    "Monitor0"
 
  Monitor    "Monitor0"
 
  DefaultDepth 24
 
  DefaultDepth 24
 
 
  SubSection "Display"
 
  SubSection "Display"
Depth 1
+
  Depth 24
Modes "1280x800" "1024x768" "832x624" "800x600" "720x400" "640x480"
+
  Modes "1280x800" "1024x768" "832x624" "800x600" "720x400" "640x480"
 
  EndSubSection
 
  EndSubSection
SubSection "Display"
+
EndSection
Depth 4
+
</pre>
Modes "1280x800" "1024x768" "832x624" "800x600" "720x400" "640x480"
+
EndSubSection
+
SubSection "Display"
+
Depth 8
+
Modes "1280x800" "1024x768" "832x624" "800x600" "720x400" "640x480"
+
EndSubSection
+
SubSection "Display"
+
Depth 15
+
Modes "1280x800" "1024x768" "832x624" "800x600" "720x400" "640x480"
+
EndSubSection
+
SubSection "Display"
+
Depth 16
+
Modes "1280x800" "1024x768" "832x624" "800x600" "720x400" "640x480"
+
EndSubSection
+
SubSection "Display"
+
Depth 24
+
Modes "1280x800" "1024x768" "832x624" "800x600" "720x400" "640x480"
+
EndSubSection
+
EndSection
+
+
Section "DRI"
+
Mode        0666
+
EndSection
+
  
== FBDev (SiSFB FrameBuffer) ==
+
=== /etc/rc.local ===
=== /boot/grub/menu.lst ===
+
fbset -a -depth 32
 +
 
 +
== Kernel ==
 +
A customized kernel is beyond the scope of this doc, but to build a custom kernel that contains the modules used by your acer 3000 ZL5 for faster boots (among other benefits) you just need to modify your mkinitcpio.conf file and reinstall the kernel26 package.
 +
 
 +
=== /etc/mkinitcpio.conf ===
 +
<pre>
 +
MODULES="sisfb ac battery button processor thermal cdrom agpgart amd64-agp sis-agp tpm_bios tpm tpm_tis k8temp i2c-sis96x i2c-core evdev pcspkr psmouse serio_raw mmc_core pci_hotplug shpchp rtc-cmos rtc-core rtc-lib ssb ac97_bus snd-mixer-oss snd-pcm-oss snd snd-page-alloc snd-pcm snd-timer snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore pata_sis scsi_mod mii sis900 pcmcia_core pcmcia rsrc_nonstatic yenta_socket usb-storage usbcore ehci-hcd ohci-hcd option usbserial sd_mod sr_mod st b43"
 +
 
 +
HOOKS="base udev autodetect pata scsi sata usb filesystems consolefont"
 +
 
 +
COMPRESSION="bzip2"
 +
</pre>
 +
 
 +
== /boot/grub/menu.lst ==
 
<pre>
 
<pre>
 
# Config file for GRUB - The GNU GRand Unified Bootloader
 
# Config file for GRUB - The GNU GRand Unified Bootloader
Line 379: Line 265:
  
 
==== sisfb ====
 
==== sisfb ====
 
 
If you want to specify your own resolution using custom video driver, then you have to replace ''vga'' option with ''video'' option. For example if you want to user resolution 1280x800 with 32-bit color depth at 76Hz (which is recommended for [[Acer Aspire 3000]]) then you can use this option:
 
If you want to specify your own resolution using custom video driver, then you have to replace ''vga'' option with ''video'' option. For example if you want to user resolution 1280x800 with 32-bit color depth at 76Hz (which is recommended for [[Acer Aspire 3000]]) then you can use this option:
 
  video=sisfb:mode:1280x800x32,rate:76
 
  video=sisfb:mode:1280x800x32,rate:76
You can also play with memory consumption like this, but its not needed and it can cause some problems, if you don't know what are you doing:
+
You can also play with memory consumption like this, but its not needed and it can cause some problems, if you do not know what are you doing:
 
  video=sisfb:mode:1280x800x24,mem:12288,rate:76
 
  video=sisfb:mode:1280x800x24,mem:12288,rate:76
  
=== /etc/rc.local ===
+
== Hardware ==
  fbset -a -depth 32
+
The hardware of this laptop. Note that because the single hard-drive is so terrible compared to modern drives, I bought a PNY 4GB usb drive that I use for swap and tmp.
  
 +
=== lspci ===
 +
<pre>
 +
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
 +
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
 +
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
 +
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
 +
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
 +
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
 +
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
 +
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
 +
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
 +
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
 +
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
 +
00:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
 +
00:0b.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
 +
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
 +
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
 +
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
 +
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
 +
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
 +
</pre>
  
== /etc/mkinitcpio.conf ==
+
=== lsusb ===
 
+
Simplest way to generate new mkinitcpio is reinstalling the kernel package like:
+
pacman -S kernel26
+
 
+
 
+
 
+
== /etc/rc.d/wlan ==
+
This is what I use to connect my wireless.  Just create the file /etc/rc.d/wlan to contain the following.
+
 
<pre>
 
<pre>
#!/bin/bash
+
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
. /etc/rc.conf
+
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
. /etc/rc.d/functions
+
Bus 001 Device 002: ID 154b:6545 PNY
 
+
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
case "$1" in
+
  start)stat_busy "Starting wlan Daemon"; pkill -f wpa_supplicant &> /dev/null
+
rmmod -f rfkill b43 &>/dev/null; modprobe b43 &>/dev/null
+
ifconfig wlan0 192.168.5.55 netmask 255.255.255.0 broadcast 192.168.5.255 &>/dev/null
+
route -nv add default gw 192.168.5.1 wlan0 &>/dev/null
+
/usr/sbin/wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant.conf -qq -B &> /dev/null
+
add_daemon wlan; stat_done; ;;
+
  stop) stat_busy "Stopping wlan Daemon"; pkill -f wpa_supplicant &> /dev/null
+
ifconfig wlan0 down &>/dev/null; rmmod -f b43 &>/dev/null
+
rm_daemon wlan; stat_done; ;;
+
  restart)  $0 stop; sleep 3; $0 start; ;;
+
  *)  echo "usage: $0 {start|stop|restart}"; ;;
+
esac
+
 
+
exit 0
+
 
</pre>
 
</pre>
 
 
  
 
== Related articles ==
 
== Related articles ==
* [[Silicon Integrated Systems (SiS) 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter]]
+
* [[xf86-video-sis]]
 
* [[Wireless_Setup#b43]]
 
* [[Wireless_Setup#b43]]
 
* [[Touchpad Synaptics]]
 
* [[Touchpad Synaptics]]
 
* Misc.
 
* Misc.
** [[Cpufrequtils]]
+
** [[CPU Frequency Scaling]]
 
** [[Pm-utils]]
 
** [[Pm-utils]]
 
** [[Laptop Mode Tools]]
 
** [[Laptop Mode Tools]]
 
** [[Wacom Tablet]]
 
** [[Wacom Tablet]]

Revision as of 17:25, 14 November 2012

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Acer Aspire 3000 ZL5#)

This page provides a variety of configurations and optimizations for getting the Acer Aspire 3000 Series of Laptops running fast and smooth. Specifically for the Acer Aspire 3000 ZL5 and based off the article for the Acer Aspire 3003 WLMi

Drivers

Note that you need to install some drivers like SiS manually by pacman and b43 module (Broadcom Wi-Fi driver) needs you to manually download and extract latest firmware using b43fwcutter.

Internet

To get the wireless working you need the b43-fwcutter tool and firmware module: Wireless_Setup#b43

What I did was download all the broadcom tarballs, extract them, and then ran this:

 $ find . -name '*.o' -type f | xargs -P1 -I{} sh -c 'echo "CUT {}";b43-fwcutter {}||echo "{} FAILED"'

/etc/wpa_supplicant.conf

network={
	ssid="MAdfC-G"
	scan_ssid=1
	key_mgmt=WPA-PSK
	group=CCMP TKIP
	pairwise=CCMP TKIP
	psk=9450d6b31082d8d8c9113455c55b575947fc34511d31e5808524d03599435
	proto=WPA RSN
}

/etc/rc.d/wlan

This is what I use to connect my wireless. Just create the file /etc/rc.d/wlan to contain the following (edit the ifconfig/route settings for your network).

#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions

case "$1" in
  start)stat_busy "Starting wlan Daemon"; pkill -f wpa_supplicant &> /dev/null
	rmmod -f rfkill b43 &>/dev/null; modprobe b43 &>/dev/null
	ifconfig wlan0 192.168.5.55 netmask 255.255.255.0 broadcast 192.168.5.255 &>/dev/null
	route -nv add default gw 192.168.5.1 wlan0 &>/dev/null
	/usr/sbin/wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant.conf -qq -B &> /dev/null
	add_daemon wlan; stat_done; ;;
  stop)	stat_busy "Stopping wlan Daemon"; pkill -f wpa_supplicant &> /dev/null
	ifconfig wlan0 down &>/dev/null; rmmod -f b43 &>/dev/null
	rm_daemon wlan; stat_done; ;;
  restart)  $0 stop; sleep 3; $0 start; ;;
  *)  echo "usage: $0 {start|stop|restart}"; ;;
esac

exit 0

Sound

Add this to /etc/modprobe.d/modprobe.conf

options snd-intel8x0 index=0

Add the packages alsa-utils and alsa-oss.

Unmute settings, then save.

 sudo amixer set Master 90% unmute
 sudo amixer set PCM 90% unmute
 sudo alsactl store

Xorg

I use ratpoison because its lightning fast on my acer, and because I am a poweruser. If you have to use a GUI, go with xfce4. KDE and gnome are outrageously slow on the acer.

/home/user/.xinitrc

This is what the

 $ startx 

command uses.

xsetroot -solid black
#exec startxfce4
exec ratpoison

/etc/X11/xorg.conf

Section "ServerLayout"
  Identifier     "X.org Configured"
  Screen      0  "Screen0" 0 0
  InputDevice    "Mouse0" "CorePointer"
  InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  ModulePath   "/usr/lib/xorg/modules"
  FontPath     "/usr/share/fonts/misc/"
  FontPath     "/usr/share/fonts/TTF/"
  FontPath     "/usr/share/fonts/Type1/"
  FontPath     "/usr/share/fonts/100dpi/"
  FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
  Load  "dri2"
  Load  "glx"
  Load  "dbe"
  Load  "dri"
  Load  "record"
  Load  "extmod"
EndSection

Section "InputDevice"
  Identifier  "Keyboard0"
  Driver      "kbd"
EndSection

Section "InputDevice"
  Identifier  "Mouse0"
  Driver      "mouse"
  Option	    "Protocol" "auto"
  Option	    "Device" "/dev/input/mice"
  Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
  Identifier   "Monitor0"
  VendorName   "Monitor Vendor"
  ModelName    "Monitor Model"
EndSection

Section "Device"
  Identifier  "Card0"
  Driver      "fbdev"
  VendorName  "Silicon Integrated Systems [SiS]"
  BoardName   "661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter"
  BusID       "PCI:1:0:0"
EndSection

Section "Screen"
 Identifier "Screen0"
 Device     "Card0"
 Monitor    "Monitor0"
 DefaultDepth 24
 SubSection "Display"
   Depth 24
   Modes "1280x800" "1024x768" "832x624" "800x600" "720x400" "640x480"
 EndSubSection
EndSection

/etc/rc.local

fbset -a -depth 32

Kernel

A customized kernel is beyond the scope of this doc, but to build a custom kernel that contains the modules used by your acer 3000 ZL5 for faster boots (among other benefits) you just need to modify your mkinitcpio.conf file and reinstall the kernel26 package.

/etc/mkinitcpio.conf

MODULES="sisfb ac battery button processor thermal cdrom agpgart amd64-agp sis-agp tpm_bios tpm tpm_tis k8temp i2c-sis96x i2c-core evdev pcspkr psmouse serio_raw mmc_core pci_hotplug shpchp rtc-cmos rtc-core rtc-lib ssb ac97_bus snd-mixer-oss snd-pcm-oss snd snd-page-alloc snd-pcm snd-timer snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore pata_sis scsi_mod mii sis900 pcmcia_core pcmcia rsrc_nonstatic yenta_socket usb-storage usbcore ehci-hcd ohci-hcd option usbserial sd_mod sr_mod st b43"

HOOKS="base udev autodetect pata scsi sata usb filesystems consolefont"

COMPRESSION="bzip2"

/boot/grub/menu.lst

# Config file for GRUB - The GNU GRand Unified Bootloader

timeout   5
default   4
color green/black



## BOOT FROM USB STICK KERNELS
## ===============================================================

# 0 
title  [0] Fallback - USB
root   (hd1,0)
kernel (hd1,0)/vmlinuz26 root=/dev/sda3 ro Single 1 vga=791
initrd (hd1,0)/kernel26-fallback.img

# 1
title  [1] Fallback - USB
root   (hd1,0)
kernel (hd1,0)/vmlinuz26 root=/dev/sda3 ro vga=791
initrd (hd1,0)/kernel26-fallback.img



## NORMAL BOOT
## ===============================================================

# 2
title  [2] vmlinuz26 - SDA
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro Single 1 vga=791
initrd /kernel26.img

# 3
title  [3] Fallback - SDA
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro Single 1 vga=791
initrd /kernel26-fallback.img

# 4
title  [4] Default - vmlinuz26 - SDA
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro 3 video=sisfb:1280x800x32,rate:76,mtrr,ylwrap
initrd /kernel26.img

# 5
title  [5] Fallback - SDA
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro 3 vga=791
initrd /kernel26-fallback.img



## BACKUP FALLBACK
## ===============================================================

# 6
title  [6] Arch Linux vmlinuz261 - SDA
root   (hd0,0)
kernel /vmlinuz261 root=/dev/sda3 ro Single 1 vga=791
initrd /kernel261.img

# 7
title  [7] Arch Linux Fallback1 - SDA
root   (hd0,0)
kernel /vmlinuz261 root=/dev/sda3 ro Single 1 vga=791
initrd /kernel26-fallback1.img

# 8
title  [8] Arch Linux vmlinuz261 - SDA
root   (hd0,0)
kernel /vmlinuz261 root=/dev/sda3 ro 3 vga=791
initrd /kernel261.img

# 9
title  [9] Arch Linux Fallback1 - SDA
root   (hd0,0)
kernel /vmlinuz261 root=/dev/sda3 ro 3 vga=791
initrd /kernel26-fallback1.img



## SPECIAL BOOTS
## ===============================================================

# 10 Chainload USB +1
title [10] Chainload +1 - rootnoverify USB-1.0
rootnoverify (hd1,0)
makeactive
chainloader +1

# 11 Chainload SDA +1
title [11] Chainload +1 - rootnoverify SDA-0.0
rootnoverify (hd0,0)
makeactive
chainloader +1

# 12 Chainload SDA +2
title [12] Chainload +2 - rootnoverify SDA-0.0
rootnoverify (hd0,0)
makeactive
chainloader +2

#kernel /vmlinuz26 root=/dev/sda3 ro 
#video=1280x1024-32@60,mtrr,ylwrap

sisfb

If you want to specify your own resolution using custom video driver, then you have to replace vga option with video option. For example if you want to user resolution 1280x800 with 32-bit color depth at 76Hz (which is recommended for Acer Aspire 3000) then you can use this option:

video=sisfb:mode:1280x800x32,rate:76

You can also play with memory consumption like this, but its not needed and it can cause some problems, if you do not know what are you doing:

video=sisfb:mode:1280x800x24,mem:12288,rate:76

Hardware

The hardware of this laptop. Note that because the single hard-drive is so terrible compared to modern drives, I bought a PNY 4GB usb drive that I use for swap and tmp.

lspci

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:0b.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter

lsusb

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 154b:6545 PNY 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Related articles