From: Nils Faerber <nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
Cc: ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org,
acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org
Subject: Re: [PATCH] S4Bios support for 2.4.20 + acpi-20021205
Date: Fri, 13 Dec 2002 18:13:16 +0100 [thread overview]
Message-ID: <20021213181316.0b460077.nils@kernelconcepts.de> (raw)
In-Reply-To: <20021213163615.GI4327-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
On Fri, 13 Dec 2002 17:36:15 +0100
Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> wrote:
> On Fri, Dec 13, 2002 at 05:14:31PM +0100, Nils Faerber wrote:
> > On Fri, 13 Dec 2002 16:53:09 +0100
> > Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> wrote:
> > > Patch for 2.4.20 and acpi-20021205 for adding s4bios feature.
> Well, I don't know. Perhaps lphdisk (I don't remember the URI) could
> help. Some googling permit to get it. Or (who knows?) even a
> /dev/hda1 as a vfat partition can help?
AFAIK this is only good for Phoenix BIOS whereas mine is AWARD
Medallion. Couldn't this also be specified in ACPI specs, i.e. how a
suspend partition has to look like?
> > does it suspend? I know for Phoenix BIOSes there is a tool on the
> > net to create that partition. I have a Asus L3800C notebook which
> > has AFAIK an AWARD BIOS. And AFAIK there is no tool available from
> > ASUS or AWARD to create such a partition.
> In a really perfect world:
> echo 1 > /proc/acpi/sleep # for standby
> echo 2 > /proc/acpi/sleep # for suspend to ram
> echo 3 > /proc/acpi/sleep # for suspend to ram, but with more power conservative
> echo 4 > /proc/acpi/sleep # for suspend to disk
> echo 5 > /proc/acpi/sleep # for shutdown unfriendly the system
That would really be perfect :)
S1 on mine does just switch of the fan and stops the CPU. Nothing more.
S2 does not exist.
S3 does nothing except for funny ACPI messages:
acpi: sleep 3
acpi: GO!
acpi: acpi_suspend call 3
And your S4BIOS patch ends up freezing the machine after "saving CPU
context". Oh, but S5 behaves as expected :)
> and perhaps
> echo 4b > /proc/acpi/sleep # for suspend to disk via s4bios
For me it would be sufficient beeing able to set this at kernel compile
time, i.e. either swsusp or s4bios.
> Actually, since there is no S4 support in 2.4, 4 and 4b is the same
> here.
Yup I know :(
The swsusp patch for latest 2.4.20 + ACPI does not yet exist but all my
trials with swsusp showed that it is promising but did not work.
> Please note also that this patch DO NOT fix devices suspensions codes
> in general, and have certainly some data corruption that need to be
> fixed before a real inclusion.
Sure, no problem!
I first have to find out what type of suspend storage this damn BIOS
wants to have, then I can try to suspend and opnly then try to resume
:=)
> Ducrot Bruno
Thanks again!
CU
nils faerber
--
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:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
next prev parent reply other threads:[~2002-12-13 17:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-13 15:53 [PATCH] S4Bios support for 2.4.20 + acpi-20021205 Ducrot Bruno
[not found] ` <20021213155309.GG4327-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-12-13 16:14 ` Nils Faerber
[not found] ` <20021213171431.045233f0.nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
2002-12-13 16:27 ` Nils Faerber
2002-12-13 16:36 ` Ducrot Bruno
[not found] ` <20021213163615.GI4327-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-12-13 16:54 ` Marc Giger
2002-12-13 17:13 ` Nils Faerber [this message]
[not found] ` <20021213181316.0b460077.nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
2002-12-13 18:36 ` Ducrot Bruno
[not found] ` <20021213183622.GN4327-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-12-13 18:49 ` Nils Faerber
[not found] ` <20021213194907.5d99fc57.nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
2002-12-13 19:17 ` Ducrot Bruno
[not found] ` <20021213191758.GP4327-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-12-13 20:03 ` Nils Faerber
[not found] ` <20021213210359.266e4417.nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
2002-12-13 20:52 ` [PATCH] Minor fixes (was Re: [PATCH] S4Bios support for 2.4.20 + acpi-20021205) Ducrot Bruno
2003-01-19 12:20 ` [PATCH] S4Bios support for 2.4.20 + acpi-20021205 Martin Platter
[not found] ` <3E2A9826.6010709-hi6Y0CQ0nG0@public.gmane.org>
2003-01-20 18:47 ` Ducrot Bruno
[not found] ` <20030120184750.GR11487-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-01-21 16:17 ` Martin Platter
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=20021213181316.0b460077.nils@kernelconcepts.de \
--to=nils-t93ne7xhvje5bsectf/tx7nah6klmebb@public.gmane.org \
--cc=acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org \
--cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@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