[mythtv-users] suspend

Hika van den Hoven hikavdh at gmail.com
Sun Jul 20 03:23:27 UTC 2014


Hoi Hika,

Sunday, July 20, 2014, 5:07:47 AM, you wrote:

> Hoi jacek,

> Sunday, July 20, 2014, 4:52:38 AM, you wrote:

>> mythbackend can be setup to shutdown and wakeup for a recording.
>> mythfrontend http://www.mythtv.org/wiki/Putting_mythfrontend_to_sleep
>>  

> Under System Event Handlers you have several custom key events. Put
> your suspend command in one of those. Than assign a keystroke to that
> keyevent. You find them under Global. Third assign that keystroke to
> your powerbutton on your remote.
> Now you can put your machine to sleep with your remote. Waking up goes
> normally by shortly pressing the machines powerbutton. In your bios
> you can often set more wake-up events.

> Two remarks. ik you use mythwelcom the systemevents don't work with
> 0.26. I haven't tried with 0.27.
> If you have an older nvidia card with nvidia-drivers 304 or earlier
> resuming might not work.

> Tot mails,
>   Hika                            mailto:hikavdh at gmail.com

About the suspend commands. If you use pm-utils like most distros, you
use:
      sudo pm-suspend
or    sudo pm-hibernate for suspend to disk (slower but uses no power)

If you use the hibernate script:
      sudo hibernate-ram
or    sudo hibernate

Those commands need root rights so you need to configure sudo to run
without password like in /etc/sudoers

%wheel ALL=(ALL) NOPASSWD: ALL

for all members of the wheel group or:

mythtv ALL=(ALL) NOPASSWD: ALL

for just the mythtv user


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list