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)
commit0528904926aab19bffb2068879aa44db166c6d5f
tree8324171a87fc280282230191a13472412f416845
parentc79f46a282390e0f5b306007bf7b11a46d529538
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