Thread (1 message) 1 message, 1 author, 2003-02-11

Re: [Fwd: Re: ASL help with latest acpi and compaq presario 2800t]

From: <hidden>
Date: 2003-02-11 17:10:05

On Tue, Feb 11, 2003 at 02:37:11PM +0100, Ducrot Bruno wrote:
Exact.  I am completly wrong here.

You should consider to do something like that instead:


                         Method(_OFF) {
                             If(LOr(\_SB_.C020, LEqual(0x0, 0x1))) {
                                Store ("_OFF: already off ?", Debug)
                            } Else {
                                C132(0x3, 0x0)
                            }
                        }
What about using NOOP instead of the Store?  Would that work also?
point 2) can not work here.
An _OFF method must return nothing (see acpi specs 2.0b, 7.1.2)
OSPM will call _OFF, then call _STA in order to check if
the power ressource is really off.

Note also that the debug statement is only here to check if
"LOr(\_SB_.C020, LEqual(0x0, 0x1)" is really for that.  I am
really not sure here.  Hard to follow this ASL since
the names are not, well, the best that can be choosen..
I'm just starting to read the *gack* specs.  What did 1.0b say about
_OFF returning a value?  I'd lay odds the ASM is coded to v1 and not
v2...


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help