1 |
Am Sonntag, 10. Januar 2010 schrieb Daniel Pielmeier: |
2 |
> Frank Steinmetzger schrieb am 10.01.2010 18:11: |
3 |
> > Hi Group |
4 |
> > |
5 |
> > one of the very last things I still need Win***s for is to wake me up in |
6 |
> > the morning: I set up a task schedule to launch a playlist with Winamp. |
7 |
> > Do you know of any way to let my laptop go on again automatically after I |
8 |
> > put it to sleep in its RAM? |
9 |
> > |
10 |
> > In case it helps: I'm running 32 bit i686, version 2.6.30. |
11 |
> > |
12 |
> > TIA |
13 |
> |
14 |
> You can use the real time clock to wake up from suspend to ram. |
15 |
> |
16 |
> # Set alarm to 0 |
17 |
> echo 0 > /sys/class/rtc/rtc0/wakealarm |
18 |
> # Set new alarm time |
19 |
> date '+%s' -d '+5 minutes' > /sys/class/rtc/rtc0/wakealarm |
20 |
> # Suspend to ram |
21 |
> echo mem >/sys/power/state |
22 |
> |
23 |
> If you don't have /sys/class/rtc/rtc0/wakealarm you need to enable rtc |
24 |
> support in your kernel. |
25 |
|
26 |
Thanks for the hint, that sounds promising. However, I didn’t |
27 |
have /sys/classes/rtc and since I didn’t know what I need for my ICH-7 |
28 |
chipset, I compiled everything I could find under Device Drivers/RTC. Then I |
29 |
loaded all those modules, but apart from an empty directory /sys/classes/rtc, |
30 |
the only reaction at all that I got in my syslog was: |
31 |
|
32 |
kernel: rtc_cmos: probe of 00:07 failed with error -16 |
33 |
|
34 |
:( |
35 |
Well, I’ll dig into it further... |
36 |
-- |
37 |
Gruß | Greetings | Qapla' |
38 |
"I decided to go on a strict diet. I cut out alcohol, all fats |
39 |
and sugar. In two weeks I lost 14 days." - Tim Maia |