[mythtv-users] Fedora 7 kernel-2.6.22 .1 ACPI wakeup

Anthony Messina amessina at messinet.com
Mon Jul 23 16:13:42 UTC 2007


after upgrading my kernel to fedora's 2.6.22.1, missing a recording early this 
morning, then reading http://lkml.org/lkml/2007/5/28/297 ...

i have altered my script for setting the acpi wakeup time in fedora to 
use /sys/class/rtc/rtc0/wakealarm as follows:

#!/bin/bash
stamp_file=/tmp/mythtv_timestamp
echo $1\ $2 > $stamp_file
# If using mythwelcome you can try the next line instead on the one above.
#echo $1 | sed "s/T/ /" >$stamp_file
# reinterpret this in seconds since 1970-01-01 00:00:00 UTC (Epoch)
epochdatum=$(/bin/date -u -f $stamp_file +%s)
echo $epochdatum > $stamp_file
rm -f $stamp_file
echo $epochdatum > /sys/class/rtc/rtc0/wakealarm

could someone with wiki access please edit 
http://www.mythtv.org/wiki/index.php/ACPI_Wakeup

hope this helps someone else NOT miss a recording.  oh well, it's just tv, but 
i do like the power saving!

-- 
Anthony -  http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20070723/97206e9a/attachment.pgp 


More information about the mythtv-users mailing list