From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by ozlabs.org (Postfix) with ESMTP id 2FB62DDED4 for ; Mon, 27 Aug 2007 09:21:57 +1000 (EST) Received: by wa-out-1112.google.com with SMTP id m28so1658470wag for ; Sun, 26 Aug 2007 16:21:56 -0700 (PDT) Message-ID: <6bffcb0e0708261621q25316becqce7b3ae2176f45a8@mail.gmail.com> Date: Mon, 27 Aug 2007 01:21:56 +0200 From: "Michal Piotrowski" To: "=?ISO-8859-1?Q?Rog=E9rio_Brito?=" Subject: Re: Sleep problems with kernels >= 2.6.21 on powerpc In-Reply-To: <6540c930708251937o2a9a23efv72a0f2b8947067bd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <6540c930708251937o2a9a23efv72a0f2b8947067bd@mail.gmail.com> Cc: "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, =?ISO-8859-1?Q?Rog=E9rio_Brito?= , linuxppc-dev@ozlabs.org, debian-powerpc@lists.debian.org, Linux-pm mailing list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi [Adding STR wizards to CC] On 26/08/07, Rog=E9rio Brito wrote: > Hi. > > Unfortunately, it seems that kernels later than 2.6.21 have problems > letting my powerpc iBook (G3 processor) going to sleep (suspend to > ram). > > The userland that I am using is a Debian testing (lenny) and the > default kernel that comes with it is 2.6.22, with some patches applied > and pbbuttonsd (as the daemon for making the machine sleep). > > With kernel 2.6.21, from Debian (and other earlier kernels), the > symptoms that I see when I press the power button is that the machine > goes to sleep and the led that indicates that the machine is sleeping > is blinking normally. > > If I, on the other hand, use Debian's kernel 2.6.22 or compile my own > kernel with just the necessary parts for my work (version 2.6.23-rc3 > taken from kernel.org), then I can't make the machine sleep: when I > press the button, it acts like if I had, in sequence, pressed anything > to wake it up (say, like pressing shift). > > I have already grabbed Linus's git tree and I am willing to do some > cycles of "git bisect" to discover the point where it stopped working. > > I just thought that others may have seen such behaviour before or, if > not, that being informative about what I see is of use for debugging > this. > > I would also appreciate any guidance on this as I wish kernel 2.6.23 > to be working again on powerpc machines. > > Please, if any tests are required, don't hesitate to ask me and I will > try to whatever is needed to restore the correct behaviour of sleep > with the Linux kernel. > > I have copied mailing lists that I think that are relevant. If they > aren't, then please let me know. I would also appreciate if I were > kept on carbon copies as I am only subscribed to debian-powerpc at the > moment. > > > Regards, Rog=E9rio Brito. > > P.S.: It unfortunately doesn't matter if I switch to a console or if I > am in X when I press the power button with recent kernels. > - Regards, Michal --=20 LOG http://www.stardust.webpages.pl/log/