lkml.org 
[lkml]   [2006]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /dev/rtc not suspending/resuming properly
Hi!

> In trying to track down a bug in an application, I think I may have
> stumbled across one in the kernel.

Well, that happens in suspend/resume area...

> It would appear that the rtc device is not restoring the state of the PIE
> control bit when the machine goes to sleep and then wakes up again,
> resulting in the rtc_dropped_irq() being called repeatedly until the
> application accessing /dev/rtc is stopped.
>
> I'm using a vanilla 2.6.17.3 kernel with the suspend2 patch only on x86
>
> I've had a pretty good look at drivers/char/rtc.c and I can't see anywhere
> it would actually suspend/resume in the code, and investigation shows it
> does not appear to re-init the hardware on resume.

Well, you probably need to write suspend/resume support for it...

Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-11 01:35    [from the cache]
©2003-2011 Jasper Spaans