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

Zhang Rui (rui.zh...@intel.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |rui.zh...@intel.com

--- Comment #1 from Zhang Rui (rui.zh...@intel.com) ---

I think kernel does not enumerate the Fixed power button device when PWR_BUTTON
is set to 1, so we're okay in this case.

But according to the ACPI spec about "PWR_BUTTON",
"A zero indicates the power button is handled as a fixed feature
programming model; a one indicates the power button is
handled as a control method device. If the system does not have
a power button, this value would be “1” and no power button
device would be present.
Independent of the value of this field, the presence of a power
button device in the namespace indicates to OSPM that the
power button is handled as a control method device."

So when PWR_BUTTON is 0, and there is control method power button device in
ACPI namespace, we should enumerate and probe both, right?

I have the impression that in some cases, control method power button is
needed, because the power button event is SCI -> EC GPE -> ACPI Notify(PWRB),
but I'm not sure if FADT PWR_BUTTON flag is set to 1 or not in this case.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to