NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-i386/44581: MacBook1,1 won't resume after suspend
On Wed, Feb 16, 2011 at 06:00:09PM +0000, Taylor R Campbell wrote:
> This is kind of shot in the dark, but can you try the following small
> patch?
>
> No dice -- same interrupt storm.
Another one attached.
This is based on the following Linux bug report that sounds awfully similar:
https://bugzilla.kernel.org/show_bug.cgi?id=6670
Len Brown from Intel concludes therein that this would be a BIOS bug.
Index: acpi_wakeup.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/acpi/acpi_wakeup.c,v
retrieving revision 1.27
diff -u -p -r1.27 acpi_wakeup.c
--- acpi_wakeup.c 13 Jan 2011 03:45:38 -0000 1.27
+++ acpi_wakeup.c 16 Feb 2011 18:23:00 -0000
@@ -342,6 +342,11 @@ acpi_md_sleep(int state)
inittodr(time_second);
/*
+ * A workaround for broken BIOS.
+ */
+ (void)AcpiWriteBitRegister(ACPI_BITREG_SCI_ENABLE, 1);
+
+ /*
* Clear fixed events (see e.g. ACPI 3.0, p. 62).
* Also prevent GPEs from misfiring by disabling
* all GPEs before interrupts are enabled. The
Home |
Main Index |
Thread Index |
Old Index