Re: [vdr] VDR and ACPI wakeup for recording

2010-06-01 Thread Eric Valette



Ok thanks. Got it.

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


Re: [vdr] VDR and ACPI wakeup for recording

2010-05-31 Thread Hanno Zulla
Hi,

> Read:
> http://www.vdr-portal.de/board/archive/75121/thread.html where the guy
> complains about not having the wakeup file

That thread is two years old.

> or please post your own
> script (or the link) especially the part that writes the
> 
> WAKEUP_FILE="/var/cache/vdr/acpiwakeup.time".

This is done in /usr/share/vdr/shutdown-hooks/S90.acpiwakeup, which is
called by vdr upon exiting.

> Readding the scripts I do not know what part of the software is going to 
> write 
> /var/cache/vdr/acpiwakeup.time and also I shall manually set wake up time in 
> the config file.
> 
> What I would like is using the stored planned recording information to 
> automatically deduce the next wakeup time.

Please read the section "automatic shutdown" from vdr's source here:



This will explain how Tobi's script learns the parameters.

Regards,

Hanno

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


Re: [vdr] VDR and ACPI wakeup for recording

2010-05-31 Thread Pertti Kosunen

On 31.5.2010 16:04, Eric Valette wrote:

...

Stop that html-crap, please.

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


Re: [vdr] VDR and ACPI wakeup for recording

2010-05-31 Thread Eric Valette

On 05/31/2010 04:22 PM, Steffen Barszus wrote:

Eric Valette wrote:

On 05/31/2010 03:58 PM, Gerald Dachs wrote:



However,
could you explainwhat  part of the software creates
"/var/cache/vdr/acpiwakeup.time". Is it automatic as soon as you have
scheduled recordings?
It is written by the script S90.acpiwakeup that is called from the 
vdr on

shutdown.
As I read the scrip given in the link there is no way to use the 
scheduled recording time to automatically deduce the next wakeup time. 

vdr provides the time in UTC unix time to the script as first parameter.

Or should a take a break or coffee?

yes
Not the script given in the link that has been posted. Care to point to 
a more recent/different version?


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


Re: [vdr] VDR and ACPI wakeup for recording

2010-05-31 Thread Steffen Barszus

Eric Valette wrote:

On 05/31/2010 03:58 PM, Gerald Dachs wrote:



However,
could you explainwhat  part of the software creates
"/var/cache/vdr/acpiwakeup.time". Is it automatic as soon as you have
scheduled recordings?


It is written by the script S90.acpiwakeup that is called from the vdr on
shutdown.
  
As I read the scrip given in the link there is no way to use the 
scheduled recording time to automatically deduce the next wakeup time. 

vdr provides the time in UTC unix time to the script as first parameter.

Or should a take a break or coffee?

yes

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


Re: [vdr] VDR and ACPI wakeup for recording

2010-05-31 Thread Eric Valette

On 05/31/2010 03:58 PM, Gerald Dachs wrote:

On 05/31/2010 03:14 PM, Hanno Zulla wrote:
 

Hi,


   

  1) Has this already been integrated to vdr?

 

A working ACPI wakeup script was written by Tobi in 2003 and has been
maintained by him as a debian package since then:



It works nicely on my system, after turning off HPET on boot.

   

Thank for this part of the script. Job is half done at least.
 

I use it already for years and didn't notice that something is missing.
Could you please enlighten me what is missing?
   

Read:
http://www.vdr-portal.de/board/archive/75121/thread.html where the guy 
complains about not having the wakeup file or please post your own 
script (or the link) especially the part that writes the


WAKEUP_FILE="/var/cache/vdr/acpiwakeup.time".

Readding the scripts I do not know what part of the software is going to write
/var/cache/vdr/acpiwakeup.time and also I shall manually set wake up time in 
the config file.

What I would like is using the stored planned recording information to 
automatically deduce the next wakeup time.

-- eric









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


Re: [vdr] VDR and ACPI wakeup for recording

2010-05-31 Thread Eric Valette

On 05/31/2010 03:58 PM, Gerald Dachs wrote:



However,
could you explainwhat  part of the software creates
"/var/cache/vdr/acpiwakeup.time". Is it automatic as soon as you have
scheduled recordings?
 

It is written by the script S90.acpiwakeup that is called from the vdr on
shutdown.
   
As I read the scrip given in the link there is no way to use the 
scheduled recording time to automatically deduce the next wakeup time. 
Or should a take a break or coffee?


-- eric

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


Re: [vdr] VDR and ACPI wakeup for recording

2010-05-31 Thread Eric Valette

On 05/31/2010 03:14 PM, Hanno Zulla wrote:

Hi,

   

 1) Has this already been integrated to vdr?
 

A working ACPI wakeup script was written by Tobi in 2003 and has been
maintained by him as a debian package since then:



It works nicely on my system, after turning off HPET on boot.
   
Thank for this part of the script. Job is half done at least. However, 
could you explainwhat  part of the software creates 
"/var/cache/vdr/acpiwakeup.time". Is it automatic as soon as you have 
scheduled recordings?


-- eric

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


Re: [vdr] VDR and ACPI wakeup for recording

2010-05-31 Thread Hanno Zulla
Hi,

> 1) Has this already been integrated to vdr?

A working ACPI wakeup script was written by Tobi in 2003 and has been
maintained by him as a debian package since then:



It works nicely on my system, after turning off HPET on boot.

Regards,

Hanno

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


[vdr] VDR and ACPI wakeup for recording

2010-05-31 Thread Eric Valette

Hi klaus,

I was trying to wake up my small PC for automatic recording and 
initially found things about nvram-wakeup program but found it was not 
supported nor available in my BIOS. Then I found




and I checked that this method works on the tree PC I have. Now the 
question I have are:

1) Has this already been integrated to vdr?
2) is there interest for it

I guess that the best way to do it is to have vdr export the next 
recording time, and that unless a timer for wakeup is already set it, it 
use this value in shutdown script.


Any comment?

-- eric

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