From: Len Brown <lenb@kernel.org>
To: Moritz Naumann <securemail@zertificon.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Dell OptiPlex 755 ACPI: DMI
Date: Wed, 13 Feb 2008 22:49:05 -0500 [thread overview]
Message-ID: <200802132249.05631.lenb@kernel.org> (raw)
In-Reply-To: <TBoneMsgId%zertificon.com%47B2B702.1030305%zertificon.com%m.naumann@zertificon.com>
On Wednesday 13 February 2008 04:23, Moritz Naumann wrote:
> Len Brown schrieb:
> > Please send me the output from acpidump.
>
> Please see the attached file.
>
> Invocation was:
> # acpidump > acpidump_linux_`uname -r`.txt 2>&1
>
> Note the "Wrong checksum for generic table!" message (which is why I
> redirected stderr).
Linux appears to be a special case in this BIOS.
ISLI returns 1 for OSI(Linux), which causes GUSB to do nothing.
(otherwise GUSB appears to touch SMM). GUSB is called at init time,
and also at wakup time.
Do you notice any difference in USB operation with acpi_osi=Linux?
How about after resume from suspend?
thanks,
-Len
Method (ISLI, 0, NotSerialized)
{
If (CondRefOf (_OSI, Local0))
{
If (_OSI ("Linux"))
{
Return (One)
### hmmm, special case for Linux, every other OS returns Zero
}
Else
{
Return (Zero)
}
}
Else
{
Return (Zero)
}
}
Method (GUSB, 0, NotSerialized)
{
If (ISLI ())
# only invocation of ISLI
{
Return (Zero)
# OSI(Linux) does nothing
}
Else
{
Return (SMI2 (0xBA))
# everybody else invokes SMM
}
}
...
Method (SMI2, 1, NotSerialized)
{
Acquire (SMIM, 0xFFFF)
Store (Arg0, SMIC)
Store (MGIC, Local0)
Store (SMIC, Local1)
Store (SMID, Local0)
ShiftLeft (Local0, 0x08, Local0)
Add (Local1, Local0, Local0)
Release (SMIM)
Return (Local0)
}
....
Method (_WAK, 1, NotSerialized)
{
If (LEqual (Arg0, 0x04))
{
# wakeup from hibernate
GUSB ()
}
Else
{
If (LEqual (Arg0, 0x03))
{
# wakeup from suspend
If (And (0x20, CMRD (0x49)))
{
GUSB ()
}
}
}
...
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 ()
}
next prev parent reply other threads:[~2008-02-14 3:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-12 10:30 Dell OptiPlex 755 ACPI: DMI Moritz Naumann
2008-02-12 19:46 ` Len Brown
[not found] ` <TBoneMsgId%zertificon.com%47B2B702.1030305%zertificon.com%m.naumann@zertificon.com>
2008-02-14 3:49 ` Len Brown [this message]
2008-02-14 9:59 ` Moritz Naumann
2008-02-15 5:53 ` Len Brown
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=200802132249.05631.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=securemail@zertificon.com \
/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