Re: Upgrade 2.6.11 with VDR nvram-wakeup does not wakeup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sergei.Haller@xxxxxxxxxxxxxxxxxxx(Sergei Haller)  30.05.05 00:45


>On Sat, 28 May 2005, Rainer Zocholl (RZ) wrote:

RZ>> nvram-wakeup shuts down the box gracefully, but the box does not
RZ>> wake up anymore!
RZ>>
RZ>> I am using the CSV verion of nvram-wakeup and did not had that
RZ>> problem with 2.4.29 on teh same board and same conf.

>it's the new kernel.

>more precisely, it is the particular version of the ACPI or APM driver
>in the kernel.

The APM part of the BIOS is not detected anymore.
So it's only ACPI.


>when you shutdown your PC, the halt command (ACPI or APM) is called,
>which switches off the PC.

>some boards do not wake up at all if you shutdown them using acpi.
>some boards do not wake up at all if you shutdown them using apm.

>some boards do not wake up at all if you shutdown them using some
>particulat versions of acpi/apm.

>See second reboot problem in README.reboot in the nvram-wakeup
>package.

I am trying this lines below to set the wakup event and 
it works only if i disable the "kill part" with hwclock!
So i assume the problem is "hwclock".


#!/bin/sh
LOGGER='logger -t pwroff'
WAKETIME=`date -d "1970-01-01 $1 sec -5 min" +"%Y-%m-%d %H:%M:%S"`
WAKEUPCMD=`echo $WAKETIME > /proc/acpi/alarm`
$WAKEUPCMD
ALARM=`cat /proc/acpi/alarm`
echo "$ALARM" | $LOGGER
#check if someone is logged on ommited
shutdown -h now


Rainer



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux