[coreboot] rtc wake up does not work on ASUS M2V-MX SE

Rudolf Marek r.marek at assembler.cz
Tue Apr 19 20:24:35 CEST 2011


Hi

I think two things are missing:

1) Paste this into the dsdt table:

                                 Device(RTC0) {
                                         Name(_HID, EISAID("PNP0B00"))   /* AT 
Real Time Clock (not PIIX4 compatible) */
                                         Name(_CRS, ResourceTemplate() {
                                                IRQNoFlags(){8}
                                            IO(Decode16,0x0070, 0x0070, 0, 2)
                                         })
                                 } /* End Device(_SB.PCI0.LpcIsaBr.RTC0) */

Now the RTC device should be visible. Second problem is that a wakeup event is 
not enabled. This can be fixed most likely here:

Index: lpc.c
===================================================================
--- lpc.c	(revision 6474)
+++ lpc.c	(working copy)
@@ -237,6 +237,9 @@
  	printk(BIOS_DEBUG, "SLP_TYP type was %x %x\n", tmp, acpi_slp_type);
  #endif

+	/* enable power button wakeup and from RTC */
+	outb(0x5, VT8237R_ACPI_IO_BASE + 0x3);
+
  	/* All SMI on, both IDE buses ON, PSON rising edge. */
  	outw(0x1, VT8237R_ACPI_IO_BASE + 0x2c);


Completely untested but might even work.
Please let me know if it works for you,

Thanks,
Rudolf




More information about the coreboot mailing list