linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Rogério Brito" <rbrito@gmail.com>
To: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org,
	debian-powerpc@lists.debian.org
Cc: "Rogério Brito" <rbrito@ime.usp.br>
Subject: Sleep problems with kernels >= 2.6.21 on powerpc
Date: Sat, 25 Aug 2007 23:37:16 -0300	[thread overview]
Message-ID: <6540c930708251937o2a9a23efv72a0f2b8947067bd@mail.gmail.com> (raw)

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.

             reply	other threads:[~2007-08-26  2:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-26  2:37 Rogério Brito [this message]
2007-08-26 23:21 ` Sleep problems with kernels >= 2.6.21 on powerpc Michal Piotrowski
2007-08-27  6:52   ` Rogério Brito
2007-08-27  7:14     ` Tim Teulings
2007-08-30 20:42       ` Tim Teulings
2007-09-05 17:07         ` Andrew Morton
2007-09-05 17:28           ` Randy Dunlap
2007-09-05 17:43             ` Stefan Richter
2007-09-05 17:58               ` Randy Dunlap
2007-09-05 17:47           ` Stefan Richter
2007-09-05 18:06             ` [PATCH] " Stefan Richter
2007-09-05 18:24               ` Stefan Richter
2007-09-05 19:01             ` firewire in prebuilt kernel packages (was Re: Sleep problems with kernels >= 2.6.21 on powerpc) Stefan Richter
2007-09-05 19:44             ` Sleep problems with kernels >= 2.6.21 on powerpc Andrew Morton
2007-09-05 20:12               ` Stefan Richter
2007-09-06  7:50                 ` [PATCH update] " Stefan Richter
2007-08-27  8:37     ` Michel Dänzer
2007-08-27  9:55     ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6540c930708251937o2a9a23efv72a0f2b8947067bd@mail.gmail.com \
    --to=rbrito@gmail.com \
    --cc=debian-powerpc@lists.debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=rbrito@ime.usp.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).