Gentoo Archives: gentoo-user

From: Daniel Pielmeier <billie@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Scheduled wakeup from suspend to ram
Date: Sun, 10 Jan 2010 22:27:51
Message-Id: 4B4A5452.9070700@gentoo.org
In Reply to: [gentoo-user] Scheduled wakeup from suspend to ram by Frank Steinmetzger
1 Frank Steinmetzger schrieb am 10.01.2010 18:11:
2 > Hi Group
3 >
4 > one of the very last things I still need Win***s for is to wake me up in the
5 > morning: I set up a task schedule to launch a playlist with Winamp. Do you
6 > know of any way to let my laptop go on again automatically after I put it to
7 > sleep in its RAM?
8 >
9 > In case it helps: I'm running 32 bit i686, version 2.6.30.
10 >
11 > TIA
12
13 You can use the real time clock to wake up from suspend to ram.
14
15 # Set alarm to 0
16 echo 0 > /sys/class/rtc/rtc0/wakealarm
17 # Set new alarm time
18 date '+%s' -d '+5 minutes' > /sys/class/rtc/rtc0/wakealarm
19 # Suspend to ram
20 echo mem >/sys/power/state
21
22 If you don't have /sys/class/rtc/rtc0/wakealarm you need to enable rtc
23 support in your kernel.
24
25 --
26 Daniel Pielmeier

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Scheduled wakeup from suspend to ram Frank Steinmetzger <Warp_7@×××.de>