[mythtv] Auto-Off Feature
Christian Hoenig
me at christianhoenig.de
Mon Nov 24 10:27:56 EST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
> I have been working on a Myth box for a few months. One of the things that
> bugged me early on is the noise and power consumption associated with
> running a Myth box. While there are some things which you can do to
> minimize these problems (I have built a PC enclosure), I still was not
> satisfied. Ideally I wanted something more like a VCR which is basically
> dormant until its needed.
>
> I started looking into whether it would be possible to shutdown the myth
> box while not in use. I soon discovered that modern bios support alarm
> wakeup from cold on x day at y time. With the help of other project
> (NVRAM-Wakeup) and some bash scripting and a small add on module to myth, I
> have now got a rudementary system with works. The basic logic that I have
> come up with as follows: The PC will now startup a few minutes before the
> next program is due to be recorded. Once the show has finished recording,
> it will calculate the next wakeup time, set the CMOS alarm and switch the
> PC off. (There is also some logic to ensure that you can view shows). Thus
> setup runs much like the VCR model.
As always, when an 'autoshutdown' feature question is raised, I come with my
patch that does that :-)
I have a patch for mythtv, that includes the shutdown/wakeup stuff into the
scheduler. It is not accepted for cvs, because a little thing is missing and
I don't know of a easy way to solve that problem. Unfortunately nobody who
said 'thats a really easy thing to do' came up with some help yet.
So thats still the state of the patch.
It works fine with a user defineble shutdown and wakeup method and works here
on my box since over a year now without problems.
The patch can be found in the -dev archives, but if anybody wants a current
version [maybe to help out with this little problem ;-) ], I will diff a new
one!
take care, have fun
/christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/wiN+mauZIX3ydQURAsM8AJ9YeNT00KdnpZlnaS5H696AfbhPzACcCw16
c2fzExdkzhrgu0tc3JSQsKs=
=0Pca
-----END PGP SIGNATURE-----
More information about the mythtv-dev
mailing list