Actions

Linux on the Acer 5100-5033

From RonWareWiki

I recently purchased this machine. It comes with Vista Home edition and 1G RAM. I upgraded it to 2G, since I figured it would work much better.

Overview

The machine is very nice. Relatively light in weight, has a very bright and crisp screen. Vista booted fine; I created the "backup DVDs" as per Acer's recommendations. This machine has an AMD Turion 64 X2 TL-50 1.6G CPU, built-in wifi, 120G HD, DVD R/W, and now 2G RAM.

I've had several other Acer machines in the past, and this one is very similar except the batter is quite different (so incompatible) and the keyboard layout is a little different. Fortunately, Acer replaced the push-buttons on the front of the case with slide-switches, so one cannot accidentally turn the wifi off. Of course, I also know that Acer machines often use weird or non-supported well hardware, so I was prepared for a bit of a struggle.

I had hoped to get Linux installed right away, but my usual distro did not install properly, nor did my Slax disk. After a bit of research, I found that both Kubuntu and Mandriva will work ok on this machine, but for some inexplicable reason neither includes the madwifi drivers, and they make it difficult to get them installed. Kubuntu also has an excessively "dumbed down" interface, which makes it difficult to "get things done". So I went back to the research department ...

First attempts

First I tried a brand-new, Slax 6RC3 boot disk, since I had seen how well it worked on my current Acer laptop. However, the boot hangs. Pressing the ENTER key allows the boot to continue, but it never seems to work correctly.

Next, I tried my normal Frugalware install - I tried an 0.4 install as well as a shiny-new FWLive - both failed in a similar manner to the Slax boot. It seems that detection of hardware is not good.

I then tried Kubuntu, and was pleasantly surprised to see it installed just fine (with the annoyance that the Wifi was not supported). This install went very smoothly and the system functioned well enough, but I find the Ubuntu model annoying.

I made one more try, this time with Mandriva - it also installed and booted well, and also did not install MadWifi; so it didn't work with my wifi. What's the deal with that, I wonder?

Debugging the boot failures

To get to the bottom of the boot failures, I tried the following:

  • nohotplug kernel option - didn't help
  • msi=off kernel option - didn't help

After poking around online, I found a comment to the effect that plugging in an external USB mouse would help. So I tried that, and indeed it did help! "Regular" distributions load if the USB mouse is plugged in. More investigation revealed that adding idle=poll to the kernel boot line allows the kernel to boot without requiring the mouse be plugged in. (I still am investigating why this is an issue Ron 11:27, 8 June 2007 (EDT))

Getting set-up

So after I found I could boot my favorite distros, I decided to reformat the disk and give Vista only 20G instead of 50G. So my disk map now looks like:

  • sda1 - 9G (hidden Vista partition for recovery)
  • sda2 - 20G Vista, bootable
  • sda3 - 80G Linux, bootable
  • sda4 - 1G Linux swap

I did the Acer recovery thing, then I booted my Frugalware DVD and tried to install it (remembering to use the idle=poll kernel option). I was able to successfully install, and boot into Frugalware on the machine! However, the wifi device is not correctly working - apparently it's too new and I need the very latest madwifi.

Rebooted the machine and decided to boot into Vista and get it back up to speed, only to find the Acer "eRecovery" thing taking hold again :( So I'm currently re-recovering Vista, hopefully it will be done soon...

Status of various pieces

Display

Working well in 1200x800 mode. Chipset is ATI RS485 (Radeon Xpress 1100 IGP). The X configurator in Frugalware just "did the right thing". "glxgears" reports over 300 FPS, but that is pretty low. I don't know how to get higher performance yet, but will try eventually.

Touchpad/Mouse

The device is the ubiquitous Synaptics touchpad. Need to have that installed, and make sure evdev module is loaded (add it to '/etc/sysconfig/modules', under Frugalware). Then make sure your X configuration file has a section like:

Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "MaxTapTime" "0"
Option "SHMConfig" "on"
Option "AlwaysCore" "true"
EndSection

and add InputDevice "Touchpad" "CorePointer" to the top of the file.

ACPI/Suspend/Resume

Load these modules:

  • ac
  • battery
  • fan
  • thermal
  • video
  • button

And you'll be able to use the KDE power save applet to tell the machine to 'suspend' when the lid is closed. It even works :) Now if I could tell it to lock the screen as well, that would be very cool.

CPU Throttling

Load these modules:

  • powernow-k8
  • cpufreq_powersave
  • cpufreq_performance
  • cpufreq_ondemand
  • cpufreq_conservative

In the KDE power control applet you'll be able to set how you want the power to be set when running on battery or on AC.

Network

Cabled

The built-in cabled network is a "Realtek RLT-8139/8139C/8139C+ (rev 10)", and works perfectly and was auto-detected fine.

WiFi

The built-in wifi card is an Atheros AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01), and though it was auto-detected, I cannot get it to work. madwifi complains, wifi%d: unable to attach hardware: 'Hardware didn't respond as expected' (HAL status 3)".

So I scrounged up an old Lucent "Orinoco" PCMCIA card, which "just works". So at least I do have wifi, albeit not the built-in, and not at high-speed. I'll continue to try to figure out the problem.

Card reader

This is a ENE Technology Inc card reader, which so far doesn't work.

Sound

ATI Technologies Inc SB450 HDA Audio (rev 01) - works fine, after having run "alsaconf" as root.

Current problems

  • internal wifi not working
  • SD reader not working

Contact me if you have feedback on this page or on the various components.