Re: Timed wakeup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux