[mythtv-users] ACPI Wakeup and Mythwelcome
mrrooster at gmail.com
Mon Jun 2 10:43:10 UTC 2008
Try setting your backend to call "sudo sh -c 'echo $time >
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
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
2008-06-02 11:39:32.703 Running the command to set the next scheduled wakeup
/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>:
> 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 220.127.116.11-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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users