Implementing num_secs_to_wakeup support

Richard Hughes hughsient at
Mon Aug 4 23:58:27 PDT 2008

On Mon, 2008-08-04 at 17:51 -0500, Gabriel Burt wrote:
> Would the best way to fix this be to modify pm-utils/functions to look
> for an environment variable, say $PM_NUM_SECS_TO_WAKEUP, and use
> rtcwake to do the suspend/hibernate/etc if it's set?

Yes, the problem is the poor support for wakeup on different hardware.
Some hardware wakes up at the wrong time, some just doesn't wake up, and
the minority actually do wake up at the right time.

It's a tricky problem.


More information about the hal mailing list