augustin2 Tux's lil' helper

Joined: 16 Mar 2012 Posts: 94 Location: France
|
Posted: Wed Jan 30, 2013 12:22 pm Post subject: cannot manage to use rtcwake the way I want |
|
|
hi ,
I would like to have my PC (desktop) awaking twice a day when I am far from it (hollidays for example).
I wrote some scripts to manage the time the PC awakes combined with cron task.
The trouble is that when I use
| Code: | | rtcwake -m no -t $tmstp | it seems to work and I get the following message
| Quote: |
rtcwake : on considère que l'horloge matérielle utilise l'échelle UTC…
rtcwake : « wakeup » (réveil) avec /dev/rtc0 à Wed Jan 30 13:40:00 2013
Translation of line 1:
rtcwake : we consider that the hardware clock uses UTC |
but if I use
| Code: | | rtcwake -m disk -t $tmstp | or
| Code: | | rtcwake -m off -t $tmstp | I have a message telling this
| Quote: | rtcwake : on considère que l'horloge matérielle utilise l'échelle UTC…
rtcwake: échec d'ouverture : /sys/class/rtc/rtc0/device/power/wakeup: Aucun fichier ou dossier de ce type
rtcwake: /dev/rtc0 non activé pour les événements « wakeup » (réveil)
Translation of line 1: --> rtcwake : we consider that the hardware clock uses UTC
Translation of line 2 --> rtcwake : failed to open /sys/class/rtc/rtc0/device/power/wakeup : no such file or folder
Translation of line 3 --> rtcwake : /dev/rtc0 not activated for «wakeup» event.
|
How to activate /dev/rtc0 for «wakeup» events ? _________________ If you happen to meet a poor and hungry man, giving him a fish is a good and necessary action but teaching him how to fish is a far better one. Please keep this in mind when helping me. |
|