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

            Bug ID: 191211
           Summary: Razer Blade Stealth laptop fails to send lid open on
                    suspend resume
           Product: ACPI
           Version: 2.5
    Kernel Version: 4.9
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Power-Sleep-Wake
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

The Razer Blade Stealth (2016 Kaby Lake) laptop fails to send lid open on
suspend resume. A work-around is to close-and-reopen the lid a second time
immediately after opening the lid before userspace re-initiates suspend. This
would seem to indicate that the lid open event isn't being sent by the platform
AML (based on my reading of
https://www.kernel.org/doc/Documentation/acpi/acpi-lid.txt). evtest never shows
the open event arriving (unless doing the workaround above):

$ sudo evtest /dev/input/event0
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x5 version 0x0
Input device name: "Lid Switch"
Supported events:
  Event type 0 (EV_SYN)
  Event type 5 (EV_SW)
    Event code 0 (SW_LID) state 1

$ sudo cat /proc/acpi/button/lid/LID0/state 
state:      closed

This bug will track implementing an in-kernel work-around.

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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to