> Hi!
>
> With latest ACPI and patrick's patches, S1 *somehow* works. I can
> enter it, and can exit it, userland is still alive, but all hardware
> devices are dead.
>
> But patrick's code explicitely does not resume devices when returning
> from S1:
>
> if (state > ACPI_SLEEP_S1)
> pm_send_all(PM_RESUME,(void*)0);
That's because none of the devices should be asleep in S1: it's "power-on"
suspend, which means about the only thing that happens is the processor
executes 'hlt'.
> Does that mean my hardware is buggy, or is something wrong with
> interrupts?
Interrupts are enabled on the next line, and I can verify that it works
here. ;) What type of system is it?
-pat
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/