On Thu, Jul 30, 2009 at 10:56:57AM +0800, Matthew Garrett wrote: > On Thu, Jul 30, 2009 at 10:33:13AM +0800, Shaohua Li wrote: > > > There are patches to support both ACPI based wakeup event and PCIe native > > wakeup event in below bugzilla, but it never gets into upstream. One problem > > is how to check which device under a bridge generates a wakeup event, because > > pci devices can share a wakeup event. > > There are discussion in pm list about the patches too, please search. > > Yes, that would basically work for me. I'm still slightly curious as to > why my hardware's not giving me the correct ACPI notification, though - > I guess this may be entirely untested under Windows. IIRC, you don't need to know which GPE for wakeup. The GPE is already enabled. And all required are just to register a notifier handler (register_acpi_bus_notifier), and check the ACPI_NOTIFY_DEVICE_WAKE event. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html