Search:  
Gentoo Wiki

Averatec_4155

This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

Contents

Introduction

The Averatec 4155-EH1 laptop comes with a Turion 64 MT-30 and 13.3" screen. It cost $800-1000 and runs linux relatively well. Since the laptop is an amd64 system, it can be setup in 32- or 64-bit mode. This document covers 64-bit mode.

Kernel

A standard vanilla kernel will do fine. Kernels before 2.6.15 have only intermittently working ACPI.

Processor

Processor family is AMD-Opteron/Athlon64. Disable K8 GART IOMMU support in the kernel. Since the system only has 512 MB RAM, this option will only waste memory. For portage, use the following base configuration:

File: /etc/make.conf

CFLAGS="-march=k8 -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}" USE="mmx 3dnow"

The "AMD Opteron/Athlon64 PowerNow!" CPU frequency scaling driver will allow you to switch between 1600 MHz and 800 MHz. I found that cpudyn does a nice job at managing CPU scaling and hard drive power.

Code: Install cpudyn
emerge cpudyn

Xorg

LCD screen is 1280x800 native resolution (widescreen). The card is SiS and runs in Xorg with the SiS driver. Exact chipset is hard to pin down--neither lspci nor Xorg know exactly. The touchpad is synaptics. Installing the driver makes scrolling on the bottom and right of the touchpad work.

The external HD15 video port will work if Xorg was started with a monitor connected. It is not necessary to reboot the system. To get any decent resolution on the video card, you may need to set frequencies in xorg.conf. The S-Video port has not been tested.

See also:

Wireless

Averatec tech support was quite helpful and indicated the wireless chipset is RaLink RT2500 before the laptop was released. They even did a little research and looked up the card for linux support over the phone. This chipset is supported by the rt2500 driver which is separate from the kernel. Adding support is as simple as compiling the kernel and installing the rt2500 package.

Code: Install rt2500 driver
emerge rt2500

The card will show up as ra0. Creating an init script is easy.

Code: Make ra0 init script
cd /etc/init.d
ln -s net.eth0 net.ra0

To setup kismet, only one line of configuration is needed:

File: /etc/kismet.conf
source=rt2500,ralink,hi

See also:

Wired Ethernet

Use module sis900 for the integrated 10/100 SiS 900 ethernet.

Suspend

Both suspend to disk and to ram work. The latter requires a bit of coaxing. For suspend to ram, the video card state needs to be saved and restored with vbetool.

Code: Install vbetool
echo sys-apps/vbetool ~amd64 >>/etc/portage/package.keywords
emerge vbetool

Tell the kernel not to panic when the video card is confused on resume.

Code: Kernel command line
acpi_sleep=s3_bios,s3_mode

Install the hibernate-script package to manage suspending.

Code: Install vbetool
echo sys-power/hibernate-script ~amd64 >>/etc/portage/package.keywords
emerge hibernate-script

The rt2500 module causes panics with suspend. Recent versions of hibernate-script blacklist the module. However, if wireless is in use then ra0 needs to be stopped and restarted to allow hibernate-script to remove the module. Modify the network configuration to do this.

File: /etc/hibernate/hibernate.conf
### network
DownInterfaces ra0
UpInterfaces auto

See also:

Retrieved from "http://www.gentoo-wiki.info/Averatec_4155"

Last modified: Thu, 28 Aug 2008 11:30:00 +0000 Hits: 6,071