public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2005@gmx.net>
To: Pavel Machek <pavel@suse.cz>
Cc: ACPI mailing list <acpi-devel@lists.sourceforge.net>,
	kernel list <linux-kernel@vger.kernel.org>,
	seife@suse.de, rjw@sisk.pl
Subject: Re: [ACPI] Call for help: list of machines with working S3
Date: Mon, 14 Feb 2005 22:36:23 +0100	[thread overview]
Message-ID: <421119D7.20609@gmx.net> (raw)
In-Reply-To: <20050214211105.GA12808@elf.ucw.cz>

Pavel Machek schrieb:
> Hi!
> 
> Stefan provided me initial list of machines where S3 works (including
> video). If you have machine that is not on the list, please send me a
> diff. If you have eMachines... I'd like you to try playing with
> vbetool (it worked for me), and if it works for you supplying right
> model numbers.
> 
> 								Pavel
> 
> 
> 		Video issues with S3 resume
> 		~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 		  2003-2005, 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. S3 has absolutely
> no change to work with SMP/HT. Be sure it to turn it off before
> testing (swsusp should work ok, OTOH).
> 
> There are few types of systems where video works after S3 resume:
> 
> (1) systems where video state is preserved over S3.
> 
> (2) 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.
> 
> (3) 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.
> 
> (4) on some systems s3_bios kicks video into text mode, and
>   acpi_sleep=s3_bios,s3_mode is needed.
> 
> (5) radeon systems, where X can soft-boot your video card. You'll need
>   patched X, and plain text console (no vesafb or radeonfb), see
>   http://www.doesi.gmxhome.de/linux/tm800s3/s3.html.

(5) machines should also work with (6), but not the other way round.

> 
> (6) other radeon systems, where vbetool is enough to bring system back
>   to life. Do vbetool vbestate save > /tmp/delme; echo 3 > /proc/acpi/sleep;
>   vbetool post; vbetool vbestate restore < /tmp/delme; setfont
>   <whatever>, and your video should work.

(6) has to be done from a text console! It should work for all radeon
systems, btw.

> 
> Now, if you pass acpi_sleep=something, and it does not work with your
> bios, you'll get hard crash during resume. Be carefull. Also it is
> safest to do your experiments with plain old VGA console. vesafb and
> radeonfb (etc) drivers have tendency to crash the machine during resume.
> 
> 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.
> 
> Table of known working systems:
> 
> Model                           hack (or "how to do it")
> ------------------------------------------------------------------------------
> IBM TP R32 / Type 2658-MMG      none (1)
> Athlon HP Omnibook XE3		none (1)
> Compaq Armada E500 - P3-700     none (1) (S1 also works OK)
> IBM t41p			none (1)
> Athlon64 desktop prototype	s3_bios (2)
> HP NC6000			s3_bios (2)
> Toshiba Satellite 4080XCDT      s3_mode (3)
> Toshiba Satellite 4030CDT	s3_mode (3)
> Dell D600, ATI RV250            vga=normal (**)

The Dell system above should also work fine with vbestate.

