Re: ACPI OSI disaster on latest HP laptops - critical temperature shutdown

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Henrique de Moraes Holschuh <hmh@...>
Cc: Len Brown <lenb@...>, Thomas Renninger <trenn@...>, Arjan van de Ven <arjan@...>, linux-acpi <linux-acpi@...>, Moore, Robert <robert.moore@...>, Linux Kernel Mailing List <linux-kernel@...>, Andi Kleen <ak@...>, Christian Kornacker <ckornacker@...>
Date: Saturday, August 2, 2008 - 11:41 am

On Sat, Aug 02, 2008 at 11:38:33AM -0300, Henrique de Moraes Holschuh wrote:


As an example, here's a section from the T61:

                    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)
                    }

And then later:

           If (LAnd (\WXPF, LGreaterEqual (\WSPV, 0x01)))
            {
                PPMS (0x02)
            }

The only way WXPF can be non-zero and WSPV can be greater or equal to 
one is if more than one of those tests succeeded.


Allowing vendors to special-case Linux means that we have to have a 
special-case path for the minority of vendors who ask for this. It's 
added complexity and we don't actually gain anything from it.

-- 
Matthew Garrett | mjg59@srcf.ucam.org
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: ACPI OSI disaster on latest HP laptops - critical temper..., Henrique de Moraes Holschuh..., (Fri Aug 1, 6:36 pm)
Re: ACPI OSI disaster on latest HP laptops - critical temper..., Henrique de Moraes Holschuh..., (Sat Aug 2, 10:38 am)
Re: ACPI OSI disaster on latest HP laptops - critical temper..., Matthew Garrett, (Sat Aug 2, 11:41 am)
Re: ACPI OSI disaster on latest HP laptops - critical temper..., Henrique de Moraes Holschuh..., (Sat Aug 2, 1:49 pm)
Re: ACPI OSI disaster on latest HP laptops - critical temper..., Henrique de Moraes Holschuh..., (Sat Aug 2, 10:51 am)