linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Re: Samsung P35 and S3 suspend
       [not found]             ` <41C1CFA2.20304-hi6Y0CQ0nG0@public.gmane.org>
@ 2004-12-22  2:06               ` Carl-Daniel Hailfinger
  0 siblings, 0 replies; only message in thread
From: Carl-Daniel Hailfinger @ 2004-12-22  2:06 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: Matthias Hentges, Oliver Dawid, Stefan Dösinger,
	Linux Kernel Mailing List,
	linux-fbdev-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Carl-Daniel Hailfinger wrote:

> OK, I got S3 working with all kernels since 2.6.9 (well, your
> patches had to be modified slightly). Right now I'm running on the
> latest Linus -bk tree.
>
> I will now try other configurations and a full bootup.
>
> OK, it is working perfectly with the latest Linus -bk tree and
> everything configured in (SuSE .config, comparable to allmodconfig).

It turns out that (at least for 2.6.10-rc3 and later) the kernel
resumes from S3 perfectly regardless of .config as long as
- no framebuffer console is activated (kernel param video=vesa:off )
- pci-resume-2.6.10.patch and resume-finish-split-2.6.10.patch
  are applied
- suspend and resume happen with an active TEXT console (chvt 2)
- VESA registers are saved before suspend
- the radeon card is POSTed after resume
- the VESA registers are restored after that
- now you are free to change back to X if you want.

You do NOT need
- a patched X server
- a special kernel .config
- sacrifices of any kind.

See my other mail to acpi-devel for details about how to save/restore
the VESA registers and POST the card.

Question for the framebuffer experts: Is it possible to forbid access
to the video card after resume until the card has been POSTed and all
registers are restored? Any access to the card before that will freeze
the machine.

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-22  2:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <41BFC3AD.5030001@gmx.net>
     [not found] ` <1103117333.5924.3.camel@mhcln03>
     [not found]   ` <41C07B6F.70900@gmx.net>
     [not found]     ` <1103159022.5924.17.camel@mhcln03>
     [not found]       ` <41C0FFF3.4010902@gmx.net>
     [not found]         ` <41C19BD8.7050201@gmx.net>
     [not found]           ` <41C1CFA2.20304@gmx.net>
     [not found]             ` <41C1CFA2.20304-hi6Y0CQ0nG0@public.gmane.org>
2004-12-22  2:06               ` Re: Samsung P35 and S3 suspend Carl-Daniel Hailfinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).