diff options
author | 2022-02-23 14:31:52 +0100 | |
---|---|---|
committer | 2022-03-02 11:43:45 +0100 | |
commit | bf8fd1a9736eaff5a5b823415e5a0d165a42e5d6 (patch) | |
tree | 7c1e0e1cb9678f7ed787a86f6de644f846b249de /scripts/generate_rust_analyzer.py | |
parent | platform/x86: x86-android-tablets: Add Lenovo Yoga Tablet 2 830 / 1050 data (diff) | |
download | wireguard-linux-bf8fd1a9736eaff5a5b823415e5a0d165a42e5d6.tar.xz wireguard-linux-bf8fd1a9736eaff5a5b823415e5a0d165a42e5d6.zip |
platform/x86: x86-android-tablets: Workaround Lenovo Yoga Tablet 2 830/1050 poweroff hang
These tablets' DSDT does not set acpi_gbl_reduced_hardware, so
acpi_power_off gets used as pm_power_off handler. Not setting
acpi_gbl_reduced_hardware may very well be correct for these tablets,
but acpi_power_off is broken on them.
Using acpi_power_off causes "poweroff" to hang hard. Requiring pressing
the powerbutton for 30 seconds *twice* followed by a normal 3 second
press to recover.
Avoid this by overriding the global pm_power_off handler to do
an EFI poweroff, which does work, instead.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220223133153.730337-5-hdegoede@redhat.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions