public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* DMI update
@ 2008-02-07 10:47 Jiri Kosina
  2008-02-07 18:39 ` DMI update - Lenovo X61x - Region EmbeddedControl(3) has no handler Len Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Kosina @ 2008-02-07 10:47 UTC (permalink / raw)
  To: linux-acpi

Hi,

sending DMI info as suggested by dmesg output.

BTW does anyone have any idea about the parse errors?

ACPI: EC: EC description table is found, configuring boot EC
ACPI Error (evregion-0316): No handler for Region [ECOR] 
(ffff81007d36f620) [EmbeddedControl] [20070126]
ACPI Error (exfldio-0289): Region EmbeddedControl(3) has no handler 
[20070126]
ACPI Error (psparse-0537): Method parse/execution failed 
[\_SB_.PCI0.LPC_.EC__.AC__._PSR] (Node ffff81007d374630), AE_NOT_EXIST
ACPI Error (psparse-0537): Method parse/execution failed 
[\_SB_.PCI0.LPC_.EC__.HKEY.CKC4] (Node ffff81007d374270), AE_NOT_EXIST
ACPI Error (psparse-0537): Method parse/execution failed [\_GPE._L02] 
(Node ffff81007d3807d0), AE_NOT_EXIST
ACPI Exception (evgpe-0576): AE_NOT_EXIST, while evaluating GPE method 
[_L02] [20070126]
Completing Region/Field/Buffer/Package 
initialization:.............................................................................................................................
.........................................................................................................................................
Initialized 31/34 Regions 122/122 Fields 52/52 Buffers 57/73 Packages 
(1845 nodes)
Initializing Device/Processor/Thermal objects by executing _INI 
methods:.<5>ACPI: BIOS _OSI(Linux) query honored via cmdline
ACPI: DMI System Vendor: LENOVO
ACPI: DMI Product Name: 76693KG
ACPI: DMI Product Version: ThinkPad X61s
ACPI: DMI Board Name: 76693KG
ACPI: DMI BIOS Vendor: LENOVO
ACPI: DMI BIOS Date: 12/28/2007
ACPI: Please send DMI info above to linux-acpi@vger.kernel.org
ACPI: EC: non-query interrupt received, switching to interrupt mode
........


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DMI update - Lenovo X61x - Region EmbeddedControl(3) has no handler
  2008-02-07 10:47 DMI update Jiri Kosina
@ 2008-02-07 18:39 ` Len Brown
  2008-02-08 14:38   ` Jiri Kosina
  0 siblings, 1 reply; 4+ messages in thread
From: Len Brown @ 2008-02-07 18:39 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-acpi

On Thursday 07 February 2008 05:47, Jiri Kosina wrote:
> Hi,
> 
> sending DMI info as suggested by dmesg output.
> 
> BTW does anyone have any idea about the parse errors?
> 
> ACPI: EC: EC description table is found, configuring boot EC
> ACPI Error (evregion-0316): No handler for Region [ECOR] 
> (ffff81007d36f620) [EmbeddedControl] [20070126]
> ACPI Error (exfldio-0289): Region EmbeddedControl(3) has no handler 
> [20070126]
> ACPI Error (psparse-0537): Method parse/execution failed 
> [\_SB_.PCI0.LPC_.EC__.AC__._PSR] (Node ffff81007d374630), AE_NOT_EXIST
> ACPI Error (psparse-0537): Method parse/execution failed 
> [\_SB_.PCI0.LPC_.EC__.HKEY.CKC4] (Node ffff81007d374270), AE_NOT_EXIST
> ACPI Error (psparse-0537): Method parse/execution failed [\_GPE._L02] 
> (Node ffff81007d3807d0), AE_NOT_EXIST
> ACPI Exception (evgpe-0576): AE_NOT_EXIST, while evaluating GPE method 
> [_L02] [20070126]
> Completing Region/Field/Buffer/Package 
> initialization:.............................................................................................................................
> .........................................................................................................................................
> Initialized 31/34 Regions 122/122 Fields 52/52 Buffers 57/73 Packages 
> (1845 nodes)
> Initializing Device/Processor/Thermal objects by executing _INI 
> methods:.<5>ACPI: BIOS _OSI(Linux) query honored via cmdline
> ACPI: DMI System Vendor: LENOVO
> ACPI: DMI Product Name: 76693KG
> ACPI: DMI Product Version: ThinkPad X61s
> ACPI: DMI Board Name: 76693KG
> ACPI: DMI BIOS Vendor: LENOVO
> ACPI: DMI BIOS Date: 12/28/2007
> ACPI: Please send DMI info above to linux-acpi@vger.kernel.org
> ACPI: EC: non-query interrupt received, switching to interrupt mode

thanks for the messages.
Please open a sighting here:
http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI

please attach the complete output from dmesg -s64000
and the output from acpidump.

-Len

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DMI update - Lenovo X61x - Region EmbeddedControl(3) has no handler
  2008-02-07 18:39 ` DMI update - Lenovo X61x - Region EmbeddedControl(3) has no handler Len Brown
@ 2008-02-08 14:38   ` Jiri Kosina
  2008-02-12 20:58     ` DMI update - Lenovo X61x Len Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Kosina @ 2008-02-08 14:38 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi

On Thu, 7 Feb 2008, Len Brown wrote:

