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

            Bug ID: 187271
           Summary: Lid does not "open" after suspend to RAM  - Razer
                    Blade Stealth 2016
           Product: ACPI
           Version: 2.5
    Kernel Version: 4.8.6-1-ARCH
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Power-Sleep-Wake
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

My system is set up to suspend to ram on a lid close event. The lid state
transitions from "open" to "closed" correctly the first time (and the system
suspends), but after resuming from suspend by opening the lid, the lid state
does not change back to "open". Needless to say, closing the lid once again
does not induce a suspend.

Opening the lid now, while the system is NOT sleeping, causes ACPI to notice
and register the "open" event. Closing the lid once more successfully suspends
the machine again. The behavior is reproducible every other attempt. Everything
seems to indicate that ACPI drops or discards the lid open event from the EC
when coming up from sleep.

If I run `acpi_listen` with all lid events disabled (no suspend action), I see
both the "open" and "close" events successfully recorded multiple times. It is
only when I successfully suspend to ram then try to wake that my lid "open"
event gets dropped.

The problem is very similar to this issue documented on LKML in 2014:
https://lkml.org/lkml/2014/3/25/196

I am reading the lid state from /proc/acpi/button/lid/LID0/state and using
acpid to set up and test lid open/close triggers.

If lends any credence to the story, the Arch linux wiki seems to agree with me:
https://wiki.archlinux.org/index.php/Razer#Suspend_Loop
**Note that their "workaround" here does not actually solve the problem.

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

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to