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

--- Comment #3 from Zhang Rui (rui.zh...@intel.com) ---
                Method (VBDL, 0, Serialized)
                {
                    ADBG ("VBDL")
                    PB1E |= 0x20
                    ADBG ("VBDL EN")
                    If (CondRefOf (\_SB.PWRB.PBST))
                    {
                        \_SB.PWRB.PBST = 0x00
                        Notify (\_SB.PWRB, 0x01) // Device Check
                    }

                    VBTN = 0x01
                    \_SB.PCI0.LPCB.EC.B10E = 0x01
                    RSDE = 0x01
                }

when PBST is set, we're using ACPI Power Button, PWRB._STA returns present, and
notifications are sent to PWRB device.
when PBST is cleared, PWRB is gone and the power button events are sent to
another device,
        Method (_Q75, 0, NotSerialized)  // _Qxx: EC Query, xx=0x00-0xFF
        {
            If (((OSYS >= 0x07DF) && \_SB.HIDD.BTLD))
            {
                ADBG ("Notify _HID 0xCE")
                Notify (\_SB.HIDD, 0xCE) // Hardware-Specific
            }
            ElseIf ((\_SB.PWRB.PBST == 0x01))
            {
                Notify (\_SB.PWRB, 0x80) // Status Change
                \_SB.PWRB.PBLV = 0x01
            }
        }
            Device (HIDD)
            {
                Name (_HID, "INT33D5")  // _HID: Hardware ID
                ...
            }
HIDD is the intel-hid device, so please make sure if you have intel-hid driver
is built or not (CONFIG_INTEL_HID_EVENT).

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