From: Len Brown <lenb@kernel.org>
To: Alain Pollidoro <alain.pollidoro@toulouse.inra.fr>
Cc: linux-acpi@vger.kernel.org
Subject: Re: dmidecode. - Dell Precision WorkStation 390
Date: Wed, 23 Jan 2008 00:19:31 -0500 [thread overview]
Message-ID: <200801230019.31969.lenb@kernel.org> (raw)
In-Reply-To: <479608B8.5050506@toulouse.inra.fr>
On Tuesday 22 January 2008 10:16, Alain Pollidoro wrote:
> Hello,
>
> Len Brown a écrit :
> On Wednesday 21 November 2007 04:06, Alain Pollidoro wrote:
>
> Manufacturer: Dell Inc.
> Product Name: Precision WorkStation 390
>
>
> With 2.6.22, did you notice any functional difference with "acpi_osi=!Linux"?
>
> No.
> My current kernel is a debian testing 2.6.22-3-686.
thanks for the acpidump.
It loks a lot like the code for the Inspiron 5150.
Does USB work properly both before and after suspend-to disk?
That is the only area where OSI(Linux) looks like it would have an effect.
Basically, some USB related code in the DSDT becomes a NOP instead of calling SMI.
thanks,
-Len
# ISLI was clearly written to look for Linux:
Method (ISLI, 0, NotSerialized)
{
If (CondRefOf (_OSI, Local0))
{
If (_OSI ("Linux"))
{
Return (One)
}
Else
{
Return (Zero)
}
}
Else
{
Return (Zero)
}
}
# GUSB is the only caller of ISLI
Method (GUSB, 0, NotSerialized)
{
If (ISLI ())
{
Return (Zero)
}
Else
{
Return (SMI2 (0xBA))
}
}
# GUSB is invoked at init-time:
Scope (_SB.PCI0)
{
Device (USB0)
{
Name (_ADR, 0x001D0000)
Name (_UID, 0x05)
Name (_PRW, Package (0x02)
{
0x03,
0x03
})
OperationRegion (UPC1, PCI_Config, 0xC1, One)
Field (UPC1, ByteAcc, NoLock, Preserve)
{
LEGK, 8
}
Method (_INI, 0, NotSerialized)
{
If (HACK ()) {}
Else
{
Store (LEGK, Local0)
And (Local0, 0x60, Local0)
Or (Local0, 0x20, Local0)
Store (Local0, LEGK)
}
GUSB ()
}
# GUSB is invoked at wakeup from S4 time:
Method (_WAK, 1, NotSerialized)
{
If (LEqual (Arg0, 0x04))
{
GUSB ()
}
If (Or (And (PMS2, One), Or (And (LNot (HACK ()),
And (GLBT, 0x11)), And (LNot (HACK ()), And (THRP, 0x18
)))))
{
Notify (\_SB.VBTN, 0x02)
}
Return (Zero)
}
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2008-01-23 5:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-21 9:06 dmidecode Alain Pollidoro
2008-01-18 22:12 ` dmidecode Len Brown
[not found] ` <479608B8.5050506@toulouse.inra.fr>
2008-01-23 5:19 ` Len Brown [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=200801230019.31969.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=alain.pollidoro@toulouse.inra.fr \
--cc=linux-acpi@vger.kernel.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.