Does anyone use ACPI suspend with xmbc running on a mythtv-backend?
I currently have mythfrontend setup so that when it exits I get back to mythwelcome and mythbackend then will run a mythsuspend script to do suspend to RAM.
The important thing though is that it programs my RTC clock so that it wakes up in time for the next recording schedule.
I'm removing mythfrontend and running xbmc instead as a frontend, but I'm going to guess that if I just use XBMC's suspend feature, it will just suspend and my PC will not wake up for its next recording.
How does one do ACPI suspend with xbmc on a PC that is also running a myth backend?
Thanks,
Marc
xbmc ACPI suspend with xmbc running on a mythtv-backend?
marcmerlin
Junior Member Posts: 25 Joined: Mar 2012 Reputation: 0 |
2012-03-31 07:30
Post: #1
|
| find quote |
teeedubb
Member+ Posts: 739 Joined: Mar 2010 Reputation: 11 Location: Down Under |
2012-04-01 06:58
Post: #2
I dont have a combined back/frontend but I use a backend with with acpi suspend and rtc wakeup. You can have mythbackend run a script that will run a few checks (for downloads/used shares/certain programs) and if there is no output from the commands within the script myth-backend suspends the machine. Here is the script I use, which I found on these forums somewhere so it contains an command to check if xbmc is running.
Code: cat /usr/bin/mythshutdown-check.sh Ive made some changes and have commented out what Im not using. Im thinking you could have xbmc exit on pressing the power button and automatically after X minutes of idle. I know myth-welcome can detect if a machine has been woken for a recording or by a user and launch the frontend based on that, but I think that a mythtv frontend wont shutdown automatically (I could be wrong, Ive just begun setting up a be/fe machine for my parents) so I dont know if theres much point trying to integrate xbmc into mythwelcome, just have xbmc launched on resume and close after X mins idle. XBMC Steam Launcher - Only available for XBMC. |
| find quote |
marcmerlin
Junior Member Posts: 25 Joined: Mar 2012 Reputation: 0 |
2012-04-08 07:20
Post: #3
Thanks for your tips, they are quite helpful.
In my case, I have an edge: when I shut off my TV/receiver, I can have that send a command to my HTPC, so it can suspend based on that. Cheers, Marc |
| find quote |

Search
Help