public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI S3/APM suspend
@ 2005-05-18 13:10 Ian Soboroff
  2005-05-18 14:59 ` Ian Soboroff
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Soboroff @ 2005-05-18 13:10 UTC (permalink / raw)
  To: linux-kernel


I recently reinstalled my laptop (Fujitsu P2110) with RHEL4, and I
found that neither ACPI S3 or APM suspend (booting with acpi=off) work
reliably with their stock kernel (a 2.6.9 derivative).  Sometimes
resuming works, but more often the computer locks up, or the keyboard
doesn't function respond.

APM suspend worked fine on the last kernel I tried it with (stock
2.6.3) but I think the last time I tried a newer vanilla kernel
(around 2.6.9 time), it didn't work.  I don't think I've ever seen
Linux ACPI S3 suspend work reliably on this laptop, but since APM was
always so solid I didn't test it much.

Have there been any improvements in this area in more recent Linus
kernels?  Any patches floating around which fix suspend-to-ram
problems?

Thanks,
Ian



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI S3/APM suspend
  2005-05-18 13:10 ACPI S3/APM suspend Ian Soboroff
@ 2005-05-18 14:59 ` Ian Soboroff
  2005-05-19  1:38   ` Nigel Cunningham
  2005-05-19 14:49   ` Ian Soboroff
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Soboroff @ 2005-05-18 14:59 UTC (permalink / raw)
  To: linux-kernel

Ian Soboroff <isoboroff@acm.org> writes:

> I recently reinstalled my laptop (Fujitsu P2110) with RHEL4, and I
> found that neither ACPI S3 or APM suspend (booting with acpi=off) work
> reliably with their stock kernel (a 2.6.9 derivative).  Sometimes
> resuming works, but more often the computer locks up, or the keyboard
> doesn't function respond.

Just tried with 2.6.11.10 using ACPI.  On resume, the mouse doesn't
respond (there isn't even a cursor).  If I C-A-Backspace out of X, GDM
needs to be specially HUP'd to restart.  But the mouse still doesn't
work.

This was one of the failure modes in the RHEL 2.6.9-5.0.5 kernel.  (I
know, I know, "ask RH for support", but they don't seem to have any of
the ACPI or APM suspend bugs in their bugzilla anywhere near
resolved.)

Ian



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI S3/APM suspend
  2005-05-18 14:59 ` Ian Soboroff
@ 2005-05-19  1:38   ` Nigel Cunningham
  2005-05-19 14:49   ` Ian Soboroff
  1 sibling, 0 replies; 4+ messages in thread
From: Nigel Cunningham @ 2005-05-19  1:38 UTC (permalink / raw)
  To: Ian Soboroff; +Cc: linux-kernel

Hi.

On Thu, 2005-05-19 at 00:59, Ian Soboroff wrote:
> Ian Soboroff <isoboroff@acm.org> writes:
> 
> > I recently reinstalled my laptop (Fujitsu P2110) with RHEL4, and I
> > found that neither ACPI S3 or APM suspend (booting with acpi=off) work
> > reliably with their stock kernel (a 2.6.9 derivative).  Sometimes
> > resuming works, but more often the computer locks up, or the keyboard
> > doesn't function respond.
> 
> Just tried with 2.6.11.10 using ACPI.  On resume, the mouse doesn't
> respond (there isn't even a cursor).  If I C-A-Backspace out of X, GDM
> needs to be specially HUP'd to restart.  But the mouse still doesn't
> work.

You will probably be able to address this by building psmouse and evdev
as modules and doing the following sequence:

1) chvt away from X
2) rmmod psmouse & evdev
3) suspend & resume as normal
4) modprobe psmouse & evdev
5) switch back

The hibernate script (see http://suspend2.net) can make this less
painful if you want it.

In the case of USB mice, you will probably want to unload not just
psmouse & evdev, but the whole set of USB modules.

Regards,

Nigel

> This was one of the failure modes in the RHEL 2.6.9-5.0.5 kernel.  (I
> know, I know, "ask RH for support", but they don't seem to have any of
> the ACPI or APM suspend bugs in their bugzilla anywhere near
> resolved.)
> 
> Ian
> 
> 
> -
> 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/
-- 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI S3/APM suspend
  2005-05-18 14:59 ` Ian Soboroff
  2005-05-19  1:38   ` Nigel Cunningham
@ 2005-05-19 14:49   ` Ian Soboroff
  1 sibling, 0 replies; 4+ messages in thread
From: Ian Soboroff @ 2005-05-19 14:49 UTC (permalink / raw)
  To: linux-kernel

Ian Soboroff <isoboroff@acm.org> writes:

> Just tried with 2.6.11.10 using ACPI.  On resume, the mouse doesn't
> respond (there isn't even a cursor).  If I C-A-Backspace out of X, GDM
> needs to be specially HUP'd to restart.  But the mouse still doesn't
> work.

It seems (so far) that APM suspend on 2.6.11.10 works on my laptop.

Thanks to all who offered suggestions.  I think I'll avoid ACPI for
the time being... suspend seems too flaky around
PS2/keyboard/USB/video.

Ian



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-19 15:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-18 13:10 ACPI S3/APM suspend Ian Soboroff
2005-05-18 14:59 ` Ian Soboroff
2005-05-19  1:38   ` Nigel Cunningham
2005-05-19 14:49   ` Ian Soboroff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox