ACPI suspend/resume [now working]

Johannes Hofmann Johannes.Hofmann at gmx.de
Thu Sep 22 11:54:41 PDT 2005


After playing around a little, I found that the following patch makes 
suspend/resume work:



Index: i386/acpica5/acpi_wakeup.c
===================================================================
RCS file: /home/dcvs/src/sys/i386/acpica5/acpi_wakeup.c,v
retrieving revision 1.7
diff -u -r1.7 acpi_wakeup.c
--- i386/acpica5/acpi_wakeup.c  15 Feb 2005 20:06:50 -0000      1.7
+++ i386/acpica5/acpi_wakeup.c  22 Sep 2005 18:36:16 -0000
@@ -277,6 +277,7 @@
 #if 0
                initializecpu();
 #endif
+               icu_reinit();
                cpu_enable_intr();
 
                if (bootverbose) {




icu_reinit() has been in previous FreeBSD versions of acpi_wakeup.c.

I am not sure, whether this is the right way to fix it though.

  Johannes





More information about the Users mailing list