Hi!
I've been trying to play with different settings around nvram-wakeup and vdr. My idea of the working setup would be:
* VDR will shut down the computer ONLY when it is told so with the power-key (so VDR will continue recording if there is a timer active or coming in next few hours) * VDR will wake up if timer is to record and computer shut down * VDR will not shutdown automatically
I've managed to get the waking-up working properly, and also so that VDR will shutdown at night after the last timer has stopped, but if there is a timer in the morning and it wakes computer up, VDR also shuts down the computer, which is something I do not want.
Settings in setup.conf: MinEventTimeout = 120 MinUserInactivity = 0
So the question is: Which settings should I have to get the functionality I like?
Best Regards, Lari Tuononen
Am 24.08.2010 12:10, schrieb Lari Tuononen:
I've managed to get the waking-up working properly, and also so that VDR will shutdown at night after the last timer has stopped, but if there is a timer in the morning and it wakes computer up, VDR also shuts down the computer, which is something I do not want.
If a shutdown command is provided, and MinUserInactivity is set to 0, then VDR will never switch to non-interactive mode by itself, and thus never shuts down automatically. It does however allow to manually shut down. If VDR then wakes up close to a timer, it starts non-interactive, stays in that mode until the end of the timer, and shuts down again. The user can switch to interactive (by any key press) or to non-interactive (by pressing power button once).
You want two different things: A timer ending 'at night' should shut down VDR, a timer ending 'at day' should keep VDR running, even if there's no sign of user interaction.
Possible solutions: - Abort the shutdown script at day time (your distro may provide some hook script mechanism) - If VDR wakes up at daytime, issue a harmless key press via svdrp to switch to interactive. - Maybe some plugin like the exec plugin can be used to modify the behavior of VDR. Plugins generally have the possibility to keep VDR awake at certain times (like, for example, the whole day)
Cheers,
Udo