https://bugzilla.kernel.org/show_bug.cgi?id=73161
Bug ID: 73161
Summary: Lid opening not detected after resume on samsung
laptop
Product: ACPI
Version: 2.5
Kernel Version: 3.13.7
Hardware: i386
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: EC
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Since the upgrade from kernel 3.13.6 to kernel 3.13.7, the lid opening is not
detected after opening the screen to resume. Downgrading solves the problem. It
seems to be due to the following patch:
ACPI / EC: Clear stale EC events on Samsung systems
commit ad332c8a45330d170bb38b95209de449b31cd1b4 upstream.
Some precision:
- My laptop is a Samsung N210, running ArchLinux i686
- I have another laptop (a Dell) running the same OS (but in 64 bits) and the
lid switch works perfectly
- My power manager is systemd-logind
Test case:
- Start the computer
- Suspend the laptop by closing the lid (other way of suspending doesn't affect
the system)
- When the laptop wake-up (after opening the screen), the lid state (cat
/proc/acpi/button/lid/LID0/state) is still closed
- This causes the power manager to suspend again the laptop, and suspend it
again after the next resume and so on
- In the logs, I can find the following message after the first resume:
ACPI: EC: 1 stale EC events cleared
- Then if I disable the power manager, close the screen for a few seconds and
open it, the lid state goes back to open
It seems that the screen opening event is cleared by the function acpi_ec_clear
after resume, and the following events are ignored.
--
You are receiving this mail because:
You are watching the assignee of the bug.
------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla