From: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
To: Phil Messenger <phil.mes-J1btbF6uMEmsTnJN9+BGXg@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: S1 Suspend almost working with 2.4.19 and 2.5.44 on Travelmate 360
Date: Thu, 31 Oct 2002 12:03:18 +0100 [thread overview]
Message-ID: <20021031110318.GA27413@poup.poupinou.org> (raw)
In-Reply-To: <3DC0837E.4050305-J1btbF6uMEmsTnJN9+BGXg@public.gmane.org>
On Thu, Oct 31, 2002 at 01:12:30AM +0000, Phil Messenger wrote:
> After much fiddling, I've almost got S1 suspend working on the above
> system, with one caveat:
>
> 2.4.19 and 2.4.20-(pre11 | rc1):
>
> System suspends, backlight isn't turned off. System resumes and is
> active on the network, so I can SSH into it, but the keyboard and
> touchpad apparently aren't reinitialised properly and won't respond.
> Note that the system hasn't hung, but the keyboard and mouse are "frozen".
>
> 2.5.44:
>
> System suspends, backlight isn't turned off, system resumes and is
> active on the network. The keyboard is again hung, but if I cycle the
> input drivers (rmmod then modprobe i8042, atkbd) it responds again. I've
> actually written a small script which turns the backlight off using
> DPMS, suspends the system, then cycles the input drivers on resume. I'd
> much rather use 2.4 though - PCMCIA is utterly broken on this machine in
> 2.5, wheras it's only a bit broken in 2.4.
>
> Is this a known problem? If so, are there any work-arounds? Or if it
> isn't, is there anything I can do to help debug it? I don't know much
> about ACPI and the Linux implemntation and I don't have enough time to
> sit down and understand it so I'm not sure where to start...
> Cheers,
There is two way that you can try:
1- if you use gpm, try to see if disabling it can help (there
is also a little workaround, but I do not remember which)
2- try to do as if you were under Windows NT, by changing
\_OS. You can do that in the ASL, or in the source in
linux/drivers/acpi/include/platform/aclinux
change the line:
#define ACPI_OS_NAME "Linux"
by:
#define ACPI_OS_NAME "Microsoft Windows NT"
The '2-' alone helped me in order to have a proper S1 support,
and is now in my ASL so that I do not have to redo this change.
A better workaround should be to reinitialize the AUX driver.
--
Ducrot Bruno
http://www.poupinou.org Page profaissionelle
http://toto.tu-me-saoules.com Haume page
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
next prev parent reply other threads:[~2002-10-31 11:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-31 1:12 S1 Suspend almost working with 2.4.19 and 2.5.44 on Travelmate 360 Phil Messenger
[not found] ` <3DC0837E.4050305-J1btbF6uMEmsTnJN9+BGXg@public.gmane.org>
2002-10-31 11:03 ` Ducrot Bruno [this message]
[not found] ` <20021031110318.GA27413-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-10-31 19:48 ` Phil Messenger
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=20021031110318.GA27413@poup.poupinou.org \
--to=ducrot-kk6yzipjem5g9huczpvpmw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=phil.mes-J1btbF6uMEmsTnJN9+BGXg@public.gmane.org \
/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