public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI S1 and keyboard
@ 2001-07-10 21:50 Pavel Machek
  2001-07-11 16:34 ` Patrick Mochel
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2001-07-10 21:50 UTC (permalink / raw)
  To: ACPI mailing list, kernel list

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);

Does that mean my hardware is buggy, or is something wrong with
interrupts?

								Pavel
-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ACPI S1 and keyboard
  2001-07-10 21:50 ACPI S1 and keyboard Pavel Machek
@ 2001-07-11 16:34 ` Patrick Mochel
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Mochel @ 2001-07-11 16:34 UTC (permalink / raw)
  To: Pavel Machek; +Cc: ACPI mailing list, kernel list


On Tue, 10 Jul 2001, Pavel Machek wrote:

> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-11 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-10 21:50 ACPI S1 and keyboard Pavel Machek
2001-07-11 16:34 ` Patrick Mochel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox