All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Gryniewicz <dang@fprintf.net>
To: Pavel Machek <pavel@suse.cz>
Cc: jsimmons@transvirtual.com, mj@ucw.cz,
	linux-kernel@vger.kernel.org,
	acpi@phobos.fachschaften.tu-muenchen.de
Subject: Re: Restoring videomode on return from S3 sleep
Date: Tue, 27 Nov 2001 13:26:15 -0500	[thread overview]
Message-ID: <20011127132615.0a25c838.dang@fprintf.net> (raw)
In-Reply-To: <20011127191604.A3152@atrey.karlin.mff.cuni.cz>
In-Reply-To: <20011126210621.A2039@elf.ucw.cz> <Pine.LNX.4.10.10111271003070.21131-100000@www.transvirtual.com> <20011127191604.A3152@atrey.karlin.mff.cuni.cz>

On Tue, 27 Nov 2001 19:16:04 +0100
Pavel Machek <pavel@suse.cz> wrote:

> Hi!
> 
> > > I'll need to restore video mode on returning from acpi sleep...
> > > 
> > > Unfortunately, video selection code is not part of kernel, it is
> > > 16-bit code. acpi_wakeup.S, otoh, *is* part of kernel :-(. 
> > 
> > Is this on the console and if it is I assum you are uing vgacon. It could 
> > be the S# card has a broken implemenation. This wouldn't be the first.
> > Their has been a patch sometime for vesafb to work properly with S3 cards.
> > 
> > S3 framebuffer anyone? I remember their has been scathered work on this
> > but I never seen anything come to light for this.
> 
> Oh. Sorry. By S3 I mean ACPI S3 state. ACPI S3 == suspend to RAM.
> 
> Basically what I need is to restore video mode after returning from
> ACPI S3 sleep state, so that vesafb works properly.
> 								Pavel

I need the same for APM. (I would prefer ACPI, but it currently hangs by box) 
I have to use vesafb or I get artifacts (Trident CyberBlade/XP), but then a
resume from APM never restores the video.  Presumably, a reset (similar to
when the fb is turned on?) would fix the problem.  I haven't looked into it
yet due to lack of time, but if someone else is going to work on it, I'll
gladly help test.

Daniel
--- 
Recursion n.:
        See Recursion.
                        -- Random Shack Data Processing Dictionary


  reply	other threads:[~2001-11-27 18:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-26 20:06 Restoring videomode on return from S3 sleep Pavel Machek
2001-11-27 18:06 ` James Simmons
2001-11-27 18:16   ` Pavel Machek
2001-11-27 18:26     ` Daniel Gryniewicz [this message]
2001-11-27 18:32       ` 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=20011127132615.0a25c838.dang@fprintf.net \
    --to=dang@fprintf.net \
    --cc=acpi@phobos.fachschaften.tu-muenchen.de \
    --cc=jsimmons@transvirtual.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mj@ucw.cz \
    --cc=pavel@suse.cz \
    /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 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.