https://bugzilla.kernel.org/show_bug.cgi?id=16292





--- Comment #9 from Bob Zhang <bob_zhang2...@tom.com>  2010-06-29 10:44:05 ---

Sometimes, sentosa can’t power off , about 2 times every 5 times, so very
easily reproduced. 
I also tried another sentosa machine : this issue is also reproduced easily (
tested 3 times, every time, can’t be power off when “shutdown –h 0”. 

Through my debugging and tracing , Linux kernel’s code
“acpi_enter_sleep_state() “ is the last function to run to control ACPI
register named “PM1 controler”. 
I know , from acpi spec4.0a , for entering S5 state, software only need to
write values(state that will enter) into SLP_TYPx and SLP_EN(set 1) . 
Now, every times, I write sames values into these registers , but sometimes
power off failure, sometimes power off successed.

Same values into registers every time, but different hardware behavior
occurred. I want to know the details after software writing registers. What
will happen for hardware 
and firmware ?  especially , after SLP_EN bit has been set , what will firmware
do next step ?

From SPEC, I know , the values written to SLP_TYPx is from \_S5 object . this
value will be done some mixed, and then written into register.
I used acpidump to dump our sentosa ‘s acpi tables ,I got \_S5 object
information:

DefinitionBlock ("SSDT17.aml", "SSDT", 2, "HP    ", "RX2800-2", 0x00000007)
{
    Scope (\)
    {
        Name (\_S5, Package (0x03)
        {
            0x07, 
            0x07, 
            Zero
        })
    }
}

1,     Could you help me check “{0x7,0x7}” is right for sentosa ?  I think
maybe it should be {0x5,0x5}
2,     Could you explain where is “{0x7,0x7} defined  , which documents will
specify them ? 
3,     Same values into registers every time, but different hardware behavior
occurred. I want to know the details after software writing registers. What
will happen for hardware 
and firmware ?  especially , after SLP_EN bit has been set , what will firmware
do next step ?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are watching the assignee of the bug.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to