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

            Bug ID: 204763
           Summary: Powerbutton press not recognized on Lenovo X1 Tablet
                    2nd gen
           Product: ACPI
           Version: 2.5
    Kernel Version: 5.2.11
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: EC
          Assignee: acpi...@kernel-bugs.osdl.org
          Reporter: jschm...@posteo.de
        Regression: No

Created attachment 284809
  --> https://bugzilla.kernel.org/attachment.cgi?id=284809&action=edit
Original DSDT file

Pressing the powerbutton of the tablet device does not get registered or
handled by the system. There is no event dispatched as confirmed via
acpi_listen.

You can get it to work for sleep, but not wakeup when you set the kernel
parameters "acpi_osi" and "acpi_os_name" to "Linux", but it breaks the
digitizer (and possibly more) by doing so.

By extracting and disassembling the DSDT I was able to narrow it down to the
variable "\_SB.PWRB.PBST" being set to 0x00 and all further checks for the
powerbutton fall through.

Here is my rigged version of the code dsdt.dsl I am able to recompile and it
does indeed provide the functionality:
https://gist.github.com/jschmidt-1/43f39d680df00b92a0025568ac957d56

Additionally here is the dmesg output: http://ix.io/1Ubn

Since I do not know how to properly create a patch for the kernel and how to
fix the underlying issue I am opening this ticket.

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