]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:36:43 +0000 (08:36 +0100)
commit4ffdfc414d8199cd0bff31ffef3cfb4bf9b7e985
treecdb84f5072bccc185ed420f85127fce02b477a25
parente9e24f2ca9a6a9193387ad9346876dacb05d0e4c
ACPI: button: Add DMI quirk for Razer Blade Stealth 13 late 2019 lid switch

[ Upstream commit 0528904926aab19bffb2068879aa44db166c6d5f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/button.c