[mythtv-users] Real Time Clock Alarm Broken with 2.6.22+ kernel

Anthony Messina amessina at messinet.com
Sat Sep 8 02:43:36 UTC 2007


On Friday 07 September 2007 08:16:45 pm Craig Huff wrote:
> On 9/7/07, Anthony Messina <amessina at messinet.com> wrote:
> > On Friday 07 September 2007 07:56:11 am Craig Huff wrote:
> > > I had done a lot of work to figure out how to get the RTC alarm to work
> >
> > in
> >
> > > FC6 on my system so
> >
> > i did the same for my fc7 system, then realized that all i needed to do
> > was
> > change the wakup time format in mythtv-settings to "time_t"
> >
> > and have my script contain:
> >
> > #!/bin/sh
> > echo 0 > /sys/class/rtc/rtc0/wakealarm
> > echo $1 > /sys/class/rtc/rtc0/wakealarm
> >
> > now it works like a charm every time.
> >
> > --
> > Anthony -  http://messinet.com - http://messinet.com/~amessina/gallery
> > 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> > Anthony,
>
> Thanks for that idea.  I had already figured out the recoding necessary
> using options to the date command to reformat the value in an update of the
> script I had posted to the list a month or two ago, but I like yours
> better.  My problem isn't so much getting the time into the right format,
> but that the system no longer will wake from suspend-to-disk (and power
> down to standby power only, essentially "off").  I'm sure the kernel
> developers would say I have a defective mobo, but I suspect they didn't do
> a very large sample of mobos.  Whatever they did to "improve" the alarm
> code broke it on my system.  That makes me %^(.
>
> Craig.

i have a "desktop" system where the user's dir is mounted via nfs4, so i can't 
suspend to anything or nfs will halt and prevent anything from happening, 
including wakeup.  i'm ok with the complete shutdown as it only takes two 
minutes to start up and be ready to record anyway.

-- 
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/20070907/ce1c1aa5/attachment.pgp 


More information about the mythtv-users mailing list