Actions

Difference between revisions of "Linux on the Acer 5100-5033"

From RonWareWiki

 
(22 intermediate revisions by the same user not shown)
Line 15: Line 15:
  
 
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?
 
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?
 +
 +
Battery: BATBL50L6
  
 
=Debugging the boot failures=
 
=Debugging the boot failures=
Line 42: Line 44:
  
 
==Display==
 
==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 lowI don't know how to get higher performance yet, but will try eventually.
+
Working well in 1200x800 mode.  Chipset is ATI RS485 (Radeon Xpress 1100 IGP).  
 +
 
 +
After installing "fglrx", I have accelerated GL, which is nice :) Oy! suspend/resume doesn't work with "fglrx". Try [http://www.linuxquestions.org/questions/showthread.php?t=560438&highlight=fglrx+suspend this] next...
 +
 
 +
Well, that doesn't work for me eitherSuspend doesn't power off at all, but reverting to the "old" ATI driver works ok.
 
===External===
 
===External===
 
Haven't tried it yet.
 
Haven't tried it yet.
Line 88: Line 94:
  
 
===WiFi===
 
===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)".  There is a [http://madwifi.org/ticket/859 bug report] on the madwifi site I'll keep track of.
+
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)".  There is a [http://madwifi.org/ticket/859 bug report] on the madwifi site I'll keep track of.  The Windows drivers under 'ndiswrapper' also do not work.
  
 
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.
 
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.
 +
 +
::Latest svn sources still have problem [[User:Ron|Ron]] 00:01, 12 June 2007 (EDT)
 +
 +
Found a DLINK DWL-G650, which is another PCMCIA card only faster than the Orinoco.  I installed it, and it also work ok.  Curiously, it uses the Atheros drivers - which work fine.
 +
 +
'''NOTE:''' I just yesterday (27JUN2007) tried to install an Intel 3945ABG PCIe card.  It installed physically just fine, but the laptop refused to boot with that card installed!  I sent an email to Acer about it, but did not hear back from them ... This is very frustrating!
 +
 +
<font color=red>'''It's working now!'''</font>(29Jun2007)  I removed all the Atheros (madwifi) drivers, and rebooted.  Then I removed all the ndiswrapper drivers I had installed.  Next, I installed under ndiswrapper, the "net5211" driver (aka: "Atheros AR5001" drivers).  It "just works", and I am a happy camper.
  
 
==Card reader==
 
==Card reader==
This is a ENE Technology Inc card reader, which so far doesn't work.
+
This is a ENE Technology Inc card reader, which <strike>so far doesn't work</strike> works ''perfectly'' on kernel 2.6.23 (so upgrade if you haven't already).
  
 
==Sound==
 
==Sound==
Line 99: Line 113:
  
 
=Current problems=
 
=Current problems=
* internal wifi not working
+
 
* SD reader not working
+
There are no problems, at the moment.
  
 
----
 
----
[mailto:ron@ronware.org Contact me] if you have feedback on this page or on the various components.
+
[mailto:ron@ronware.org?subject=Acer/Linux Contact me] if you have feedback on this page or on the various components.
 +
 
 +
[[category: tips]]

Latest revision as of 07:42, 6 December 2009

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?

Battery: BATBL50L6

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...

How things are set up (and whether or not they work)

Distribution/Kernel

Using Frugalware, currently kernel 2.6.21. Must use the kernel boot option idle=poll. There may be other options which will make things work better, I'm still researching that.

Hard disk

120GB Hitachi HTS541612J9SA00. Set to dual-boot Vista and Linux.

Display

Working well in 1200x800 mode. Chipset is ATI RS485 (Radeon Xpress 1100 IGP).

After installing "fglrx", I have accelerated GL, which is nice :) Oy! suspend/resume doesn't work with "fglrx". Try this next...

Well, that doesn't work for me either. Suspend doesn't power off at all, but reverting to the "old" ATI driver works ok.

External

Haven't tried it yet.

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)". There is a bug report on the madwifi site I'll keep track of. The Windows drivers under 'ndiswrapper' also do not work.

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.

Latest svn sources still have problem Ron 00:01, 12 June 2007 (EDT)

Found a DLINK DWL-G650, which is another PCMCIA card only faster than the Orinoco. I installed it, and it also work ok. Curiously, it uses the Atheros drivers - which work fine.

NOTE: I just yesterday (27JUN2007) tried to install an Intel 3945ABG PCIe card. It installed physically just fine, but the laptop refused to boot with that card installed! I sent an email to Acer about it, but did not hear back from them ... This is very frustrating!

It's working now!(29Jun2007) I removed all the Atheros (madwifi) drivers, and rebooted. Then I removed all the ndiswrapper drivers I had installed. Next, I installed under ndiswrapper, the "net5211" driver (aka: "Atheros AR5001" drivers). It "just works", and I am a happy camper.

Card reader

This is a ENE Technology Inc card reader, which so far doesn't work works perfectly on kernel 2.6.23 (so upgrade if you haven't already).

Sound

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

Current problems

There are no problems, at the moment.


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