SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Software (http://forums.sagetv.com/forums/forumdisplay.php?f=6)
-   -   How does sagetv wake the system (http://forums.sagetv.com/forums/showthread.php?t=52760)

andyvr4 12-04-2010 12:42 AM

How does sagetv wake the system
 
Hi,

I was wondering how sagetv wakes the system from sleep. I'm sure it's using the RTC alarm, but does sage write directly to the RTC alarm or does it tell windows that it needs to wake up at a certain time and then let windows handle it?

In Windows media center I know it schedules a task to wake the system before a recording should start in the task scheduler which you could look at to confirm that it was setting the correct wake-up time, I was wondering if there was anywhere like that, that you could look at with sagetv to confirm when the system would next wake up!

I was also wondering if the system woke up to do EPG updates, or if the system is in stand-by when an EPG update is suppose to occur will the system just run the update the next time it boots up?

Thanks,
Andy

andyvr4 12-04-2010 09:11 PM

Somebody's bound to know this!

Fuzzy 12-05-2010 01:09 AM

I don't... it just works.. :-)

starfire 12-05-2010 01:45 PM

Quote:

Originally Posted by andyvr4 (Post 467425)
Hi,

I was wondering how sagetv wakes the system from sleep. I'm sure it's using the RTC alarm, but does sage write directly to the RTC alarm or does it tell windows that it needs to wake up at a certain time and then let windows handle it?

Not sure how Sage does it but there is a Windows API call to do this, SetWaitableTimer

I doubt Sage would hit the hardware RTC directly, if indeed it even could.

andyvr4 12-07-2010 08:58 AM

Quote:

Originally Posted by starfire (Post 467746)
Not sure how Sage does it but there is a Windows API call to do this, SetWaitableTimer

I doubt Sage would hit the hardware RTC directly, if indeed it even could.

I didn't realize that was an option, that does make since that Sage would use it, but I would appreciate it if somebody could confirm. I just like knowing how it's working so if something doesn't work I know better where to go and fix it!

starfire 12-07-2010 04:14 PM

The only people who know for sure are the Sage developers and I doubt they will tell


All times are GMT -6. The time now is 04:38 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.