Timed wakeup?

Mikkel L. Ellertson mikkel at infinity-ltd.com
Fri Nov 30 16:47:11 UTC 2007


Ingemar Nilsson wrote:
> Hi,
> 
> I would like to know if there is any way to schedule a timed wakeup from
> sleep/suspend mode, like the "Wake the computer to run this job" option
> in the Windows XP Scheduled Tasks. I'm using my desktop as a Personal
> Video Recorder, and this works very well in Windows XP. Since I'm
> running dual-boot with Fedora 7, I was thinking that I might try to
> figure out how to do the same thing under Fedora. Is it even possible?
> 
> Regards
> Ingemar
> 
You will have to do some research, but you can probably do it using
the hardware clock's alarm function. You would have to set the alarm
time, and enable the alarm. I have not played with it, but I suspect
you may be able to do something like write the correct values to
either /proc/driver/rtc or /dev/rtc. On my system, I get this when
reading /proc/driver/rtc:

rtc_time        : 16:44:48
rtc_date        : 2007-11-30
alrm_time       : 11:47:49
alrm_date       : ****-**-**
alarm_IRQ       : no
alrm_pending    : no
24hr            : yes
periodic_IRQ    : no
update_IRQ      : no
DST_enable      : no
periodic_freq   : 1024
batt_status     : okay

acpitool has options for turning on and off wakup devices, but I did
not see the alarm listed as one of the devices.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071130/a26599f4/attachment-0001.sig>


More information about the fedora-list mailing list