DragonFly BSD
DragonFly users List (threaded) for 2005-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ACPI suspend/resume [now working]


From: Johannes Hofmann <Johannes.Hofmann@xxxxxx>
Date: 22 Sep 2005 18:54:41 GMT

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]