[mythtv-users] nvram wakeup and myth 0.21

Christopher Brüning moonkuh at gmail.com
Sun Mar 16 13:37:44 UTC 2008


Hi

I can't get nvram-wakeup to work with mythwelcome.
If i set the time manually with nvram-wakeup it works.

The wiki (http://www.mythtv.org/wiki/index.php/Mythwelcome) says that i
must add something like this:

mythwelcome --setup --> nvram-wakeup command --> date -d "`echo $time |
sed "s/T/ /"`" +%s | xargs nvram-wakeup -s

I have to change the nvram-wakeup command to this and i hope that this
is right:


date -d "`echo $time | sed "s/T/ /"`" +%s | xargs
sudo-H /usr/sbin/nvram-wakeup -A -C /etc/nvram-wakeup.conf --directisa

in mythwelcome --setup my "Wakeup Format" is time_t

Now when the Mythbackend shutdown, i get an error that the time is wrong
and nvram-wakeup doesn't write the time in the bios.

Please can someone show me where the error is?


2008-03-16 14:22:22.228 Running the command to set the next scheduled
wakeup time :-mythshutdown --setwakeup 2008-03-16T18:08
2008-03-16 14:22:22.531 Running the command to shutdown this computer :-
sudo -H mythshutdown --shutdown
date: invalid date `1205687280'
All values are displayed as they are stored in the nvram/rtc.
(and do not correspond necessarily to the system date/time)
WakeUp  : Enabled (0x1B)
Day     : 13 (0x1B)
Hour    : 18 (0x12)
Minute  : 34 (0x22)
Second  : 58 (0x3A)
rtcDay  : 13 (0x13)
Checksum: 0x7CE3

Here it should put the time in the bios but it doesn't :(
Searching for GRUB installation directory ... found: /boot/grub






More information about the mythtv-users mailing list