public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Stefan Seyfried
	<seife-T+3qhDtrTvDv8lqoKu5MV4HBZQ1bDw0s@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: kern 2.6.1 - suspend/resume still malfunctioning
Date: Sun, 18 Jan 2004 19:37:45 +0100	[thread overview]
Message-ID: <20040118183744.GB215@elf.ucw.cz> (raw)
In-Reply-To: <3ACA40606221794F80A5670F0AF15F8401720CEA-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>

Hi!

> > > all the data, i reported about my laptop is recorded with bug #1773
> > > http://bugme.osdl.org/show_bug.cgi?id=1773
> > 
> > have you tried S4, e.g. "echo 4 > /proc/acpi/sleep"?
> > S3 is probably harder to get working than S4, so try S4 first.
> 
> Why?  

Video issues: [Actually, if intel would want to help with these... it
would be great. You need to solve it for Itaniums, anyway...]


								Pavel

                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?]


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

  parent reply	other threads:[~2004-01-18 18:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-18  5:49 Re: kern 2.6.1 - suspend/resume still malfunctioning Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401720CEA-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-01-18 18:37   ` Pavel Machek [this message]
     [not found]     ` <20040118183744.GB215-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-01-18 19:57       ` Nigel Cunningham
     [not found]         ` <1074455861.2361.1.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
2004-01-18 19:59           ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2004-01-15 13:10 Martin Lorenz
2004-01-15 13:55 ` Stefan Seyfried
     [not found]   ` <20040115135532.GA11298-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2004-01-15 14:53     ` Martin Lorenz
     [not found]       ` <4006A96F.1020502-2WKW0nu+7nMiq3RsQ1AnAw@public.gmane.org>
2004-01-15 15:25         ` Martin Lorenz
     [not found]           ` <4006B0DD.4020801-2WKW0nu+7nMiq3RsQ1AnAw@public.gmane.org>
2004-01-16 19:39             ` 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=20040118183744.GB215@elf.ucw.cz \
    --to=pavel-+zi9xunit7i@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=seife-T+3qhDtrTvDv8lqoKu5MV4HBZQ1bDw0s@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