[mythtv-users] ACPI Wakeup and Mythwelcome

Ian Clark mrrooster at gmail.com
Mon Jun 2 10:43:10 UTC 2008


Try setting your backend to call "sudo sh -c 'echo $time >
/proc/acpi/alarm'" directly.

ISTR having trouble with this.

The important step is to have the backend call 'mythshutdown --shutdown' to
do the actual shutdown, as this is the command that writes the expected
wakeup time to the database, without this step mythwelcome will always start
the frontend, which negates the usefullness of the wakeup/shutdown
functionality.

It also might be worth adding the seconds to the time format in backend?
I've just checked mine and it appears I am calling mythshutdown to set the
wakeup time.

2008-06-02 11:39:32.703 Running the command to set the next scheduled wakeup
time :-

/usr/local/mythtv/bin/mythshutdown --setwakeup "2008-06-02 14:48:00"

What happens if you call mythshutdown --setwakeup direct, does catting the
/proc/acpi thingy work then? What about if you add seconds?

2008/6/1 Kevin Plew <kevin at plewnet.com>:

> Folks,
>
> I'm having a problem getting my system to wakeup to do a recording after
> it shuts down automatically.
>
> My Backend log shows:
> 2008-06-01 17:27:44.486 CheckShutdownServer returned - OK to shutdown
> 2008-06-01 17:27:44.495 Running the command to set the next scheduled
> wakeup time :-
>                                                mythshutdown -w
> "2008-06-01 17:56"
> 2008-06-01 17:27:44.577 Running the command to shutdown this computer :-
>                                                mythshutdown --shutdown
>
> but checking /proc/acpi/alarm shows:
>
> [mythtv at kojiki ~]$ sudo cat /proc/acpi/alarm
> 2008-06-00 17:56:00
>
>
> The system never wakes up- I assuming due to the date being 2008-06-00
>
> My setup is as follows:
> FC8 Kernel 2.6.24.7-92.fc8
> Myth .21-187
> Asus P5B Deluxe MB
> BIOS setting wakeup by RTC- Disabled
>
>
> Myth-setup settings:
> wakeup time format: yyyy-MM-dd hh:mm
> Command to set Wakeup time: mythshutdown -w "$time"
> Server halt command: mythshutdown --shutdown
> Pre Shutdown check: mythshutdown --check
>
>
>
>
> Mythwelcome settings:
> Command to set wakeup time: sudo sh -c 'echo $time > /proc/acpi/alarm'
> Wakeup time format: yyyy-MM-dd hh:mm:ss
> nvram-wake restart command: Blank
>
> Thanks for any help.
>
>
>
> Kevin Plew
> Dad & Webmaster
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080602/baa55c05/attachment.htm 


More information about the mythtv-users mailing list