> thanks for the messages. Please open a sighting here: 
> http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI please attach the 
> complete output from dmesg -s64000 and the output from acpidump.

Done, bugnumber 9916. Thanks,

-- 
Jiri Kosina

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DMI update - Lenovo X61x
  2008-02-08 14:38   ` Jiri Kosina
@ 2008-02-12 20:58     ` Len Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2008-02-12 20:58 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-acpi

Thanks for the acpidump (and bug report 9916)

I suspect that acpi_osi=Linux will work better than acpi_osi=!Linux on this box,
which is the case for the R61 and T61.  Perhaps you can verify that, say
by testing if sound and mute work in both cases?

It is hard to predict what acpi_osi=Linux will actuall do with this DSDT,
but it will have an effect on both the EC and SMM -- an effect
that appears to be intentional.

This is the most correct use of _OS and _OSI that I've seen --
as they set a different "interface" variable for each interface tested,
rather than trying to simply glean the latest Windows version known.

Indeed, the only thing I'd change is to move the test for "Microsoft Windows"
back with the !_OSI section with the test for NT.

Also, this may be the very first time I've seen a DSDT query for _OSI("FreeBSD").
Curiously, it sets \LNUX for it, just like for _OSI(Linux).  Which makes
me think that Lenovo is actualy booting something other than Windows
on this box -- b/c I've not seen that in any example BIOS...

thanks,
-Len


       Method (_INI, 0, NotSerialized)
        {
            If (LEqual (\SCMP (\_OS, "Microsoft Windows"), Zero))
            {
                Store (0x01, \W98F)
            }
            Else
            {
                If (CondRefOf (\_OSI, Local0))
                {
                    If (\_OSI ("Windows 2001"))
                    {
                        Store (0x01, \WNTF)
                        Store (0x01, \WXPF)
                        Store (0x00, \WSPV)
                    }

                    If (\_OSI ("Windows 2001 SP1"))
                    {
                        Store (0x01, \WSPV)
                    }

                    If (\_OSI ("Windows 2001 SP2"))
                    {
                        Store (0x02, \WSPV)
                    }

                    If (\_OSI ("Windows 2006"))
                    {
                        Store (0x01, \WVIS)
                    }

                    If (\_OSI ("Linux"))
                    {
                        Store (0x01, \LNUX)
                    }

                    If (\_OSI ("FreeBSD"))
                    {
                        Store (0x01, \LNUX)
                    }
                }
                Else
                {
                    If (LEqual (\SCMP (\_OS, "Microsoft Windows NT"), Zero))
                    {
                        Store (0x01, \WNTF)
                    }
                    Else
                    {
                        If (LEqual (\SCMP (\_OS, "Microsoft WindowsME: Millennium Edition"), Zero))
                        {
                            Store (0x01, \WMEF)
                            Store (0x01, \W98F)
                        }
                    }
                }
            }
...
            If (\LNUX)
            {
                \_SB.PCI0.LPC.EC.SAUM (0x02)
                \UCMS (0x1C)
# UCMS is an SMI wrapper. the parameter is unique to LNUX.
            }
...
       Scope (\_SB.PCI0.LPC.EC)
        {
            Method (_Q43, 0, NotSerialized)
            {
                \UCMS (0x18)
            }

            Method (SAUM, 1, NotSerialized)
            {
                If (LGreater (Arg0, 0x03))
                {
                    Noop
                }
                Else
                {
                    If (\H8DR)
                    {
                        Store (Arg0, HAUM)
# Linux comes here
# I don't know what HAUM is, but this is the only place it is set
# and it is in EC space

                    }
                    Else
                    {
                        \MBEC (0x03, 0x9F, ShiftLeft (Arg0, 0x05))
# MBEC is an SMI entry point too
                    }
                }
            }
        }

...
            If (LGreaterEqual (\_REV, 0x02))
            {
                Store (0x01, \H8DR)
# Linux has #define ACPI_CA_SUPPORT_LEVEL 3 for _REV, so we set H8DR=1 here
            }

...
                    OperationRegion (ECOR, EmbeddedControl, 0x00, 0x0100)
                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                        HDBM,   1,
                            ,   1,
                            ,   1,
                        HFNE,   1,
                            ,   1,
                            ,   1,
                        HLDM,   1,
                                Offset (0x01),
                            ,   1,
                        BTCM,   1,
                            ,   1,
                            ,   1,
                            ,   1,
                        HBPR,   1,
                        BTPC,   1,
                                Offset (0x02),
                        SLIS,   1,
                                Offset (0x03),
                            ,   1,
                        HETE,   1,
                            ,   3,
                        HAUM,   2,
                                Offset (0x05),
...
    Method (UCMS, 1, NotSerialized)
    {
        Return (SMI (0x02, Arg0, 0x00, 0x00, 0x00))
    }
...
    Method (MBEC, 3, NotSerialized)
    {
        SMI (0x00, 0x05, Arg0, Arg1, Arg2)
    }

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-12 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-07 10:47 DMI update Jiri Kosina
2008-02-07 18:39 ` DMI update - Lenovo X61x - Region EmbeddedControl(3) has no handler Len Brown
2008-02-08 14:38   ` Jiri Kosina
2008-02-12 20:58     ` DMI update - Lenovo X61x Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox