[mythtv-users] power off and on frontend only with remote

Allan Stirling Dibblahmythml0015 at pendor.org
Sun Sep 17 20:38:53 UTC 2006


Allan Wilson wrote:
>> On 9/12/06, Allan Stirling <Dibblahmythml0015 at pendor.org> wrote:
>> The MCE remote (MCEUSB2) does send a wake-up. You need to
>> configure things correctly and probably be in STR or
>> hibernate, rather than actually switched off.
> 
> I have the MCEUSB2 remote and putting my computer in hibernate mode so any
> more details on how this works and if you are using it would be great.
> 
> Allan

Firstly, you need a motherboard that is able to power the
USB ports from +5vsb - The standby line. Quite a few are -
Check your manual.

Then you need to do the following (or similar) in one of
your startup scripts:
echo USB1 >/proc/acpi/wakeup

This sets the ACPI subsystem so it's expecting wakeups from
USB1 - You may need another number.

Then I put the PC into standby - In reality it's a bit more
complex than this, but it starts like:

echo mem >/sys/power/state

Then you *should* be able to power back on with your remote.
Various things may make it more complex - X may need stopped
before suspend and restarted afterwards, etc. Some drivers
don't handle suspend too well at all.

I'd really suggest STR rather than Hibernate - It's so much
faster to resume and the difference in power consumption
isn't too bad.

Cheers,

Allan.


More information about the mythtv-users mailing list