> Asus L2400D                     s3_mode (3)(***) (S1 also works OK)
> Toshiba Satellite P10-554       s3_bios,s3_mode (4)(****)
> Acer TM 800			vga=normal, X patches, see webpage (5)
> Athlon64 Arima W730a		vbestate needed (6)
> eMachines athlon64 machines	vbestate needed (6) (someone please get me model #s)

Samsung P35                  vbestate needed (6)

> 
> (**) Text console is "strange" after resume. Backlight is switched on again
>      by the X server. X server is:
>      | X Window System Version 6.8.1.904 (6.8.2 RC 4)
>      | Release Date: 2 February 2005
>      | X Protocol Version 11, Revision 0, Release 6.8.1.904
>      | Build Operating System: SuSE Linux [ELF] SuSE
>      as present in SUSE 9.3preview3.
> 
> (***) To be tested with a newer kernel.
> 
> (****) Not with SMP kernel, UP only.

Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/

  reply	other threads:[~2005-02-14 21:35 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-14 21:11 Call for help: list of machines with working S3 Pavel Machek
2005-02-14 21:36 ` Carl-Daniel Hailfinger [this message]
2005-02-14 23:23 ` [ACPI] " Matthew Garrett
2005-02-14 23:47   ` Matthew Garrett
2005-02-15  6:05 ` Alistair John Strachan
2005-02-15 12:12   ` [ACPI] " Lorenzo Colitti
2005-02-15 13:17     ` Alistair John Strachan
2005-02-15 16:07       ` Lorenzo Colitti
2005-02-15 15:41     ` Matthew Garrett
2005-02-15 16:15       ` Lorenzo Colitti
2005-02-15 16:16       ` Lorenzo Colitti
2005-02-15 17:42         ` Alistair John Strachan
2005-02-15 20:43           ` Matthew Garrett
2005-02-15 21:09             ` Lorenzo Colitti
2005-02-16  1:41               ` Alistair John Strachan
2005-02-16  1:54                 ` Pavel Machek
2005-02-16  2:47                   ` Nigel Cunningham
2005-02-16  8:30                     ` Romano Giannetti
2005-02-16 14:25           ` Kjartan Maraas
2005-02-18 20:49             ` Alistair John Strachan
2005-02-20  9:21               ` Luca Capello
2005-02-21 14:25               ` Kjartan Maraas
2005-02-22 14:33               ` Karol Kozimor
2005-02-15 16:05   ` Stefan Seyfried
2005-02-15 12:55 ` [ACPI] " Norbert Preining
2005-02-15 13:17   ` Karol Kozimor
2005-02-15 16:09   ` Carl-Daniel Hailfinger
2005-02-15 17:08     ` Norbert Preining
2005-02-15 18:57       ` Carl-Daniel Hailfinger
2005-02-15 20:21         ` Matthew Garrett
2005-02-15 22:40           ` Carl-Daniel Hailfinger
2005-02-16  9:51         ` Norbert Preining
2005-02-15 19:37       ` Stefan Dösinger
2005-02-17 11:06         ` Norbert Preining
2005-02-17 19:08         ` Norbert Preining
2005-02-17 20:58           ` Stefan Dösinger
2005-02-18 10:46             ` Norbert Preining
2005-02-18 13:38               ` Norbert Preining
2005-02-18 18:04                 ` Stefan Dösinger
2005-02-15 19:47       ` Pavel Machek
2005-02-17 19:09         ` Norbert Preining
2005-02-16  9:34       ` Romano Giannetti
2005-02-16 14:54         ` Carl-Daniel Hailfinger
2005-02-16 16:10           ` Romano Giannetti
2005-02-22 22:08       ` Karol Kozimor
2005-02-24 12:37         ` Norbert Preining
2005-02-24 21:36           ` Karol Kozimor
2005-02-25 17:50           ` Proinnsias Breathnach
2005-02-27 16:57           ` Pavel Machek
2005-02-27 18:04             ` Stefan Seyfried
2005-02-15 16:31 ` Vernon Mauery
2005-02-15 21:28 ` Henrik Brix Andersen
2005-02-16  5:54 ` Stefan Schweizer
2005-02-16  8:48   ` Stefan Dösinger
2005-02-16 15:06     ` Carl-Daniel Hailfinger
2005-02-16 17:43       ` Stefan Schweizer
2005-02-16 19:26       ` Stefan Dösinger
2005-02-17  6:16 ` Len Brown
2005-02-17 10:15   ` Vojtech Pavlik
2005-02-17 23:12     ` Len Brown
2005-02-17 11:00   ` Matthew Garrett
2005-02-17 16:18     ` Carl-Daniel Hailfinger
2005-02-17 16:44       ` Vernon Mauery
2005-02-17 20:13         ` Carl-Daniel Hailfinger
2005-02-17 19:54       ` Pavel Machek
2005-02-17 20:34         ` Carl-Daniel Hailfinger
2005-02-17 20:42           ` Pavel Machek
2005-02-17 11:02   ` Pavel Machek
2005-02-17 23:19 ` Luca Capello
2005-02-23 19:30 ` Nish Aravamudan
2005-03-02 10:24 ` Stefan Seyfried
2005-03-02 10:57   ` Stefan Seyfried
2005-03-03 16:51 ` Stefan Seyfried
2005-03-03 17:49 ` Avuton Olrich
2005-03-14  6:19 ` Jan De Luyck
2005-03-14  8:00   ` Pavel Machek
2005-03-14 14:39     ` Jan De Luyck
2005-03-15  8:10     ` [ACPI] " Li Shaohua
2005-03-15 11:34       ` Nigel Cunningham
2005-03-15 12:04         ` 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=421119D7.20609@gmx.net \
    --to=c-d.hailfinger.devel.2005@gmx.net \
    --cc=acpi-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=rjw@sisk.pl \
    --cc=seife@suse.de \
    /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