From: Herman Sheremetyev <hsheremetyev-yhWOWVs/RhdYAqn04ObX1A@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: executing aliased methods
Date: Wed, 24 Mar 2004 10:33:47 -0500 [thread overview]
Message-ID: <1080142427.1770.84.camel@cheez> (raw)
In-Reply-To: <1080126326.2271.25.camel-w5mZ+H5JyiYmhCb6mdbn6A@public.gmane.org>
Hi All,
I'm using an Asus M6N notebook running kernel 2.6.3 with the ecdt patch
and a custom DSDT. The main reason I need this custom DSDT at the
moment is that the one shipped in the BIOS has method calls which are
being called through an alias and therefore fail to be resolved on linux
(and freebsd). Here's the relevant code from the iasl disassembly:
Alias (PCI0.SBRG.EC0.ECAV, ECAV)
Alias (PCI0.SBRG.EC0.ACS, ACS)
Alias (PCI0.SBRG.EC0.BATS, BATS)
Then later on you see method calls like this:
If (BATS ())
{
Return (PAK0)
}
Calls like this fail during ACPI startup, here is a section of the
dmesg:
-----------------------------------------------------------------------------------------------
Executing all Device _STA and_INI
methods:.............................................. psargs-0352: ***
Error: Looking up [ECFL] in namespace, AE_NOT_FOUND
search_node c15663a8 start_node c15663a8 return_node 00000000
psparse-1120: *** Error: Method execution failed [\_SB_.ECAV] (Node c15663a8), AE_NOT_FOUND
psparse-1120: *** Error: Method execution failed [\_SB_.ACS_] (Node c1566328), AE_NOT_FOUND
psparse-1120: *** Error: Method execution failed [\_SB_.AC__._INI] (Node c15655a8), AE_NOT_FOUND
.. psargs-0352: *** Error: Looking up [ECFL] in namespace, AE_NOT_FOUND
search_node c15663a8 start_node c15663a8 return_node 00000000
psparse-1120: *** Error: Method execution failed [\_SB_.ECAV] (Node c15663a8), AE_NOT_FOUND
psparse-1120: *** Error: Method execution failed [\_SB_.BATS] (Node c15662a8), AE_NOT_FOUND
psparse-1120: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node c155c4a8), AE_NOT_FOUND
------------------------------------------------------------------------------------------------
If I comment off the Alias statements and change the method calls
to use the full method name then the errors in dmesg go away and
things work much better as a result (battery status specifically).
I have links to the full DSDT and dmesg output here:
http://mrhammy2.ath.cx:81/dsdt.M6N0206A
http://mrhammy2.ath.cx:81/dmesg.M6N0206A
The way to fix the DSDT by replacing the Alias methods was actually
brought to my attention by Andreas Dieling so I don't want to take
credit for it. I haven't looked at ACPI code too much myself but I'm
curious if there is a way this can be resolved? I'm willing to
beta-test and maybe even write a bit of code if somebody points me in
the right direction.
Thanks,
-Herman
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
prev parent reply other threads:[~2004-03-24 15:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-24 11:05 error transitioning device G E Scott Knauss
[not found] ` <1080126326.2271.25.camel-w5mZ+H5JyiYmhCb6mdbn6A@public.gmane.org>
2004-03-24 15:33 ` Herman Sheremetyev [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=1080142427.1770.84.camel@cheez \
--to=hsheremetyev-yhwowvs/rhdyaqn04obx1a@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=herman-yhWOWVs/RhdYAqn04ObX1A@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