Re: APM (or ACPI) on an Acer TravelMate 280 (RH9)

From: Lenard (lenard_at_127.0.0.1)
Date: 10/05/03


Date: Sat, 04 Oct 2003 23:38:49 GMT

On Sat, 04 Oct 2003 21:33:20 +0200, Ton Machielsen typed:

> Hi all,
>
> APM nor ACPI seem to be working on my TravelMate 280.

I'm also answering your other posts to this newsgroup;

Red Hat Linux does not seem to like your laptop's BIOS and PCMCIA
controller, I know because I also have the same one. Your going to have to
compile your own kernel in order to get ACPI and PCMCIA working. I suggest
that you use the latest stable kernel from kernel.org (2.4.22).

First step is to remove(as root) the broken kernel-pcmcia-cs rpm file;

$ rpm -e kernel-pcmcia-cs

Next step is to download the stable kernel-2.4.22 from;

http://www.kernel.org to your /usr/src directory.

>From the console or xterm session in /usr/src;

Type; tar -zxpvf kernel-2.4.22.tar.gz

Type: cd linux

It is important that kernel build starts with the source tree in a known
condition.

Type; make mrproper
Type; make xconfig

This open an xterm kernel configuration screen that you can use to
customize your kernel.

Click on the Load configuration from File button

This will open a new window, in this window type in something like the
following; /boot/config-2.4.20-9

(I have the same laptop and will email you the laptop config I use if you
want, see the end of this reply to ask for it)

Click on the OK button

The window will close and you will be back at the kernel configuration
screen.

Make the changes to disable APM and PCMCIA and enable ACPI by clicking on
the 'General setup' button (window opens)

Click on the PCMCIA/Cardbus support button (window opens)

PCMCIA/Cardbus support is set to n (No)

Click on the OK button
(window closes)

Advanced Power Management BIOS support is set to n (No)

Click on the ACPI support button
(window opens)

ACPI Support is set to y (Yes)
AC Adapter is set to y (Yes)
Battery is set to y (Yes)
Button is set to y (Yes)
Fan is set to y (Yes)
Processor is set to y (Yes)
Relaxed AML Checking is set to y (Yes)

The rest are set to n (No)

Click on the OK button
(window closes)

Click on the Main Menu button
(window closes)

Click on the Save and Exit button
(window closes)

You now should be ready to build a new kernel with ACPI support and PCMCIA
support disabled, now you can build it.

Type; make dep
Type; make clean
Type; make bzImage
Type; make modules

This will take a fair amount of time, don't worry, be patient, have a
drink and maybe something to eat!

Type; make modules_install
Type; make install

This will write a new kernel boot option in grub, the one you just
finished building and just installed.

Next download the pcmcia-cs source from;

http://pcmcia-cs.sourceforge.net/

>From the console or xterm session from the location you stored the
downloaded pcmcia-cs-3.2.4 package;

Type; tar -zxpvf pcmcia-cs-3.2.4.tar.gz

Type; cd pcmcia-cs-3.2.4

Type; ./Configure

Answer the following questions like the examples below;

kernel source directory is: /usr/src/linux

build trusting versions: n

include 32-bit cardbus support: y

PnP BIOS resource checking: n

Module install dir: /lib/modules/2.4.22

Now if you want you can start pcmcia services;

$ service pcmcia start

Or reboot and PCMCIA will work.

I stated that if you want I will email you the laptop config file I use
(far to long to add to this reply), my email address (coded) is.....

My email name is; lcharters_at_myisp

And myisp is; SbCgLoBaL.

This is a net and not a company and everything is lower case.

Further help and reading can be found here;

http://www.tldp.org/HOWTO/Kernel-HOWTO/

http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO.html

-- 
SCO + RICO Act = Justice
             Hi!  I'm a .sig virus!  Copy me to your .sig!