* Dell DSDT patch request
@ 2003-03-06 19:54 Kevin Kress
[not found] ` <1046980416.915.11.camel-2O+b8oy2l+w@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Kevin Kress @ 2003-03-06 19:54 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 590 bytes --]
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.
The original message said it contained a patch to fix the DSDT, but the
archive does not appear to hold onto the attachments. Could someone
either resend the attachments to me or if anyone knows who to contact,
have the the link to the fixed DSDT repaired.
Thanks in advance,
--Kevin Kress
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Dell DSDT patch request
[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>
0 siblings, 1 reply; 5+ messages in thread
From: Markus Wiesner @ 2003-03-06 21:39 UTC (permalink / raw)
To: Kevin Kress; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
--
For every complex problem, there is a solution that is simple, neat,
and wrong.
-- H. L. Mencken
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Dell DSDT patch request
[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>
0 siblings, 1 reply; 5+ messages in thread
From: Kevin Kress @ 2003-03-07 0:41 UTC (permalink / raw)
To: Markus Wiesner; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Dell DSDT patch request
[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>
0 siblings, 1 reply; 5+ messages in thread
From: Matthew Tippett @ 2003-03-09 2:04 UTC (permalink / raw)
To: Kevin Kress; +Cc: Markus Wiesner, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
--
Matthew Tippett - matthew.tippett-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org - (416) 435-4118
http://www.technology-forum.org/ - http://www.commercialos.org/
Know your self, and know others; Sun Tzu - Art of War
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Dell DSDT patch request
[not found] ` <3E6AA120.406-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org>
@ 2003-03-10 17:34 ` Kevin Kress
0 siblings, 0 replies; 5+ messages in thread
From: Kevin Kress @ 2003-03-10 17:34 UTC (permalink / raw)
To: Matthew Tippett; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- 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 --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-10 17:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox