Re: [vdr] Incorrect wakeup time

2009-04-25 Thread Udo Richter
On 22.04.2009 14:43, Falk Spitzberg wrote:
> while playing with ACPI wakeup, i noticed that VDR always sets a
> wakeuptime of now+30 minutes, when the timeframe from 'now' to 'begin of
> next recording' is less than 30 Minutes.
>
> Is that intended behaviour?

It is, for two reasons:

- The next wakeup time may be very shortly in the future, and the PC may 
not have shut down until then. As a result, the PC will never wake up 
again, no matter how many timers there will be.

- You insisted to shut down, so you probably have a good reason for it. 
Maybe you're about to work on hardware, and as a real man you never pull 
the plug. Would you be happy if the PC suddenly woke up?

Cheers,

Udo



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Incorrect wakeup time

2009-04-22 Thread H. Langos
Hi Falk,

On Wed, Apr 22, 2009 at 02:43:07PM +0200, Falk Spitzberg wrote:
> Hello,
> 
> while playing with ACPI wakeup, i noticed that VDR always sets a
> wakeuptime of now+30 minutes, when the timeframe from 'now' to 'begin of
> next recording' is less than 30 Minutes.
> 
> Is that intended behaviour?

Apparently it is:

INSTALL:
> If a timer is currently recording, or a recording would start within the
> next 30 minutes (default for the "Min. event timeout" setup parameter), and
> the user insists in shutting down now, the first and second parameter will
> correspond to a time that is "Min. event timeout" minutes in the future.

I walked into the same trap when first playing with the automatic shutdown.
Maybe the syslog output could be improved to indicate if somebody hits this
limit.

cheers
-henrik





___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Incorrect wakeup time

2009-04-22 Thread Falk Spitzberg
Hello,

while playing with ACPI wakeup, i noticed that VDR always sets a
wakeuptime of now+30 minutes, when the timeframe from 'now' to 'begin of
next recording' is less than 30 Minutes.

Is that intended behaviour?
-- 
Falk Spitzberg
Tel: +49 5242 901626
E-Mail: p...@spitzberg.de


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr