[mythtv-users] Suspend frontend from MCE remote

David Edwards david at more.fool.me.uk
Mon Oct 8 16:24:04 UTC 2012


On 8 October 2012 10:49, Josu Lazkano <josu.lazkano at gmail.com> wrote:
> I want to suspend the frontend and switch off the TV, I think I have
> two options for the TV switch OFF:

My TV has an RS-323 port that I use to control it over a serial cable.

> I normally use irsend to switch off the TV, but I don't know to switch
> on when the frontend is on suspend mode.

Are you asking how to make the the remote wake up the computer? That's done
typically by setting up Wake on USB. Or are you asking how to turn on the
TV upon resume? A script in sleep.d is how I do that; they get executed on
resume too, with case statements to distinguish between sleep and resume.

In fact, you could put the commands to turn off the TV in the same script
in the sleep section, and have the power button on your remote just call
the suspend command. Then its consistent and symmetrical.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121008/726c3669/attachment.html>


More information about the mythtv-users mailing list