From 03d7f44907c39c7c32a04ae35f31763f2a117644 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 28 Oct 2023 23:40:11 +0200 Subject: [PATCH] The ACPI power-on resume event now also has the PWRBTN bit set, fixes the FIC machines after a soft shutdown and power supply detection on many other machines, including the PC Chips Aladdin's. --- src/acpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/acpi.c b/src/acpi.c index fd38bae29..55b05b2b2 100644 --- a/src/acpi.c +++ b/src/acpi.c @@ -1654,7 +1654,8 @@ acpi_reset(void *priv) } /* Power on always generates a resume event. */ - dev->regs.pmsts |= 0x8000; + // dev->regs.pmsts |= 0x8000; + dev->regs.pmsts |= 0x8100; acpi_rtc_status = 0;