From: Nils Faerber <nils.faerber-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
To: Huw Rogers <count0-tC47gz4GrgtWk0Htik3J/w@public.gmane.org>
Cc: "Rockefeller,
Harry" <harryr-qMhjF6E6u3VBDgjK7y7TUQ@public.gmane.org>,
ACPI Developers
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: S3/S4 doesn't work, no-one cares, it's a mess Re: ACPI S3 wake howto was: RE: [BKPATCH] ACPI for 2.6
Date: Wed, 31 Mar 2004 13:26:04 +0200 [thread overview]
Message-ID: <1080732363.4883.964.camel@localhost> (raw)
In-Reply-To: <20040330233155.463A.COUNT0-tC47gz4GrgtWk0Htik3J/w@public.gmane.org>
I can only and simply confirm this very good observation.
It is a quite sad truth that we have to swallow.
For my experience I can say that I am back to recommend using APM for
Linux notebooks where it works and only to use ACPI if APM does not.
On my Asus L3800C with Radeon M8000 (AGP of course) S3 is a simple
no-no. S4 works quite well with a tweaked script stopping and restarting
some drivers before and after swsusp (kernel 2.4).
With kernel 2.6 almost nothing concerning power management works like it
was with 2.4. Not only that behaviour has changed but also things that
worked with 2.4 do not so with 2.6.
I recently bought a Fujitsu Siemens Lifebook B-series device. Very nice
and small. I use it with kernel 2.4 and APM and all I need is working:
Suspend to RAM, suspend to disk. With 2.6 neither ACPI nor APM worked
correctly. The drivers that are now supposed to handle PM events do not
do so properly. Some resume fine, some fail leaving the hardware in a
random state. This happens with 2.6 with ACPI *and* APM.
And for the records, on this machine ACPI S3 almost works, even video
comes back, but fails at random other points (networking causing OOPS,
USB not working anymore until reboot, etc...).
The sutuation is somewhat frightening since this does not seem to change
much during the last year. I do not want to blame anybody for it! Please
get me right.
But this becomes, as Huw already pointed out, a real problem for the
growing Linux laptop userbase.
And I also see that this needs an extra special effort, by many
developers.
So take my word: If I can with my limited experience in PM and x86
hacking be of any help and someone can guide me to a point where I can
start, I will try my very best to improve the situation - at least for
the hardware I have access to.
Best wishes
nils
Am Mi, den 31.03.2004 schrieb Huw Rogers um 06:51:
> There are 3 competing implementations of S3/S4. None of them work with
> recent AGP ATI Mobility Radeons using ATI's drivers (the most popular
> current video chipset for notebooks / the only driver set that supports
> them properly in X). None of them work with hyperthreaded CPUs or SMP
> (again, hardly exotic). Most USB, Ethernet and other drivers are
> incompatible with S3/S4. The resume code is poorly tested, has race
> conditions, doesn't enable/disable interrupts at the right junctures,
> fails to restore PCI state and does nothing for AGP, USB etc. (left to
> drivers that could care less about suspend/resume).
>
> I was intent on getting my AGP ATI Radeon/P4 HT/SiS chipset notebook
> working by hacking the code. BUT suspend/resume issues are in ACPI code,
> in power mgmt code, in driver code, in AGP code, in suspend/resume code.
> All owned by different people. Many with competing implementations.
> No-one is a clear leader. The resume itself is near-impossible to debug
> since nothing is alive at that point and the video chipset isn't up.
>
> Many many people have the problem you describe (lockup on S3 resume,
> need hard power cycle to restart). I have it, and have seen numerous
> other people post on it all with dramatically different hardware. Only
> common factors is that the hardware is recent (i.e. AGP video, typically
> Mobility Radeon), and IT DOESN'T WORK.
>
> The situation can't be helped by the hacker looking to contribute by
> getting his own gear working (a massive consolidation, refactoring and
> cleanup is required by someone with in-depth knowledge of both ACPI and
> PC hardware). There are also probably deep implications for the Linux
> x86 driver architecture to doing it "properly". Linux vendors put almost
> no effort into supporting laptop hardware despite growing laptop adoption
> in replacement of desktops since their strategy is to get Linux to the
> point that the hardware vendors themselves are compelled to do such work
> like they do for MS Windows. laptop-specific issues such as this receive
> short shrift.
>
> In short, it's a hopeless mess, no-one who could solve this problem
> really cares about it enough to commission the team required, and it
> requires a huge effort by a couple of gurus with buy-in from Linus & co.
> for the kernel consequences to really fix this.
>
> Not happening any time soon. Optimize your boot to make it fast instead
> by fooling around with /etc/init.d and company. S3/S4? Bah. -Huw
>
> > Thanks.
--
kernel concepts Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen D1 : +49-170-2729106
--
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
next prev parent reply other threads:[~2004-03-31 11:26 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 17:33 ACPI S3 wake howto was: RE: [BKPATCH] ACPI for 2.6 Rockefeller, Harry
[not found] ` <7105F2BD9451D7479B4B3A99A2B72FAC062C08C7-Lp/cVzEoVyYIbgCsDWxlK60bRtRcJeJQ@public.gmane.org>
2004-03-31 4:51 ` S3/S4 doesn't work, no-one cares, it's a mess " Huw Rogers
[not found] ` <20040330233155.463A.COUNT0-tC47gz4GrgtWk0Htik3J/w@public.gmane.org>
2004-03-31 4:58 ` Tomasz Ciolek
[not found] ` <20040331045844.GA28355-+XVqjN4+fIJfbCVcMT5z6Ydd74u8MsAO@public.gmane.org>
2004-03-31 5:00 ` Huw Rogers
2004-03-31 5:40 ` Michael Frank
[not found] ` <opr5poqe0z4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-04-01 0:34 ` Micha Feigin
[not found] ` <20040401003403.GA9382-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2004-04-01 5:12 ` Michael Frank
2004-03-31 9:09 ` Cam
2004-03-31 10:58 ` Micha Feigin
[not found] ` <20040331105851.GA11223-i54C7/sJn21wdIlnA33utQ@public.gmane.org>
2004-03-31 12:30 ` Luca Capello
[not found] ` <406AB9DA.7020805-wlebWZzHoyE@public.gmane.org>
2004-04-01 0:38 ` Micha Feigin
[not found] ` <20040401003823.GB9382-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2004-04-01 13:46 ` Stefan Seyfried
2004-04-02 20:34 ` Pavel Machek
2004-03-31 11:26 ` Nils Faerber [this message]
[not found] ` <1080732363.4883.964.camel-bi+AKbBUZKZeoWH0uzbU5w@public.gmane.org>
2004-03-31 11:50 ` Eric Valette
2004-03-31 12:51 ` Andi Kleen
2004-04-02 20:37 ` Pavel Machek
2004-04-01 6:15 ` Nigel Cunningham
2004-04-02 20:40 ` Pavel Machek
2004-03-31 6:02 ` Christoph Lukas
2004-04-02 20:27 ` 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=1080732363.4883.964.camel@localhost \
--to=nils.faerber-t93ne7xhvje5bsectf/tx7nah6klmebb@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=count0-tC47gz4GrgtWk0Htik3J/w@public.gmane.org \
--cc=harryr-qMhjF6E6u3VBDgjK7y7TUQ@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