APM on Acer Notebooks

Support knowledgebase (apm_acer)
Applies to

SuSE Linux: Versions up to (including) 7.3
Kernel: Version 2.2.x

Request:

You want to use APM on your Acer Notebook.

Procedure before SuSE Linux 6.3:

Apply the following patch to the kernelsources (for kernel 2.2.x):
    --- apm.c.orig  Fri Jan 15 07:57:25 1999
    +++ apm.c       Mon Jun 28 14:36:29 1999
    @@ -1349,7 +1349,7 @@
                     __va((unsigned long)0x40 << 4));
            _set_limit((char *)&gdt[APM_40 >> 3], 4095 - (0x40 << 4));

    -       apm_bios_entry.offset = apm_bios_info.offset;
    +       apm_bios_entry.offset = apm_bios_info.offset & 0xffff;
            apm_bios_entry.segment = APM_CS;
            set_base(gdt[APM_CS >> 3],
                     __va((unsigned long)apm_bios_info.cseg << 4));
Then just recompile the kernel as described in APM - Advanced Power Management (http://www.suse.de/sdb/de/html/apm.html)

Procedure since SuSE Linux 6.3:

Since SuSE Linux 6.3, this patch is already included in our kernel. Install the kernel with APM support and set the kernel parameter apm=acertm5 at the boot prompt:
LILO: linux apm=acertm5
If you do not want to type this with every boot, adapt the LILO configuration. Use YaST: -> System administration -> Kernel and boot configuration -> LILO configuration. There, insert apm=acertm5 at the append line for hardware parameter.
See also:
o APM - Advanced Power Management

Keywords: ACER, TRAVELMATE, EXTENSA, APM

SDB-apm_acer, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 15. Sep 1999
SuSE Linux AG - Last generated: 16. Oct 2002 by zoz (sdb_gen 1.40.0)