Difference between revisions of "Acer Aspire 3000 ZL5"

From ArchWiki
Jump to: navigation, search
m (fixed formatting)
(Internet: Remove rc.conf configuration.)
(8 intermediate revisions by 4 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]]
  
 
+
== Drivers ==
== Pacman Packages ==
+
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]].
Here are the packages I have: 
+
  $ pacman -Qe | cut -d' ' -f1|tr "\n" ' '
+
 
+
{{Warning|''Powerpill'' development has been officially discontinued: its latest version does not work with ''pacman>=3.5''. See [https://bbs.archlinux.org/viewtopic.php?id=115660].}}
+
I use powerpill, but basically you can do a
+
  $ sudo pacman -Sy --noconfirm <packages>
+
 
+
<pre>
+
acl acpid alsa-oss alsa-utils anyfs anyfs-tools aria2 aterm attr autoconf automake b43-fwcutter bash bin86 bind binutils bison bridge-utils bzip2 chromium conkeror-git coreutils cpio cpufrequtils cracklib cryptsetup curl curlftpfs dash db dbus-core ddrescue device-mapper dhcpcd dialog diffutils dillo directfb dvd+rw-tools e2fsprogs ed elinks encfs eterm ethstatus exo fakeroot fbset fbv file filesystem findutils firefox flex flock fortune-mod fuseiso gawk gcc gcc-libs gdbm geeqie gen-init-cpio gettext git glibc gnu-netcat gnutls gpm grep groff grub gzip hdparm hwdetect initscripts iotop iproute2 iputils ipw2200-fw jfsutils kbd kernel26 keytouch laptop-mode-tools less libarchive libdvdread libfetch libgcrypt libgpg-error libpcap libtool libusb libusb1 libxfce4menu libxfce4util licenses links-g linux-api-headers linux-firmware logrotate lsof lvm2 lynx lzo2 m4 madwifi madwifi-utils mailx make man-db man-pages mdadm mkinitcpio mlocate module-init-tools mplayer nano ncurses net-tools netsurf nmap openssh pacman pacman-mirrorlist pam parted patch pciutils pcmciautils pcre perl pkg-config pmount popt powerpill ppp procinfo-ng procps psmisc putty ratpoison readline reiserfsprogs rp-pppoe rsync schroot screen sdparm sed setserial shadow shfs-utils socat sshfs strace stunnel sudo swfdec-mozilla sysfsutils syslog-ng sysvinit tar tcp_wrappers terminator terminus-font texinfo tmux truecrypt ttf-inconsolata tzdata udev udev-compat upower usbutils usbview util-linux-ng vi vim w3m wget which wicd wireless_tools wireshark wpa_supplicant xf86-video-fbdev xf86-video-vesa xfsprogs xorg-docs xorg-fonts-100dpi xorg-fonts-75dpi xorg-res-utils xorg-server xorg-server-utils xorg-twm xorg-utils xorg-xinit xterm zlib
+
</pre>
+
 
+
== /etc/rc.conf ==
+
This sets the locale, timezone, consolefont, network, modules, etc.
+
 
+
<pre>
+
LOCALE="en_US.UTF-8"
+
HARDWARECLOCK="localtime"
+
TIMEZONE="America/Indiana/Indianapolis"
+
KEYMAP="us"
+
CONSOLEFONT=ter-114b
+
CONSOLEMAP=
+
USECOLOR="yes"
+
 
+
HOSTNAME=acer
+
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)
+
</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]].
+
 
+
 
+
  
 
== Internet ==
 
== Internet ==
To get the wireless working you need the b43-fwcutter tool and firmware module:   [[http://wiki.archlinux.org/index.php/Wireless_Setup#b43]]   
+
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:
 
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"'
 
   $ find . -name '*.o' -type f | xargs -P1 -I{} sh -c 'echo "CUT {}";b43-fwcutter {}||echo "{} FAILED"'
  
=== /etc/wpa_supplicant.conf ===
+
See [[Wireless_Setup#Systemd with wpa_supplicant and static IP|here]] for wireless configuration.
<pre>
+
network={
+
ssid="MAdfC-G"
+
scan_ssid=1
+
key_mgmt=WPA-PSK
+
group=CCMP TKIP
+
pairwise=CCMP TKIP
+
psk=9450d6b31082d8d8c9113455c55b575947fc34511d31e5808524d03599435
+
proto=WPA RSN
+
}
+
</pre>
+
 
+
=== /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>
+
#!/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
+
</pre>
+
  
 
== Sound ==
 
== Sound ==
Add this to /etc/modprobe.d/modprobe.conf
+
Add this to {{ic|/etc/modprobe.d/modprobe.conf}}
<pre>
+
options snd-intel8x0 index=0
options snd-intel8x0 index=0
+
</pre>
+
  
Add the packages alsa-utils and alsa-oss.
+
Add the packages {{pkg|alsa-utils}} and {{pkg|alsa-oss}}.
  
 
Unmute settings, then save.
 
Unmute settings, then save.
Line 99: Line 24:
 
   sudo amixer set PCM 90% unmute
 
   sudo amixer set PCM 90% unmute
 
   sudo alsactl store
 
   sudo alsactl store
 
Add your normal user to the audio group
 
  $ sudo gpasswd -a user audio
 
 
Add alsa to your DAEMONS array in /etc/rc.conf
 
  
 
== Xorg ==
 
== Xorg ==
I use ratpoison because its lightning fast on my acer, and because I'm a poweruser. If you have to use a gui, go with xfce4.  KDE and gnome are outrageously slow on the acer.
+
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 ===
 
=== /home/user/.xinitrc ===
Line 117: Line 37:
 
exec ratpoison
 
exec ratpoison
 
</pre>
 
</pre>
 
  
 
=== /etc/X11/xorg.conf ===
 
=== /etc/X11/xorg.conf ===
Line 184: Line 103:
 
EndSection
 
EndSection
 
</pre>
 
</pre>
 
  
 
=== /etc/rc.local ===
 
=== /etc/rc.local ===
 
  fbset -a -depth 32
 
  fbset -a -depth 32
 
 
  
 
== Kernel ==
 
== Kernel ==
Line 202: Line 118:
 
COMPRESSION="bzip2"
 
COMPRESSION="bzip2"
 
</pre>
 
</pre>
 
Simplest way to generate new mkinitcpio is reinstalling the kernel package like:
 
$ pacman -Sf --noconfirm kernel26
 
 
 
  
 
== /boot/grub/menu.lst ==
 
== /boot/grub/menu.lst ==
Line 319: Line 230:
  
 
==== 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
 
 
 
 
 
 
 
 
 
 
 
  
 
== Hardware ==
 
== 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.
 
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 ===
 
=== lspci ===
Line 369: Line 267:
 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
</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 08:07, 4 March 2013

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"'

See here for wireless configuration.

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