]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: button: Add DMI quirk for Razer Blade Stealth 13 late 2019 lid switch
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 2 Jan 2020 20:27:54 +0000 (14:27 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 7 Jan 2020 10:51:41 +0000 (11:51 +0100)
commit5e5f274116cde8c4d754c94e50a6448e12f0ad99
tree8324171a87fc280282230191a13472412f416845
parentd4f46b330cc523efd6fb99dfb35e4def34bd935c
ACPI: button: Add DMI quirk for Razer Blade Stealth 13 late 2019 lid switch

Running evemu-record on the lid switch event shows that the lid reports
the first "close" but then never reports an "open".  This causes systemd
to continuously re-suspend the laptop every 30s.  Resetting the _LID to
"open" fixes the issue.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/button.c