On Wed, 20 Jun 2007, Rafael J. Wysocki wrote: > > Not. Could pm_message_t have a member indicating the suspend state? > > Well, I thought about that, but I did't know what people on linux-pm would > think about that. > > Alternatively, we could introduce a pm_target() global PM operation that will > set the target sleep state for the entire system. > > I think we should discuss that on linux-pm before any decision is made. Pardon me for asking what may be a dumb question. Why does ACPI (or anything else) need to know the target system state in order to decide how a device should be suspended or whether wakeup should be enabled? Alan Stern - 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