Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot manage to use rtcwake the way I want
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
augustin2
Apprentice
Apprentice


Joined: 16 Mar 2012
Posts: 180
Location: France

PostPosted: Wed Jan 30, 2013 12:22 pm    Post subject: cannot manage to use rtcwake the way I want Reply with quote

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 ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum