Re: [opensuse] Building a MthTV system



On Sunday 22 April 2007 11:00, Carlos E. R. wrote:
The Sunday 2007-04-22 at 10:23 -0700, Randall R Schulz wrote:
On Sunday 22 April 2007 10:08, Joseph Loo wrote:
I am thinking of building a myth tv system. I want to hibernate
my computer when it is not in use but wake up when it needs to
start recording or to use the box. Are there any programs or
facilities that allow this?

I don't think a software solution is possible. You probably need
some kind of timer hardware that can issue the necessary wake-up
inducing signals. ...

But there are exceptions: "wake on lan" ethernet cards. The card has
to be powered, at least, and I'm not sure if it will work with disk
hypernation, or only with suspended to memory mode.

An alternative, is to connect a wake up line to the other computer,
having a binary outuput card close a relay in parallel with power on
switch - the normal power on/off button doesn't really disconnect the
power, you know, so this would not be handling mains current.

All those things are, as I said, hardware-driven or -dependent.


I'd look for a mainboard and / or BIOSes that has a programmable
wake-up timer.

I wonder if there could be a way to program this from inside Linux?

If the BIOS or some mainboard or compatible add-in hardware can produce
the necessary wake-up conditions (and whatever other hardware
requirements there are for resuming from hibernation are met), then
almost certainly a driver could be written to convey the desired
wake-up time settings to that timer hardware. On top of that a simple
command-line tool and / or library routine to open that custom driver,
issue the necessary ioctls for setting and reading the timer(s) and
you've got all you need.


--
Cheers,
Carlos E. R.


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx