On Sat, 20 Feb 2016 04:17:05 +0100
Noth <[email protected]> wrote:
> I installed -CURRENT on my laptop today, so far so good on the UEFI
> boot, crypto disk and wifi with .11n. Unfortunately the suspend to ram
> and hibernate options don't work... Suspend goes to suspend but wakes
> back immediately and freezes, hibernate goes to a black screen and
> freezes. I've got apmd running with -C. I've included the acpidump
> and hope it will help with any debugging.
I'm using VAIO Z. Hibernation works, but my vaio also wakes back
immediately. I have a diff to avoid this wakeup. Unhibernation works
fine.
The diff seems very bad. :)
Index: sys/dev/acpi/acpi.c
===================================================================
RCS file: /disk/cvs/openbsd/src/sys/dev/acpi/acpi.c,v
retrieving revision 1.303
diff -u -p -r1.303 acpi.c
--- sys/dev/acpi/acpi.c 14 Jan 2016 21:37:18 -0000 1.303
+++ sys/dev/acpi/acpi.c 21 Jan 2016 08:25:59 -0000
@@ -2048,6 +2048,7 @@ acpi_enable_wakegpes(struct acpi_softc *
{
struct acpi_wakeq *wentry;
+return;
SIMPLEQ_FOREACH(wentry, &sc->sc_wakedevs, q_next) {
dnprintf(10, "%.4s(S%d) gpe %.2x\n", wentry->q_node->name,
wentry->q_state,