From: "Zdeněk OGAR Skalák" <skalak-Bh/+Xfn7orxQjibfaplwYw@public.gmane.org>
To: acpi-devel
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: acpi on compaq evo n800c, P4 ,845
Date: Wed, 25 Sep 2002 14:00:33 +0200 [thread overview]
Message-ID: <3D91A561.6DB8B7A8@monetplus.cz> (raw)
In-Reply-To: 3D8DA3A1.8070201@dts.de
[-- Attachment #1: Type: text/plain, Size: 1628 bytes --]
Hi,
> little problem here.
> 2.4.20-pre7 with latest acpi patch boots but i think the bios is a
> little bit buggy (no BAT status and no suspend) ,so i tried to override
> the dsdt but it doesn't worked. (I deleted the * before PNP... in dsdt.asl
> and recompile but still get some errors with iasl)
> can anyone fix my dsdt? (it's attached) PLEASE
I have Compaq Armada 110 a had the same problem :-{ I hat to patch DSDT and BAT
started to work (partialy :-).
There apears /proc/acpi/battery/BAT1 there, info seems to work, but state show
strange remaining capacity (it seems to me as some sort of integer overflow :-{
It seems to be related to error in Ds_init_buffer_field :-{ (see attached dmesg)
The main patch is:
1. into Scope(_SB){ add Name(OKEC,0x00) <- originaly wasn't found (actual was
defined in another scope :-{
2. change all references from \_SB.OKEC() into \_SB.OKEC !!
3. in one place, call SEBI() instead of SEBS() (not sure of this, but seems
SEBS() return static info, and SEBI() dynamic, but it was long ago I played with
this)
4. remove one premature return(TPTM) (actual change to Store(TPTM,Local0) ) from
method _TMP (this is only cometic - to got debug of temp int Celsius and Kelvin
degrees too), not needed
I've included the orignal DSTS, the diff (there are lots of debug messages
writen by me too, just search for string OGI :-), and the dmesg after patching
the DSDT.
Could someone have a look at that?
Zdenek Ogar Skalak
--
Ing. Zdeněk OGAR Skalák
Monet+ a.s.
Zámecká 365
763 14 Zlín - Štípa, CZ
Tel: 067 / 711 04 11, Fax: 067 / 791 45 57
[-- Attachment #2: dsdt.diff.gz --]
[-- Type: application/x-gzip, Size: 3247 bytes --]
[-- Attachment #3: dsdt.asl.lin.gz --]
[-- Type: application/x-gzip, Size: 31978 bytes --]
[-- Attachment #4: dmesg.gz --]
[-- Type: application/x-gzip, Size: 4518 bytes --]
prev parent reply other threads:[~2002-09-25 12:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-22 11:04 acpi on compaq evo n800c, P4 ,845 Andreas Kerl
2002-09-25 12:00 ` Zdeněk OGAR Skalák [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=3D91A561.6DB8B7A8@monetplus.cz \
--to=skalak-bh/+xfn7orxqjibfaplwyw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox