With lastest acpi I had to patch the acpi_os_table_override and not the 
acpi_os_initialize function as it was the case before to include my own dsdt 
table. I've attached my dsdt.hex file for Compaq Presario 2818, it should 
work with all the 2800 family.
All work now (even suspend on disk, but still problems with some modules at 
wake-up).

Thank you very much for having included a functionnal acpi on mdk kernel, this 
is very helpfull to my laptop which was still a Windows addict, only for 
power management (which is most than important on laptops).

Regards,

Sebastien.

--- osl.c       2003-02-08 20:46:00.000000000 +0100
+++ osl.c.new   2003-02-09 10:07:08.000000000 +0100
@@ -36,6 +36,7 @@
 #include <asm/io.h>
 #include "acpi_bus.h"
 #include "acpi.h"
+#include "dsdt.hex"

 #ifdef CONFIG_ACPI_EFI
 #include <linux/efi.h>
@@ -208,7 +209,11 @@
        if (!existing_table || !new_table)
                return AE_BAD_PARAMETER;

-       *new_table = NULL;
+       if (strncmp(existing_table->signature,"DSDT",4))
+               *new_table = NULL;
+       else
+               *new_table = (struct acpi_table_header *)AmlCode;
+
        return AE_OK;
 }


Le Dimanche 9 Février 2003 01:29, PAOLACCI Sebastien a écrit :
> It seems that the last two kernels have lost the "acpi tweaked table"
> option, so I can't use acpi anymore because of my Presario 2800
> non-standard acpi implementation (or I have to patch the kernel myself).
> Could you please put back this option for next releases ?
>
> Regards,
>
> Sebastien.
>
> Le Samedi 8 Février 2003 17:55, Adam Williamson a écrit :
> > On Sat, 2003-02-08 at 16:18, [Bug 1422] wrote:
> > > https://qa.mandrakesoft.com/show_bug.cgi?id=1422
> > >
> > >            Product: kernel
> > >          Component: libsasl2-plug-ntlm
> > >            Summary: no apm support
> > >            Version: 2.4.21-0.pre4.4mdk
> > >           Platform: PC
> > >         OS/Version: All
> > >             Status: UNCONFIRMED
> > >           Severity: normal
> > >           Priority: P2
> > >         AssignedTo: [EMAIL PROTECTED]
> > >         ReportedBy: [EMAIL PROTECTED]
> > >
> > >
> > > There is no default support for APM in the kernel. As a result, applets
> > > like the battery status (gnome) does not work.
> >
> > I think bugs like this indicate the current state of ACPI is inadequate.
> > We don't really want to ship a distribution which appears, to laptop
> > users, to have no power management support. There really needs to be
> > some kind of improvement. Ideally, DrakX should somehow determine if
> > it's running on a laptop and have the appropriate ACPI modules loaded
> > during startup; then we could institute some kind of blacklist for
> > laptops on which ACPI doesn't work. But the current state of affairs is
> > not satisfactory. The documentation for ACPI is atrocious, and users
> > simply won't know to load the ac, battery etc. modules.

Attachment: dsdt_presario_2800.bz2
Description: BZip2 compressed data

Reply via email to