Can I request a suspend/sleep function for libreelec on the Wetek Play please so that the box goes into suspend/sleep mode but wakes up to make a scheduled recording. Currently you have to leave the box on permanently if you want to use it as a DVR as if you switch it off via the remote it doesn't wake up. I believe it should be possible using software because all the enigma2 images I tested on the Wetek Play had this functionality.
Thanks in advance.
Suspend/sleep for Wetek Play
-
Bobby_Lockwood -
May 4, 2016 at 1:53 PM -
Thread is Unresolved
-
-
*sign*
__________________________ -
good idea!
-
It's important.
-
Oh, I thought that this is an hardware issue, but if if the enigma2 images can do the job it would be really nice if LE would support it, too.
-
Well, it is a hardware issue. As far as I understand there is no hardware clock to wake the system up at a specific time. Neither is WOL possible.
What should work - and I think emigma is doing just that - to stop all "unnecessary" processes, send a "CEC-standby" message ... and maybe set the LED in front to a specific config (e.g. power: red/blue, LAN and WLAN to yellow).
When the right time comes you "restart" the device - for a first proof of concept a simple reboot would be quick but dirty.
Sufficient for a POV, but would also turn the TV on via CEC. Linux can do better than that.
The right way would be to start all the necessary processes again in time for the recording, but avoid sending a CEC-command to turn the TV on.
If a "switch on command" is received the same sequence to start everything is initiated again, but with the CEC-command. Except if you already have started a recording. In that case you only need to switch the TV on via CEC.Don't know if it is possible to stop any output to HDMI, while recording (KODI and all necessary drivers are up). Otherwise if somebody (wife, hsuband, kids) switches the TV on, they might be confused.
-
High level, set timer and initiate standby:
enigma2-wetek/Standby.py at 0a6ff15b712d5f94ed4f00a9e9514c59246d999c · openhdf/enigma2-wetek · GitHubLow level - configs the CPU for standby:
linux-wetek-3.14.y/suspend.h at 9b1e857000d24b66a87ff8bd5a843ac7cbddca6a · wetek-enigma/linux-wetek-3.14.y · GitHubWon't be available the next two or three weeks, maybe someone else has time to dig into that.
/usr/lib/standby.sh should also be interesting. -
High level, set timer and initiate standby:
enigma2-wetek/Standby.py at 0a6ff15b712d5f94ed4f00a9e9514c59246d999c · openhdf/enigma2-wetek · GitHubLow level - configs the CPU for standby:
linux-wetek-3.14.y/suspend.h at 9b1e857000d24b66a87ff8bd5a843ac7cbddca6a · wetek-enigma/linux-wetek-3.14.y · GitHubWon't be available the next two or three weeks, maybe someone else has time to dig into that.
/usr/lib/standby.sh should also be interesting.I think the header file you linked to is pretty much useless, as it is for SH (SuperH) processors and not for arm ones.
-
- Official Post
I think it would be better to implement something like what popcornmix is using in his experimental RPi branch
-
I think it would be better to implement something like what popcornmix is using in his experimental RPi branchWhat I miss is a WOL function to integrate my media center properly into my home automation. I don't know if it would be technically possible to do that, but if, then alot of the function would be the same. With the difference that CEC commands would be wanted here.
-
- Official Post
Just leave it on
-
Just leave it onThis is so 2001...