Proper way to invoke suspend?

From: Kristoffer Ericson
Date: Fri Mar 21 2008 - 15:29:28 EST


Rafael,

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.

Best Wishes
--
Kristoffer Ericson <Kristoffer.Ericson@xxxxxxxxx>
--
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/