Please everyone test the following diff even if video reposting *works*
for you at the moment. And everyone with a non-working video reposting
card that *isn't* nvidia contact me!

AGAIN! If suspend/resume doesn't work for you and its not NVIDIA, contact me!

Index: acpi_machdep.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/acpi_machdep.c,v
retrieving revision 1.41
diff -u -p -r1.41 acpi_machdep.c
--- acpi_machdep.c      6 Oct 2010 18:21:09 -0000       1.41
+++ acpi_machdep.c      12 Feb 2011 01:27:33 -0000
@@ -251,6 +251,10 @@ acpi_sleep_machdep(struct acpi_softc *sc
        if (sc->sc_facs->length > 32 && sc->sc_facs->version >= 1)
                sc->sc_facs->x_wakeup_vector = 0;
 
+       bcopy(acpi_real_mode_resume, (caddr_t)ACPI_TRAMPOLINE,
+           acpi_resume_end - acpi_real_mode_resume);
+       wbinvd();
+
        /* Copy the current cpu registers into a safe place for resume.
         * acpi_savecpu actually returns twice - once in the suspend
         * path and once in the resume path (see setjmp(3)).

Reply via email to