From: Kevin Kress <kkress-SERwydS1y29eoWH0uzbU5w@public.gmane.org>
To: Matthew Tippett
<matthew.tippett-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Dell DSDT patch request
Date: 10 Mar 2003 09:34:19 -0800 [thread overview]
Message-ID: <1047317566.843.10.camel@quark> (raw)
In-Reply-To: <3E6AA120.406-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 3358 bytes --]
Thanks for the help.
After some hacking on the code I found the following applied to
tbgetall.c did the trick:
first I generated acpi_driver.h with iasl -tc dsdt-i8100-a14-fixed.hex
and dumped this in drivers/acpi.tables/acpi_dsdt.h
then in tbgetall.c just above the function "acpi_tb_get_required_tables"
I added a #include of "acpi_dsdt.h"
Then on line 295 or so I did the following:
address.pointer_type = ACPI_LOGICAL_POINTER | ACPI_LOGICAL_ADDRESSING;
//address.pointer.value = acpi_gbl_FADT->Xdsdt;
address.pointer.value = AmlCode;
where AmlCode is the variable name that was generated in acpi_dsdt.h
a quick recompile and reboot proved that the battery monitor and temp
monitor work just fine when actually reading from the correct AML
buffers.
So now I have mostly tested the DSDT and am confident that it will not
melt my system.... I should upload it to the Wiki. Is there a procedure
for that or should I just go ahead and add it?
--Kevin
On Sat, 2003-03-08 at 18:04, Matthew Tippett wrote:
> Kevin,
>
> I have applied the dsdt and followed the
> http://www.cpqlinux.com/acpi-howto.html instructions. It looks like the
> recent updates have moved the structure name has been moved from a
> structure tag (if my C terminology is correct), so you must replace
> 'acpi_table_header' with 'struct acpi_table_header' and it will compile
> cleanly.
>
> Markus,
>
> It works great, Thermal Zone and Battery works fine. There seems to be
> a *MAJOR* performance issues reading battery status.
>
> Regards,
>
> Matthew
>
> Kevin Kress wrote:
> > On Thu, 2003-03-06 at 13:39, Markus Wiesner wrote:
> >
> >>Kevin Kress schrieb:
> >>
> >>>I saw a message in the archives from mid Jan 03 about a fixed DSDT for a
> >>>Dell notebook. It mentioned that the patch worked for both a 82k and
> >>>another C class notebook. I am assuming that said DSDT is the one
> >>>linked from the Wiki for fixed DSDTs. Unfortunately that link is dead.
> >>
> >>I just added links to my patched version for the i8200.
> >>See http://acpi.sourceforge.net/wiki/index.php/FixedDsdts
> >>
> >>(hint: if someone else wants to add links containing a "~" to that page,
> >>encode it as "%7E" :-) )
> >>
> >>Markus Wiesner
> >
> >
> > Thanks a lot! I was able to patch my i81k A14 DSDT with it, looks like
> > they used the same buggy code all over the place. I will post my i81k
> > a14 DSDT as soon as I can verify it works.
> >
> > I am having trouble getting it to work in the latest patch (2.4.21-pre4
> > acpi-20030228). It looks like the Wiki page on installing a custom DSDT
> > is out of date. osl.c has some new override functionality now, but I
> > can't seem to find out where to hook my DSDT in.
> >
> > Could someone please update that Wiki page to reflect the new code
> > structure.
> >
> > Thanks,
> >
> > --Kevin Kress
--
Kevin Kress
kkress-n0UI4aU6OCcAvxtiuMwx3w@public.gmane.org
GnuPG Key ID: 92949032
Fingerprint : B7F9 2B08 6FC8 35CA 5B64 BD34 6A8B 325C 9294 9032
Direct access: http://www.myslo.com/~kkress/kkress-n0UI4aU6OCclr2RyoT947g@public.gmane.org
Via Keyserver: http://www.keyserver.net/en/findkey.html
(search for "Kevin Kress" or "0x92949032")
Get GnuPG at http://www.gnupg.org or PGP at http://www.pgpi.org
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2003-03-10 17:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-06 19:54 Dell DSDT patch request Kevin Kress
[not found] ` <1046980416.915.11.camel-2O+b8oy2l+w@public.gmane.org>
2003-03-06 21:39 ` Markus Wiesner
[not found] ` <20030306213936.GB5185-aCYJ90g6FbN3mO1V46hDx7oZL2q1Rlic@public.gmane.org>
2003-03-07 0:41 ` Kevin Kress
[not found] ` <1046997667.836.8.camel-2O+b8oy2l+w@public.gmane.org>
2003-03-09 2:04 ` Matthew Tippett
[not found] ` <3E6AA120.406-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org>
2003-03-10 17:34 ` Kevin Kress [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1047317566.843.10.camel@quark \
--to=kkress-serwyds1y29eowh0uzbu5w@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=matthew.tippett-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.