All of lore.kernel.org
 help / color / mirror / Atom feed
* PARTIAL success with ACPI S3 suspend to ram on Acer TravelMate 800LCi
@ 2003-10-18 20:28 Martin Loschwitz
  2003-10-18 20:34 ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Loschwitz @ 2003-10-18 20:28 UTC (permalink / raw)
  To: Pavel Machek, Patrick Mochel, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]

Hello Pavel, hello Patrick, hi folks,

The saga ([0] and [1]) continues, here are the latest facts about ACPI S3
suspend to ram mode with the Acer TravelMate 800LCi notebook.

With Linux 2.6.0-test8, there is some kind of partial success: After doing
"echo -n mem > /sys/power/state" the box suspends and after pressing a key
on the keyboard the box resumes. The box reacts to input afterwards, for
example one can do "reboot" as root and even pressing the power key does
what it is supposed to do. Unfortunately there is one big disadvantage:
The panel of the notebook stays completely black. I tried booting with
"acpi_sleep=s3_{mode,boot}" but in both cases, the box apparently hangs
while trying to resume (no [blind] keyboard input possible, pressing the
power button has no effect)

Any ideas where the problem might be and if so how to fix it?

[0] http://lkml.org/lkml/2003/8/18/44
[1] http://lkml.org/lkml/2003/9/20/34

-- 
  .''`.   Martin Loschwitz           Debian GNU/Linux developer
 : :'  :  madkiss@madkiss.org        madkiss@debian.org
 `. `'`   http://www.madkiss.org/    people.debian.org/~madkiss/
   `-     Use Debian GNU/Linux 3.0!  See http://www.debian.org/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: PARTIAL success with ACPI S3 suspend to ram on Acer TravelMate 800LCi
  2003-10-18 20:28 PARTIAL success with ACPI S3 suspend to ram on Acer TravelMate 800LCi Martin Loschwitz
@ 2003-10-18 20:34 ` Pavel Machek
  2003-10-24  4:19   ` Rusty Russell
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2003-10-18 20:34 UTC (permalink / raw)
  To: Martin Loschwitz
  Cc: Patrick Mochel, Linux Kernel Mailing List,
	Rusty trivial patch monkey Russell

Hi!

> The saga ([0] and [1]) continues, here are the latest facts about ACPI S3
> suspend to ram mode with the Acer TravelMate 800LCi notebook.
> 
> With Linux 2.6.0-test8, there is some kind of partial success: After doing
> "echo -n mem > /sys/power/state" the box suspends and after pressing a key
> on the keyboard the box resumes. The box reacts to input afterwards, for
> example one can do "reboot" as root and even pressing the power key does
> what it is supposed to do. Unfortunately there is one big disadvantage:
> The panel of the notebook stays completely black. I tried booting with
> "acpi_sleep=s3_{mode,boot}" but in both cases, the box apparently hangs
> while trying to resume (no [blind] keyboard input possible, pressing the
> power button has no effect)

Good. [Well, good for me, very bad for you.]

This is known problem, see below. I don't really know what other dirty
hack to try. I'm afraid its your turn.

Rusty, could you make this go in? This is becoming FAQ :-(. Perhaps
some other ideas can be added if it is in the source tree.

								Pavel

--- clean/Documentation/power/video.txt	2003-10-10 09:11:51.000000000 +0200
+++ linux/Documentation/power/video.txt	2003-10-10 09:40:44.000000000 +0200
@@ -0,0 +1,36 @@
+
+		Video issues with S3 resume
+		~~~~~~~~~~~~~~~~~~~~~~~~~~~
+		     2003, Pavel Machek
+
+During S3 resume, hardware needs to be reinitialized. For most
+devices, this is easy, and kernel driver knows how to do
+it. Unfortunately there's one exception: video card. Those are usually
+initialized by BIOS, and kernel does not have enough information to
+boot video card. (Kernel usually does not even contain video card
+driver -- vesafb and vgacon are widely used).
+
+This is not problem for swsusp, because during swsusp resume, BIOS is
+run normally so video card is normally initialized.
+
+There are three types of systems where video works after S3 resume:
+
+* systems where video state is preserved over S3. (HP Omnibook xe3)
+
+* systems that initialize video card into vga text mode and where BIOS
+  works well enough to be able to set video mode. Use
+  acpi_sleep=s3_mode on these. (Toshiba 4030cdt)
+
+* systems where it is possible to call video bios during S3
+  resume. Unfortunately, it is not correct to call video BIOS at that
+  point, but it happens to work on some machines. Use
+  acpi_sleep=s3_bios (Athlon64 desktop system)
+
+Now, if you pass acpi_sleep=something, and it does not work with your
+bios, you'll get hard crash during resume. Be carefull.
+
+You may have system where none of above works. At that point you
+either invent another ugly hack that works, or write proper driver for
+your video card (good luck getting docs :-(). Maybe suspending from X
+(proper X, knowing your hardware, not XF68_FBcon) might have better
+chance of working.




-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

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

* Re: PARTIAL success with ACPI S3 suspend to ram on Acer TravelMate 800LCi
  2003-10-18 20:34 ` Pavel Machek
@ 2003-10-24  4:19   ` Rusty Russell
  0 siblings, 0 replies; 3+ messages in thread
From: Rusty Russell @ 2003-10-24  4:19 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Martin Loschwitz, Patrick Mochel, Linux Kernel Mailing List

In message <20031018203409.GN395@elf.ucw.cz> you write:
> Hi!
> 
> > The saga ([0] and [1]) continues, here are the latest facts about ACPI S3
> > suspend to ram mode with the Acer TravelMate 800LCi notebook.
> > 
> > With Linux 2.6.0-test8, there is some kind of partial success: After doing
> > "echo -n mem > /sys/power/state" the box suspends and after pressing a key
> > on the keyboard the box resumes. The box reacts to input afterwards, for
> > example one can do "reboot" as root and even pressing the power key does
> > what it is supposed to do. Unfortunately there is one big disadvantage:
> > The panel of the notebook stays completely black. I tried booting with
> > "acpi_sleep=s3_{mode,boot}" but in both cases, the box apparently hangs
> > while trying to resume (no [blind] keyboard input possible, pressing the
> > power button has no effect)
> 
> Good. [Well, good for me, very bad for you.]
> 
> This is known problem, see below. I don't really know what other dirty
> hack to try. I'm afraid its your turn.
> 
> Rusty, could you make this go in? This is becoming FAQ :-(. Perhaps
> some other ideas can be added if it is in the source tree.

Hmm, prefer not to take it.  Straight to Linus?

Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

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

end of thread, other threads:[~2003-10-24  6:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-18 20:28 PARTIAL success with ACPI S3 suspend to ram on Acer TravelMate 800LCi Martin Loschwitz
2003-10-18 20:34 ` Pavel Machek
2003-10-24  4:19   ` Rusty Russell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.