From: Len Brown <lenb@kernel.org>
To: andrej.gelenberg@udo.edu
Cc: Daniel Mack <daniel@caiaq.de>,
linux-acpi@vger.kernel.org, acpi4asus-user@lists.sourceforge.net,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [Acpi4asus-user] ACPI device for ASUS EEEPC 1101HA not added
Date: Tue, 02 Feb 2010 01:02:10 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.2.00.1002020048110.12989@localhost.localdomain> (raw)
In-Reply-To: <cone.1265022400.369355.2380.1000@eeekiste>
On Mon, 1 Feb 2010, andrej.gelenberg@udo.edu wrote:
> Hi,
>
> you need to whitelist your eee pc for OSI(Linux) in drivers/acpi/blacklist.c
> like this:
>
> + /*
> + * On newer Eeepc, the interface used by eeepc-laptop (ASUS010)
> + * is disabled without _OSI(Linux)
> + */
> + {
> + .callback = dmi_enable_osi_linux,
> + .ident = "Asus Eeepc-1101HA",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer INC."),
> + DMI_MATCH(DMI_PRODUCT_NAME, "1101HA"),
> + },
> + },
Not necessarily the right fix. We have gone to a lot of trouble
to discourage BIOS vendors from depending on the ill-defined OSI(Linux),
so I hesitate to invoke it -- even for a workaround.
The problem at hand is that ASUS010 is not enabled for an OS
that claims compatibility with Win7 (MSOS() == MSW7) below.
Scope (\_SB)
{
Name (ATKP, Zero)
Device (ATKD)
{
Name (_HID, "ASUS010")
Name (_UID, 0x01010100)
Method (_STA, 0, NotSerialized)
{
If (LEqual (MSOS (), MSW7))
{
Return (Zero)
}
Else
{
Return (0x0F)
}
Return (Zero)
Return (0x0F)
}
(heh, see any indication of lack of quality in this code?:-)
MSOS() does this:
Scope (\)
{
Name (OSLX, 0x10)
Name (OSMS, 0x20)
Name (MS98, 0x21)
Name (MSME, 0x22)
Name (MS2K, 0x23)
Name (MSXP, 0x24)
Name (MSVT, 0x25)
Name (MSW7, 0x26)
Name (OSFG, Ones)
Method (MSOS, 0, NotSerialized)
{
If (LNotEqual (OSFG, Ones))
{
Return (OSFG)
}
Store (Zero, OSFG)
If (CondRefOf (_OSI, Local0))
{
If (_OSI ("Windows 2001"))
{
Store (MSXP, OSFG)
}
If (_OSI ("Windows 2001 SP1"))
{
Store (MSXP, OSFG)
}
If (_OSI ("Windows 2001 SP2"))
{
Store (MSXP, OSFG)
}
If (_OSI ("Windows 2006"))
{
Store (MSVT, OSFG)
}
If (_OSI ("Windows 2009"))
{
Store (MSW7, OSFG)
}
If (_OSI ("Linux"))
{
Store (OSLX, OSFG)
}
Return (OSFG)
}
Else
So I expect if you apply no patch, but boot with 'acpi_osi="!Windows 2009"'
then that would also work properly, as OSFG above will be set
to "MSVT" instead of "OSLX".
Looking through the DSDT, there are no references to OSLX or MSVT,
or MSXP, for that matter. However, there is an additional reference
to MSV7 in the temperature reading part of thermal zone TZ00,
that looks like some sort of OS-specific initialization, perhaps
a workaround. So also check that /proc/acpi/thermal_zone/*/temperature
still work before and after.
thanks,
-Len Brown, Intel Open Source Technology Center
next prev parent reply other threads:[~2010-02-02 6:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-01 3:25 Daniel Mack
2010-02-01 11:06 ` [Acpi4asus-user] " andrej.gelenberg
2010-02-01 12:51 ` Daniel Mack
2010-02-01 15:55 ` andrej.gelenberg
2010-02-02 6:02 ` Len Brown [this message]
2010-02-02 7:22 ` Corentin Chary
2010-02-02 15:12 ` Matthew Garrett
2010-02-02 1:19 ` Zhang Rui
2010-02-02 2:09 ` Daniel Mack
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=alpine.LFD.2.00.1002020048110.12989@localhost.localdomain \
--to=lenb@kernel.org \
--cc=acpi4asus-user@lists.sourceforge.net \
--cc=andrej.gelenberg@udo.edu \
--cc=daniel@caiaq.de \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®