[mythtv-users] nvram and 0.21 doesn't work

Christopher Brüning moonkuh at gmail.com
Thu Mar 13 19:21:42 UTC 2008


Hi all i have a problem with nvram-wakeup and the new version of mythtv.
nvram-wakeup works if i use it manuell


htpc at htpc-desktop:~$ sudo -H /usr/sbin/nvram-wakeup -C /etc/nvram-wakeup.conf --directisa --settime $((`date +%s` + 20 * 60))

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    : 17 (0x11)
Minute  : 21 (0x15)
Second  : 12 (0x0C)
rtcDay  : 13 (0x13)
Checksum: 0x7CA7

Enabling (0x1B) WakeUp-on-RTC in nvram.
New Day     : 13 (0x1B)
New Hour    : 18 (0x12)
New Minute  : 34 (0x22)
New Second  : 58 (0x3A)
New rtcDay  : 13 (0x13)
New Checksum: 0x7CE3

Now really WRITING into /dev/nvram...


i have to use --directisa because without i get


htpc at htpc-desktop:~$ sudo -H /usr/sbin/nvram-wakeup -C /etc/nvram-wakeup.conf --settime $((`date +%s` + 20 * 60))
nvram-wakeup: /dev/nvram: No such file or directory



After a restart


htpc at htpc-desktop:~$ cat /proc/acpi/alarm
2008-00-13 18:34:58
show's me the correct time
Everything is working fine, but if mythwelcome and mythbackend have to
do this i only get this


2008-03-13 18:43:46.155 CheckShutdownServer returned - OK to shutdown
2008-03-13 18:43:46.177 Running the command to set the next scheduled wakeup time :-
mythshutdown --setwakeup 2008-03-13T19:13

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    : 17 (0x11)
Minute  : 21 (0x15)
Second  : 12 (0x0C)
rtcDay  : 13 (0x13)
Checksum: 0x7CA7

2008-03-13 18:43:46.440 Running the command to shutdown this computer :-
sudo -H mythshutdown --shutdown


nvram-wakeup don't put the time in the bios.
Manuelly it works, backend and mythwelcome it doesn't.
An error message would help me alot.......

Can it be this one ?
mythshutdown --setwakeup 2008-03-13T19:13
The wrong time format?
I don't know where the error is 



More information about the mythtv-users mailing list