On Saturday 05 May 2007, Alan Stern wrote: > Agreed, these all sound like problems in the ACPI driver's implementation > of suspend and resume. Problems that are caused (at least in part) by the > fact that the PM core doesn't tell the driver whether it's doing > suspend-to-RAM vs. hibernation. Once that is straighened out, everything > else should become much simpler. I'm not sure I agree with that diagnosis, but for the record: updating drivers/pci/pci-acpi.c so that it can implement the platform_pci_choose_state() hook requires ACPI to export that information. So for now I have drivers/acpi/sleep/main.c exporting s_state = acpi_get_target_sleep_state(); so that ACPI-aware code can know to call "_S3D" instead of the "_S1D" or "_S4D" methods (and "_S3W" etc). Of course the $SUBJECT patch will finish borking that for S4. :( - Dave _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm