Proper way to invoke suspend?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kristoffer Ericson
Date: Friday, March 21, 2008 - 8:30 pm

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@Gmail.com>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Proper way to invoke suspend?, Rafael J. Wysocki, (Fri Mar 21, 2:05 pm)
Proper way to invoke suspend?, Kristoffer Ericson, (Fri Mar 21, 8:30 pm)
Re: Proper way to invoke suspend?, Pavel Machek, (Sat Mar 22, 8:17 am)