LinHES Forums
http://forum.linhes.org/

Suspend (or hibernate) when power button pressed?
http://forum.linhes.org/viewtopic.php?f=25&t=24856
Page 1 of 1

Author:  wesmorrison [ Thu Jul 18, 2019 8:38 pm ]
Post subject:  Suspend (or hibernate) when power button pressed?

How are ACPI events configured for LinHES?

I'd like the physical power button to suspend (or one of the alternate modes, hibernate, hybrid sleep) instead of powering down. And of course have the machine be able to wake itself for recordings.

Author:  brfransen [ Fri Jul 19, 2019 8:41 am ]
Post subject:  Re: Suspend (or hibernate) when power button pressed?

ACPI events are defined in /etc/acpi/handler.sh. Having it wake for recordings when the button has been pressed would require setting the wakeup time before suspending. Some of the scripts for mythwelcome might help in that.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/