Re: Proper way to invoke suspend?

From: Rafael J. Wysocki
Date: Fri Mar 21 2008 - 17:05:51 EST


On Saturday, 22 of March 2008, Kristoffer Ericson wrote:
> Rafael,

Hi,

> Been looking around for examples, but obviously something I don't understand.
> Currently I set apm_queue_event(APM_USER_SUSPEND) inside the power button interrupt, this does nothing.
>
> However if I cat the state, it goes into suspend. Resume fails but thats another question.

Well, I have a little experience with APM. If you told me some more details
about what you're after, that would be helpful.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/